[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /parsekit parsekit.c
From: "Sara Golemon" <pollita () php ! net>
Date: 2004-08-29 5:09:07
Message-ID: cvspollita1093756147 () cvsserver
[Download RAW message or body]
pollita Sun Aug 29 01:09:07 2004 EDT
Modified files:
/pecl/parsekit parsekit.c
Log:
ZE1 stores zce's as *, not **
http://cvs.php.net/diff.php/pecl/parsekit/parsekit.c?r1=1.11&r2=1.12&ty=u
Index: pecl/parsekit/parsekit.c
diff -u pecl/parsekit/parsekit.c:1.11 pecl/parsekit/parsekit.c:1.12
--- pecl/parsekit/parsekit.c:1.11 Thu Aug 26 22:50:29 2004
+++ pecl/parsekit/parsekit.c Sun Aug 29 01:09:06 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: parsekit.c,v 1.11 2004/08/27 02:50:29 pollita Exp $ */
+/* $Id: parsekit.c,v 1.12 2004/08/29 05:09:06 pollita Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -754,7 +754,11 @@
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to remove pollution from class \
table: Illegal class entry found."); return FAILURE;
}
+#ifdef ZEND_ENGINE_2
class_entry = *pce;
+#else
+ class_entry = (zend_class_entry*)pce;
+#endif
if (class_entry->type != ZEND_USER_CLASS) {
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to remove pollution from class \
table: " "Found %s where ZEND_USER_CLASS was expected.",
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic