cvs: pecl /tidy tidy.c /tidy/examples dumpit.php
| From: | John Coggeshall | Date: | Thu, 25 Sep 2003 09:32:55 +0000 |
| Subject: | cvs: pecl /tidy tidy.c /tidy/examples dumpit.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-482@lists.php.net to get a copy of this message | ||
john Thu Sep 25 05:32:55 2003 EDT
Modified files:
/pecl/tidy tidy.c
/pecl/tidy/examples dumpit.php
Log:
Fixed a --enable-maintainer-zts glitch where TSRMLS_DC was being used
unnecessarily.
Index: pecl/tidy/tidy.c
diff -u pecl/tidy/tidy.c:1.14 pecl/tidy/tidy.c:1.15
--- pecl/tidy/tidy.c:1.14 Mon Sep 22 14:40:36 2003
+++ pecl/tidy/tidy.c Thu Sep 25 05:32:54 2003
@@ -13,11 +13,11 @@
| 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> |
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.14 2003/09/22 18:40:36 john Exp $ */
+/* $Id: tidy.c,v 1.15 2003/09/25 09:32:54 john Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -238,7 +238,7 @@
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 @@
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);
}
/* }}} */
Index: pecl/tidy/examples/dumpit.php
diff -u pecl/tidy/examples/dumpit.php:1.2 pecl/tidy/examples/dumpit.php:1.3
--- pecl/tidy/examples/dumpit.php:1.2 Mon Sep 22 14:40:37 2003
+++ pecl/tidy/examples/dumpit.php Thu Sep 25 05:32:55 2003
@@ -88,5 +88,6 @@
}
}
+ echo tidy_get_output();
?>