Changeset View
Changeset View
Standalone View
Standalone View
lang/php72/files/patch-ext_wddx_wddx.c
- This file was moved from textproc/php72-wddx/files/patch-wddx.c.
| --- wddx.c.orig Sun Jan 1 13:50:16 2006 | --- ext/wddx/wddx.c.orig 2018-07-17 05:35:50 UTC | ||||
| +++ wddx.c Mon Jan 16 12:56:21 2006 | +++ ext/wddx/wddx.c | ||||
| @@ -18,6 +18,10 @@ | @@ -22,6 +22,10 @@ | ||||
| #include "config.h" | |||||
| #endif | |||||
| /* $Id: wddx.c,v 1.119.2.8 2006/01/01 12:50:16 sniper Exp $ */ | |||||
| +#ifdef HAVE_CONFIG_H | +#ifdef HAVE_CONFIG_H | ||||
| +# include "config.h" | +# include "config.h" | ||||
| +#endif | +#endif | ||||
| + | + | ||||
| #include "php.h" | #include "php.h" | ||||
| #if HAVE_WDDX | #if HAVE_WDDX | ||||
| @@ -223,7 +227,7 @@ | @@ -260,7 +264,7 @@ static void release_wddx_packet_rsrc(zen | ||||
| #include "ext/session/php_session.h" | #include "ext/session/php_session.h" | ||||
| -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | ||||
| +#if HAVE_PHP_SESSION | +#if HAVE_PHP_SESSION | ||||
| /* {{{ PS_SERIALIZER_ENCODE_FUNC | /* {{{ PS_SERIALIZER_ENCODE_FUNC | ||||
| */ | */ | ||||
| PS_SERIALIZER_ENCODE_FUNC(wddx) | PS_SERIALIZER_ENCODE_FUNC(wddx) | ||||
| @@ -302,7 +306,7 @@ | @@ -335,7 +339,7 @@ PHP_MINIT_FUNCTION(wddx) | ||||
| { | { | ||||
| le_wddx = zend_register_list_destructors_ex(release_wddx_packet_rsrc, NULL, "wddx", module_number); | le_wddx = zend_register_list_destructors_ex(release_wddx_packet_rsrc, NULL, "wddx", module_number); | ||||
| -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | ||||
| +#if HAVE_PHP_SESSION | +#if HAVE_PHP_SESSION | ||||
| php_session_register_serializer("wddx", | php_session_register_serializer("wddx", | ||||
| PS_SERIALIZER_ENCODE_NAME(wddx), | PS_SERIALIZER_ENCODE_NAME(wddx), | ||||
| PS_SERIALIZER_DECODE_NAME(wddx)); | PS_SERIALIZER_DECODE_NAME(wddx)); | ||||
| @@ -317,7 +321,7 @@ | @@ -350,7 +354,7 @@ PHP_MINIT_FUNCTION(wddx) | ||||
| PHP_MINFO_FUNCTION(wddx) | PHP_MINFO_FUNCTION(wddx) | ||||
| { | { | ||||
| php_info_print_table_start(); | php_info_print_table_start(); | ||||
| -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | -#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | ||||
| +#if HAVE_PHP_SESSION | +#if HAVE_PHP_SESSION | ||||
| php_info_print_table_header(2, "WDDX Support", "enabled" ); | php_info_print_table_header(2, "WDDX Support", "enabled" ); | ||||
| php_info_print_table_row(2, "WDDX Session Serializer", "enabled" ); | php_info_print_table_row(2, "WDDX Session Serializer", "enabled" ); | ||||
| #else | #else | ||||