From: [EMAIL PROTECTED]
Operating system: linux
PHP version: 4.0CVS-2002-04-07
PHP Bug Type: DBM/DBA related
Bug description: change in db2 breaks 4.2.0RC2
this change in dba_db2.c changed the behaviour of db_open so that it fails
on success
if(!(ret = db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)))
became
if(db_open(info->path, type, gmode, filemode, NULL, NULL, &dbp)) {
seems to work ok if it is changed to !db_open(
http://cvs.php.net/diff.php/php4/ext/dba/dba_db2.c?r1=1.18&r2=1.19&ty=u&Horde=4af7943402097520ae8f0622dab6804b
--
Edit bug report at http://bugs.php.net/?id=16482&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16482&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16482&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16482&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16482&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16482&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16482&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16482&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16482&r=submittedtwice