]> granicus.if.org Git - php/commitdiff
fix for extension = ""
authorMarcus Boerger <helly@php.net>
Mon, 12 Aug 2002 20:12:31 +0000 (20:12 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 12 Aug 2002 20:12:31 +0000 (20:12 +0000)
make php_verror available

main/main.c
main/php.h

index 6ccacb233ec25c3d701f78d01f2d9d8c91e0480c..fc6be42a63377b3b6e014518934f2c5dba886647 100644 (file)
@@ -416,6 +416,7 @@ PHPAPI void php_verror(const char *docref, const char *params, int type, const c
                                                efree(docref_buf);
                                        }
                                        docref_buf = ref;
+                                       docref = docref_buf;
                                        p = strrchr(ref, '#');
                                        if (p) {
                                                target = estrdup(p);
index e4c6d86d42af13990f33b62fe252748ed99e1835..4a01faaabfdff8a84e4af2124f4dbf218d799044 100644 (file)
@@ -255,6 +255,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, ...);
 PHPAPI void php_error_docref1(const char *docref TSRMLS_DC, const char *param1, int type, const char *format, ...);