cvs: php-src /ext/tidy tidy.c
| From: | Nuno Lopes | Date: | Sat, 06 May 2006 13:19:10 +0000 |
| Subject: | cvs: php-src /ext/tidy tidy.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-38041@lists.php.net to get a copy of this message | ||
nlopess Sat May 6 13:19:10 2006 UTC
Modified files:
/php-src/ext/tidy tidy.c
Log:
fix thread safe build
http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.83&r2=1.84&diff_format=u
Index: php-src/ext/tidy/tidy.c
diff -u php-src/ext/tidy/tidy.c:1.83 php-src/ext/tidy/tidy.c:1.84
--- php-src/ext/tidy/tidy.c:1.83 Sat May 6 10:48:04 2006
+++ php-src/ext/tidy/tidy.c Sat May 6 13:19:10 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.83 2006/05/06 10:48:04 nlopess Exp $ */
+/* $Id: tidy.c,v 1.84 2006/05/06 13:19:10 nlopess Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -900,7 +900,7 @@
break;
case HASH_KEY_IS_UNICODE:
- opt_name.s = zend_unicode_to_ascii(opt_name.u, opt_name_len);
+ opt_name.s = zend_unicode_to_ascii(opt_name.u, opt_name_len TSRMLS_CC);
if (!opt_name.s) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not convert key from the option
array");
return FAILURE;
@@ -998,7 +998,7 @@
php_info_print_table_start();
php_info_print_table_header(2, "Tidy support", "enabled");
php_info_print_table_row(2, "libTidy Release", (char *)tidyReleaseDate());
- php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.83 2006/05/06 10:48:04 nlopess Exp $)");
+ php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.84 2006/05/06 13:19:10 nlopess Exp $)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();