cvs: php4 / NEWS /ext/db/ db.c

From: Date: Tue, 13 Jun 2000 14:37:34 +0000
Subject: cvs: php4 / NEWS /ext/db/ db.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-225@lists.php.net to get a copy of this message
jimjag Tue Jun 13 07:37:34 2000 EDT Modified files: /php4 NEWS /php4/ext/db db.c Log: O_APPEND breaks 'c' for DBM files - this is handled correctly by PHP3, so it's almost a forward'' port :) Index: php4/NEWS diff -u php4/NEWS:1.293 php4/NEWS:1.294 --- php4/NEWS:1.293 Mon Jun 12 19:14:49 2000 +++ php4/NEWS Tue Jun 13 07:37:34 2000 @@ -2,6 +2,8 @@ ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2000, Version 4.0.1 +- Fixed a problem with dbmopen() not handing 'c' correctly with dbm/db/ndbm + databases. (JimJag) - Fixed an initialization problem in the MS-SQL problem that could cause a crash in mssql_query() (Zeev) - Upgraded PCRE to version 3.2 and fixed a bug when anchored pattern Index: php4/ext/db/db.c diff -u php4/ext/db/db.c:1.39 php4/ext/db/db.c:1.40 --- php4/ext/db/db.c:1.39 Mon Jun 5 12:47:40 2000 +++ php4/ext/db/db.c Tue Jun 13 07:37:34 2000 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: db.c,v 1.39 2000/06/05 19:47:40 andi Exp $ */ +/* $Id: db.c,v 1.40 2000/06/13 14:37:34 jimjag Exp $ */ #define IS_EXT_MODULE #ifdef COMPILE_DL_DB # include "dl/phpdl.h" @@ -90,7 +90,7 @@ #define DBM_TYPE DBM * #define DBM_MODE_TYPE int #define DBM_WRITE_MODE O_RDWR -#define DBM_CREATE_MODE O_RDWR | O_APPEND | O_CREAT +#define DBM_CREATE_MODE O_RDWR | O_CREAT #define DBM_NEW_MODE O_RDWR | O_CREAT | O_TRUNC #define DBM_DEFAULT_MODE O_RDONLY #define DBM_OPEN(filename, mode) dbm_open(filename, mode, 0666)

« previous php.cvs (#225) next »