cvs: ZendEngine2 / zend_reflection_api.c
| From: | Marcus Boerger | Date: | Mon, 01 Sep 2003 21:14:10 +0000 |
| Subject: | cvs: ZendEngine2 / zend_reflection_api.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1786@lists.php.net to get a copy of this message | ||
helly Mon Sep 1 17:14:10 2003 EDT
Modified files:
/ZendEngine2 zend_reflection_api.c
Log:
Fix initial buffer size
Index: ZendEngine2/zend_reflection_api.c
diff -u ZendEngine2/zend_reflection_api.c:1.50 ZendEngine2/zend_reflection_api.c:1.51
--- ZendEngine2/zend_reflection_api.c:1.50 Mon Sep 1 17:11:38 2003
+++ ZendEngine2/zend_reflection_api.c Mon Sep 1 17:14:09 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_reflection_api.c,v 1.50 2003/09/01 21:11:38 helly Exp $ */
+/* $Id: zend_reflection_api.c,v 1.51 2003/09/01 21:14:09 helly Exp $ */
#include "zend.h"
#include "zend_API.h"
#include "zend_default_classes.h"
@@ -71,7 +71,7 @@
void string_init(string *str)
{
- str->string = (char *) emalloc(1042);
+ str->string = (char *) emalloc(1024);
str->len = 1;
str->alloced = 1024;
*str->string = '\0';