cvs: ZendEngine2 / zend_opcode.c
| From: | Antony Dovgal | Date: | Sat, 28 Oct 2006 10:42:04 +0000 |
| Subject: | cvs: ZendEngine2 / zend_opcode.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5357@lists.php.net to get a copy of this message | ||
tony2001 Sat Oct 28 10:42:04 2006 UTC
Modified files:
/ZendEngine2 zend_opcode.c
Log:
fix build
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_opcode.c?r1=1.122&r2=1.123&diff_format=u
Index: ZendEngine2/zend_opcode.c
diff -u ZendEngine2/zend_opcode.c:1.122 ZendEngine2/zend_opcode.c:1.123
--- ZendEngine2/zend_opcode.c:1.122 Mon Apr 10 12:27:17 2006
+++ ZendEngine2/zend_opcode.c Sat Oct 28 10:42:04 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_opcode.c,v 1.122 2006/04/10 12:27:17 dmitry Exp $ */
+/* $Id: zend_opcode.c,v 1.123 2006/10/28 10:42:04 tony2001 Exp $ */
#include <stdio.h>
@@ -78,7 +78,7 @@
op_array->function_name.v = NULL;
op_array->filename = zend_get_compiled_filename(TSRMLS_C);
op_array->script_encoding = zend_get_compiled_script_encoding(TSRMLS_C);
- op_array->doc_comment = NULL;
+ op_array->doc_comment.v = NULL;
op_array->doc_comment_len = 0;
op_array->arg_info = NULL;
@@ -187,8 +187,8 @@
if (ce->num_interfaces > 0 && ce->interfaces) {
efree(ce->interfaces);
}
- if (ce->doc_comment) {
- efree(ce->doc_comment);
+ if (ce->doc_comment.v) {
+ efree(ce->doc_comment.v);
}
efree(ce);
break;
@@ -202,8 +202,8 @@
if (ce->num_interfaces > 0) {
free(ce->interfaces);
}
- if (ce->doc_comment) {
- free(ce->doc_comment);
+ if (ce->doc_comment.v) {
+ free(ce->doc_comment.v);
}
free(ce);
break;
@@ -261,8 +261,8 @@
if (op_array->function_name.v) {
efree(op_array->function_name.v);
}
- if (op_array->doc_comment) {
- efree(op_array->doc_comment);
+ if (op_array->doc_comment.v) {
+ efree(op_array->doc_comment.v);
}
if (op_array->brk_cont_array) {
efree(op_array->brk_cont_array);