cvs: ZendEngine2 / zend_exceptions.c zend_exceptions.h
| From: | Marcus Boerger | Date: | Tue, 09 May 2006 22:09:49 +0000 |
| Subject: | cvs: ZendEngine2 / zend_exceptions.c zend_exceptions.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4841@lists.php.net to get a copy of this message | ||
helly Tue May 9 22:09:49 2006 UTC
Modified files:
/ZendEngine2 zend_exceptions.h zend_exceptions.c
Log:
- zend_spprintf() is actually used elsewhere in the engine
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_exceptions.h?r1=1.26&r2=1.27&diff_format=u
Index: ZendEngine2/zend_exceptions.h
diff -u ZendEngine2/zend_exceptions.h:1.26 ZendEngine2/zend_exceptions.h:1.27
--- ZendEngine2/zend_exceptions.h:1.26 Tue Feb 21 08:00:38 2006
+++ ZendEngine2/zend_exceptions.h Tue May 9 22:09:49 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.h,v 1.26 2006/02/21 08:00:38 dmitry Exp $ */
+/* $Id: zend_exceptions.h,v 1.27 2006/05/09 22:09:49 helly Exp $ */
#ifndef ZEND_EXCEPTIONS_H
#define ZEND_EXCEPTIONS_H
@@ -48,6 +48,9 @@
/* show an exception using zend_error(E_ERROR,...) */
ZEND_API void zend_exception_error(zval *exception TSRMLS_DC);
+/* do not export, in php it's available thru spprintf directly */
+int zend_spprintf(char **message, int max_len, char *format, ...);
+
END_EXTERN_C()
#endif
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_exceptions.c?r1=1.105&r2=1.106&diff_format=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.105 ZendEngine2/zend_exceptions.c:1.106
--- ZendEngine2/zend_exceptions.c:1.105 Tue May 9 21:30:11 2006
+++ ZendEngine2/zend_exceptions.c Tue May 9 22:09:49 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.c,v 1.105 2006/05/09 21:30:11 helly Exp $ */
+/* $Id: zend_exceptions.c,v 1.106 2006/05/09 22:09:49 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -551,7 +551,7 @@
}
/* }}} */
-static int zend_spprintf(char **message, int max_len, char *format, ...)
+int zend_spprintf(char **message, int max_len, char *format, ...)
{
va_list arg;
int len;