diff options
author | Andi Gutmans <andi@php.net> | 2000-03-11 20:48:49 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-03-11 20:48:49 +0000 |
commit | 9dca788ca04cfe185c3faaab8ad0b872b1762977 (patch) | |
tree | dc2f471e5637593dfc07b457ff3300ef08388d22 /ext/db | |
parent | fe558092e469f6307458cb0f3ae64ebcebf92b14 (diff) | |
download | php-git-9dca788ca04cfe185c3faaab8ad0b872b1762977.tar.gz |
- Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
There are 2-3 third-party libs in PHP which use DEBUG and I left them
this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
printing the warning messages?
Diffstat (limited to 'ext/db')
-rw-r--r-- | ext/db/db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/db/db.c b/ext/db/db.c index ea6b9e194f..ab1412d086 100644 --- a/ext/db/db.c +++ b/ext/db/db.c @@ -373,13 +373,13 @@ dbm_info *php_dbm_open(char *filename, char *mode) { ret = -1; #else #if NDBM -#if DEBUG +#if PHP_DEBUG php_error(E_WARNING, "dbmopen_ndbm(%s): errno = %d [%s]\n",filename,errno,strerror(errno)); #endif if (errno) ret=errno; else ret = -1; #else -#if DEBUG +#if PHP_DEBUG php_error(E_WARNING, "dbmopen_flatfile(%s): errno = %d [%s]\n",filename,errno,strerror(errno)); #endif if (errno) ret=errno; |