mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
unnecessarily.
This commit is contained in:
parent
33061ef1b9
commit
bca08dabb4
@ -88,5 +88,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
echo tidy_get_output();
|
||||
|
||||
?>
|
@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user