cvs: php4 /main main.c php.h
| From: | Marcus B�rger | Date: | Mon, 12 Aug 2002 20:12:31 +0000 |
| Subject: | cvs: php4 /main main.c php.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13285@lists.php.net to get a copy of this message | ||
helly Mon Aug 12 16:12:31 2002 EDT
Modified files:
/php4/main main.c php.h
Log:
fix for extension = ""
make php_verror available
Index: php4/main/main.c
diff -u php4/main/main.c:1.477 php4/main/main.c:1.478
--- php4/main/main.c:1.477 Sun Aug 11 05:52:06 2002
+++ php4/main/main.c Mon Aug 12 16:12:31 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.477 2002/08/11 09:52:06 wez Exp $ */
+/* $Id: main.c,v 1.478 2002/08/12 20:12:31 helly Exp $ */
/* {{{ includes
*/
@@ -416,6 +416,7 @@
efree(docref_buf);
}
docref_buf = ref;
+ docref = docref_buf;
p = strrchr(ref, '#');
if (p) {
target = estrdup(p);
Index: php4/main/php.h
diff -u php4/main/php.h:1.173 php4/main/php.h:1.174
--- php4/main/php.h:1.173 Thu Aug 8 15:12:27 2002
+++ php4/main/php.h Mon Aug 12 16:12:31 2002
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php.h,v 1.173 2002/08/08 19:12:27 helly Exp $ */
+/* $Id: php.h,v 1.174 2002/08/12 20:12:31 helly Exp $ */
#ifndef PHP_H
#define PHP_H
@@ -254,6 +254,8 @@
int cfgparse(void);
#define php_error zend_error
+
+PHPAPI void php_verror(const char *docref, const char *params, int type, const char *format,
va_list args TSRMLS_DC) ;
/* PHPAPI void php_error(int type, const char *format, ...); */
PHPAPI void php_error_docref0(const char *docref TSRMLS_DC, int type, const char *format, ...);