]> granicus.if.org Git - php/commitdiff
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
authorJohn Coggeshall <john@php.net>
Thu, 25 Sep 2003 09:32:55 +0000 (09:32 +0000)
committerJohn Coggeshall <john@php.net>
Thu, 25 Sep 2003 09:32:55 +0000 (09:32 +0000)
unnecessarily.

ext/tidy/examples/dumpit.php
ext/tidy/tidy.c

index e0cda5e904b7d4b911f0dac6104e80719fcb6a1e..e77b7b932377cbb31e8943feaf6c287f421bf43d 100644 (file)
@@ -88,5 +88,6 @@
         }
     }
     
+    echo tidy_get_output();
 
 ?>  
\ No newline at end of file
index 22111d8b72ae88c6bce72b830424a3ff3ac8ad7d..07143462236c4d06ea9ef1bee0a2256daad16de7 100644 (file)
@@ -13,7 +13,7 @@
   | license@php.net so we can mail you a copy immediately.               |
   +----------------------------------------------------------------------+
   | Author: John Coggeshall <john@php.net>                               |
-  |         Ilia Alshanetsky <ilia@php.net>                             |
+  |         Ilia Alshanetsky <ilia@php.net>                                                             |
   +----------------------------------------------------------------------+
 */
 
@@ -238,7 +238,7 @@ static char *php_tidy_file_to_mem(char *filename, zend_bool use_include_path TSR
        return data;
 }
 
-static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_file TSRMLS_DC)
+static void php_tidy_quick_repair(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_file)
 {
        char *data=NULL, *cfg_file=NULL, *arg1;
        int cfg_file_len, arg1_len;
@@ -486,7 +486,7 @@ PHP_FUNCTION(tidy_clean_repair)
    Repair a string using an optionally provided configuration file */
 PHP_FUNCTION(tidy_repair_string)
 {
-       php_tidy_quick_repair(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0 TSRMLS_CC);
+       php_tidy_quick_repair(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0);
 }
 /* }}} */