diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 22:21:56 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2010-04-23 22:21:56 +0000 |
commit | 2771825788a3883cff86c644e7fa9c4fab7b8adb (patch) | |
tree | 3fa5737cd2e4c9737ce5d5e38d46bf2503f9473f /net/php52-soap/files/patch-soap.c | |
parent | - PHP 5.2 slave port (diff) |
- PHP 5.2 slave port
PR: 145772
Submitted by: Alex Keda
Notes
Notes:
svn path=/head/; revision=253125
Diffstat (limited to 'net/php52-soap/files/patch-soap.c')
-rw-r--r-- | net/php52-soap/files/patch-soap.c | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net/php52-soap/files/patch-soap.c b/net/php52-soap/files/patch-soap.c new file mode 100644 index 000000000000..70b84d3a60e9 --- /dev/null +++ b/net/php52-soap/files/patch-soap.c @@ -0,0 +1,56 @@ +--- soap.c.orig Tue Oct 3 21:51:01 2006 ++++ soap.c Sat Nov 4 11:38:29 2006 +@@ -23,7 +23,7 @@ + #include "config.h" + #endif + #include "php_soap.h" +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + #include "ext/session/php_session.h" + #endif + #ifdef ZEND_ENGINE_2 +@@ -1577,7 +1577,7 @@ + soap_obj = service->soap_object; + function_table = &((Z_OBJCE_P(soap_obj))->function_table); + } else if (service->type == SOAP_CLASS) { +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + /* If persistent then set soap_obj from from the previous created session (if available) */ + if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { + zval **tmp_soap; +@@ -1664,7 +1664,7 @@ + } + efree(class_name); + } +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + /* If session then update session hash with new object */ + if (service->soap_class.persistance == SOAP_PERSISTENCE_SESSION) { + zval **tmp_soap_pp; +@@ -1762,7 +1762,7 @@ + if (service->type == SOAP_CLASS || service->type == SOAP_OBJECT) { + call_status = call_user_function(NULL, &soap_obj, &function_name, &retval, num_params, params TSRMLS_CC); + if (service->type == SOAP_CLASS) { +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + if (service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { + zval_ptr_dtor(&soap_obj); + soap_obj = NULL; +@@ -1788,7 +1788,7 @@ + soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); + } + if (service->type == SOAP_CLASS) { +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { + #else + if (soap_obj) { +@@ -1830,7 +1830,7 @@ + soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); + } + if (service->type == SOAP_CLASS) { +-#if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) ++#if HAVE_PHP_SESSION + if (soap_obj && service->soap_class.persistance != SOAP_PERSISTENCE_SESSION) { + #else + if (soap_obj) { |