cvs: php4 /ext/dba/libinifile inifile.c
| From: | Marcus Boerger | Date: | Sat, 22 Feb 2003 17:37:28 +0000 |
| Subject: | cvs: php4 /ext/dba/libinifile inifile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19085@lists.php.net to get a copy of this message | ||
helly Sat Feb 22 12:37:28 2003 EDT
Modified files:
/php4/ext/dba/libinifile inifile.c
Log:
Remove testcode
Index: php4/ext/dba/libinifile/inifile.c
diff -u php4/ext/dba/libinifile/inifile.c:1.1 php4/ext/dba/libinifile/inifile.c:1.2
--- php4/ext/dba/libinifile/inifile.c:1.1 Sat Feb 22 12:20:05 2003
+++ php4/ext/dba/libinifile/inifile.c Sat Feb 22 12:37:27 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: inifile.c,v 1.1 2003/02/22 17:20:05 helly Exp $ */
+/* $Id: inifile.c,v 1.2 2003/02/22 17:37:27 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -44,7 +44,7 @@
/* {{{ inifile_version */
char *inifile_version()
{
- return "1.0, $Revision: 1.1 $";
+ return "1.0, $Revision: 1.2 $";
}
/* }}} */
@@ -192,7 +192,6 @@
efree(fline);
return 1;
} else {
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "The following group was started with
'[' but not ended with ']': '%s'", fline+1);
efree(fline);
continue;
}
@@ -377,7 +376,6 @@
res = 1;
while(inifile_read(dba, &ln TSRMLS_CC)) {
if ((res=inifile_key_cmp(&ln.key, key TSRMLS_CC)) < 2) {
-php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Found group: %d", *pos_grp_start);
ret = SUCCESS;
break;
}
@@ -408,7 +406,6 @@
ln.key.group = estrdup(key->group);
while(inifile_read(dba, &ln TSRMLS_CC)) {
if (inifile_key_cmp(&ln.key, key TSRMLS_CC) == 2) {
-php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Found next group: %d", *pos_grp_start);
ret = SUCCESS;
break;
}