Bug #16424: dba_*open "c" mode broken again
| From: | tmo at virtua dot ch | Date: | Thu, 04 Apr 2002 09:59:41 +0000 |
| Subject: | Bug #16424: dba_*open "c" mode broken again | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4003@lists.php.net to get a copy of this message | ||
From: tmo@virtua.ch
Operating system: custom (rh 6.2 based)
PHP version: 4.1.2
PHP Bug Type: DBM/DBA related
Bug description: dba_*open "c" mode broken again
I've found reply as this bug has been fixed in 4.0.6, but it isn't
anymore.
Using a dba_open in mode c will create the file if it doesn't exists, but
will fail in opening an existing file.
I'm using with an compiled sleepycat 4.0.14 db3 implementation.
php configure command:
//---
./configure
--with-apxs=/usr/local/apache/bin/apxs
--with-openssl
--enable-bcmath
--enable-calendar
--enable-ctype
--enable-ftp
--enable-imgstrttf
--with-ttf
--with-imap
--with-imap-ssl
--enable-trans-sid
--enable-shmop
--enable-sockets
--enable-sysvshm
--with-pgsql=/usr/local/pgsql
--with-gd=/usr/local
--with-mysql
--with-mcrypt=/usr/lib/libmcrypt
--with-mssql=/usr/local/freetds
--with-sybase=/usr/local/freetds
--with-gdbm
--with-db3=/usr/local/BerkeleyDB.4.0/
--enable-dba
//---
--
Edit bug report at http://bugs.php.net/?id=16424&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16424&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16424&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16424&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16424&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16424&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16424&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16424&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16424&r=submittedtwice