diff options
author | Rob Richards <rrichards@php.net> | 2004-01-22 21:30:14 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2004-01-22 21:30:14 +0000 |
commit | bc2521b662c581b56e656605df53c9facd3bf568 (patch) | |
tree | 6b7eecfdeae7cee59dd90ceb2fb57ede1bb12cd3 /ext/simplexml/php_simplexml.h | |
parent | 7e619b7f5f0e1dbae7204e6c1ae72676d69d5166 (diff) | |
download | php-git-bc2521b662c581b56e656605df53c9facd3bf568.tar.gz |
Fix bug #27010: segfault after returning nodes with children()
Fix segfault in match_ns when matching prefix and node without ns
some general cleanup and code consilidation
better write handling - engine support dependent
better isset handling - engine support dependent
namespace fixes for reading/writing
Diffstat (limited to 'ext/simplexml/php_simplexml.h')
-rw-r--r-- | ext/simplexml/php_simplexml.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/simplexml/php_simplexml.h b/ext/simplexml/php_simplexml.h index de3872133a..36ae6ff242 100644 --- a/ext/simplexml/php_simplexml.h +++ b/ext/simplexml/php_simplexml.h @@ -59,7 +59,6 @@ typedef struct { HashTable *properties; xmlXPathContextPtr xpath; struct { - php_libxml_node_ptr *node; int itertype; char *name; char *nsprefix; @@ -70,9 +69,8 @@ typedef struct { #define SXE_ITER_NONE 0 #define SXE_ITER_ELEMENT 1 -#define SXE_ITER_ATTR 2 -#define SXE_ITER_CHILD 3 -#define SXE_ITER_ATTRLIST 4 +#define SXE_ITER_CHILD 2 +#define SXE_ITER_ATTRLIST 3 #ifdef ZTS #define SIMPLEXML_G(v) TSRMG(simplexml_globals_id, zend_simplexml_globals *, v) |