php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16482 change in db2 breaks 4.2.0RC2
Submitted: 2002-04-07 23:55 UTC Modified: 2002-04-08 02:37 UTC
From: alan at akbkhome dot com Assigned:
Status: Closed Package: DBM/DBA related
PHP Version: 4.0CVS-2002-04-07 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alan at akbkhome dot com
New email:
PHP Version: OS:

 

 [2002-04-07 23:55 UTC] alan at akbkhome dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-08 02:37 UTC] derick@php.net
This bug has been fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC