cvs: php4 /ext/dba dba_db2.c

From: Date: Mon, 06 Aug 2001 12:15:05 +0000
Subject: cvs: php4 /ext/dba dba_db2.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-6598@lists.php.net to get a copy of this message
sniper Mon Aug 6 08:15:05 2001 EDT Modified files: /php4/ext/dba dba_db2.c Log: Another TSRM fix. Index: php4/ext/dba/dba_db2.c diff -u php4/ext/dba/dba_db2.c:1.12 php4/ext/dba/dba_db2.c:1.13 --- php4/ext/dba/dba_db2.c:1.12 Wed Jun 6 09:05:43 2001 +++ php4/ext/dba/dba_db2.c Mon Aug 6 08:15:05 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dba_db2.c,v 1.12 2001/06/06 13:05:43 rasmus Exp $ */ +/* $Id: dba_db2.c,v 1.13 2001/08/06 12:15:05 sniper Exp $ */ #include "php.h" @@ -47,7 +47,8 @@ int gmode = 0; int filemode = 0644; struct stat check_stat; - + TSRMLS_FETCH(); + type = info->mode == DBA_READER ? DB_UNKNOWN : info->mode == DBA_TRUNC ? DB_BTREE : VCWD_STAT(info->path, &check_stat) ? DB_BTREE : DB_UNKNOWN;

« previous php.cvs (#6598) next »