cvs: php-src(PHP_4_3) /main php_compat.h

From: Date: Sat, 09 Aug 2003 14:26:40 +0000
Subject: cvs: php-src(PHP_4_3) /main php_compat.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23028@lists.php.net to get a copy of this message
sniper Sat Aug 9 10:26:40 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/main php_compat.h Log: - Fix possible crashes if PHP is linked with external libexpat and also the bundled one is compiled in. Index: php-src/main/php_compat.h diff -u php-src/main/php_compat.h:1.11.4.4 php-src/main/php_compat.h:1.11.4.5 --- php-src/main/php_compat.h:1.11.4.4 Fri Jul 25 07:27:39 2003 +++ php-src/main/php_compat.h Sat Aug 9 10:26:40 2003 @@ -49,7 +49,9 @@ #define XmlGetUtf8InternalEncodingNS php_XmlGetUtf8InternalEncodingNS #define XmlGetUtf8InternalEncoding php_XmlGetUtf8InternalEncoding #define XmlInitEncoding php_XmlInitEncoding +#define XmlInitEncodingNS php_XmlInitEncodingNS #define XmlInitUnknownEncoding php_XmlInitUnknownEncoding +#define XmlInitUnknownEncodingNS php_XmlInitUnknownEncodingNS #define XML_ParseBuffer php_XML_ParseBuffer #define XML_Parse php_XML_Parse #define XML_ParserCreate_MM php_XML_ParserCreate_MM @@ -57,6 +59,7 @@ #define XML_ParserCreate php_XML_ParserCreate #define XML_ParserFree php_XML_ParserFree #define XmlParseXmlDecl php_XmlParseXmlDecl +#define XmlParseXmlDeclNS php_XmlParseXmlDeclNS #define XmlPrologStateInitExternalEntity php_XmlPrologStateInitExternalEntity #define XmlPrologStateInit php_XmlPrologStateInit #define XML_SetAttlistDeclHandler php_XML_SetAttlistDeclHandler @@ -95,6 +98,13 @@ #define XML_UseParserAsHandlerArg php_XML_UseParserAsHandlerArg #define XmlUtf16Encode php_XmlUtf16Encode #define XmlUtf8Encode php_XmlUtf8Encode +#define XML_FreeContentModel php_XML_FreeContentModel +#define XML_MemMalloc php_XML_MemMalloc +#define XML_MemRealloc php_XML_MemRealloc +#define XML_MemFree php_XML_MemFree +#define XML_UseForeignDTD php_XML_UseForeignDTD +#define XML_GetFeatureList php_XML_GetFeatureList +#define XML_ParserReset php_XML_ParserReset #endif #ifdef PHP_EXPORTS

« previous php.cvs (#23028) next »