dmitry Mon Apr 9 15:32:08 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/com_dotnet com_com.c
Log:
ZTS fix
http://cvs.php.net/viewvc.cgi/php-src/ext/com_dotnet/com_com.c?r1=1.16.2.2.2.4&r2=1.16.2.2.2.5&diff_format=u
Index: php-src/ext/com_dotnet/com_com.c
diff -u php-src/ext/com_dotnet/com_com.c:1.16.2.2.2.4
php-src/ext/com_dotnet/com_com.c:1.16.2.2.2.5
--- php-src/ext/com_dotnet/com_com.c:1.16.2.2.2.4 Mon Jan 1 09:35:48 2007
+++ php-src/ext/com_dotnet/com_com.c Mon Apr 9 15:32:08 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: com_com.c,v 1.16.2.2.2.4 2007/01/01 09:35:48 sebastian Exp $ */
+/* $Id: com_com.c,v 1.16.2.2.2.5 2007/04/09 15:32:08 dmitry Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -665,7 +665,7 @@
php_com_initialize(TSRMLS_C);
if (CoCreateGuid(&retval) == S_OK && StringFromCLSID(&retval,
&guid_string) == S_OK) {
Z_TYPE_P(return_value) = IS_STRING;
- Z_STRVAL_P(return_value) =
php_com_olestring_to_string(guid_string, &Z_STRLEN_P(return_value), CP_ACP, 0);
+ Z_STRVAL_P(return_value) =
php_com_olestring_to_string(guid_string, &Z_STRLEN_P(return_value), CP_ACP
TSRMLS_CC);
CoTaskMemFree(guid_string);
} else {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php