cvs: php4 /ext/dba dba_gdbm.c

From: Date: Thu, 07 Nov 2002 13:00:38 +0000
Subject: cvs: php4 /ext/dba dba_gdbm.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15871@lists.php.net to get a copy of this message
helly Thu Nov 7 08:00:38 2002 EDT Modified files: /php4/ext/dba dba_gdbm.c Log: remove debug output and use php_error_docref instead Index: php4/ext/dba/dba_gdbm.c diff -u php4/ext/dba/dba_gdbm.c:1.15 php4/ext/dba/dba_gdbm.c:1.16 --- php4/ext/dba/dba_gdbm.c:1.15 Wed Nov 6 12:59:03 2002 +++ php4/ext/dba/dba_gdbm.c Thu Nov 7 08:00:37 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dba_gdbm.c,v 1.15 2002/11/06 17:59:03 sas Exp $ */ +/* $Id: dba_gdbm.c,v 1.16 2002/11/07 13:00:37 helly Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -105,7 +105,7 @@ if(gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE) == 0) return SUCCESS; - printf("XXX %s\n", gdbm_strerror(gdbm_errno)); + php_error_docref2(NULL TSRMLS_CC, key, val, E_WARNING, "%s", gdbm_strerror(gdbm_errno)); return FAILURE; }

« previous php.cvs (#15871) next »