cvs: ZendEngine2 / zend.h zend_exceptions.c
| From: | Marcus Boerger | Date: | Tue, 09 May 2006 21:30:11 +0000 |
| Subject: | cvs: ZendEngine2 / zend.h zend_exceptions.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4840@lists.php.net to get a copy of this message | ||
helly Tue May 9 21:30:11 2006 UTC
Modified files:
/ZendEngine2 zend_exceptions.c zend.h
Log:
- MFB WS/CS, zend_spprintf() must not be exported
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_exceptions.c?r1=1.104&r2=1.105&diff_format=u
Index: ZendEngine2/zend_exceptions.c
diff -u ZendEngine2/zend_exceptions.c:1.104 ZendEngine2/zend_exceptions.c:1.105
--- ZendEngine2/zend_exceptions.c:1.104 Mon Mar 27 06:02:28 2006
+++ ZendEngine2/zend_exceptions.c Tue May 9 21:30:11 2006
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_exceptions.c,v 1.104 2006/03/27 06:02:28 dmitry Exp $ */
+/* $Id: zend_exceptions.c,v 1.105 2006/05/09 21:30:11 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -551,7 +551,7 @@
}
/* }}} */
-int zend_spprintf(char **message, int max_len, char *format, ...)
+static int zend_spprintf(char **message, int max_len, char *format, ...)
{
va_list arg;
int len;
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.h?r1=1.320&r2=1.321&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.320 ZendEngine2/zend.h:1.321
--- ZendEngine2/zend.h:1.320 Thu May 4 21:29:21 2006
+++ ZendEngine2/zend.h Tue May 9 21:30:11 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.320 2006/05/04 21:29:21 andrei Exp $ */
+/* $Id: zend.h,v 1.321 2006/05/09 21:30:11 helly Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -475,9 +475,9 @@
void zend_shutdown(TSRMLS_D);
void zend_register_standard_ini_entries(TSRMLS_D);
-//#ifdef ZTS
+/*#ifdef ZTS*/
void zend_post_startup(TSRMLS_D);
-//#endif
+/*#endif*/
void zend_set_utility_values(zend_utility_values *utility_values);
@@ -559,7 +559,7 @@
extern ZEND_API void (*zend_error_cb)(int type, const char *error_filename, const uint
error_lineno, const char *format, va_list args);
extern void (*zend_on_timeout)(int seconds TSRMLS_DC);
extern ZEND_API int (*zend_stream_open_function)(const char *filename, zend_file_handle *handle
TSRMLS_DC);
-extern ZEND_API int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
+extern int (*zend_vspprintf)(char **pbuf, size_t max_len, const char *format, va_list ap);
extern ZEND_API char *(*zend_getenv)(char *name, size_t name_len TSRMLS_DC);