Re: replacing dbm_* with dba_*
| From: | Rasmus Lerdorf | Date: | Sun, 20 Jun 1999 15:53:24 +0000 |
| Subject: | Re: replacing dbm_* with dba_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-7228@lists.php.net to get a copy of this message | ||
> For example, one can access the modern DB2 through the historic
> ndbm interface. Hence, your db.c supports DB2 without explicitly
> coding to the DB2 interface (db_open() stuff). That's what I mean
> by "accident."
Ah correct for the DB2 case. For the DB1 case it wasn't quite that clear.
There are annoying little differences across the api's and although they
look the same, they don't behave exactly the same. I remember fighting
different memory allocation issues and also the returned datum size was
off by one in gdbm.
-Rasmus