cvs: php-src /ext/tidy tidy.c
| From: | Nuno Lopes | Date: | Sun, 23 Apr 2006 12:56:11 +0000 |
| Subject: | cvs: php-src /ext/tidy tidy.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37898@lists.php.net to get a copy of this message | ||
nlopess Sun Apr 23 12:56:11 2006 UTC
Modified files:
/php-src/ext/tidy tidy.c
Log:
upgrade tidy_get_release() to unicode.
#say now if anything is wrong before I start upgrading the rest of the functions
http://cvs.php.net/viewcvs.cgi/php-src/ext/tidy/tidy.c?r1=1.79&r2=1.80&diff_format=u
Index: php-src/ext/tidy/tidy.c
diff -u php-src/ext/tidy/tidy.c:1.79 php-src/ext/tidy/tidy.c:1.80
--- php-src/ext/tidy/tidy.c:1.79 Wed Apr 19 22:10:44 2006
+++ php-src/ext/tidy/tidy.c Sun Apr 23 12:56:10 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tidy.c,v 1.79 2006/04/19 22:10:44 nlopess Exp $ */
+/* $Id: tidy.c,v 1.80 2006/04/23 12:56:10 nlopess Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -985,7 +985,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.79 2006/04/19 22:10:44 nlopess Exp $)");
+ php_info_print_table_row(2, "Extension Version", PHP_TIDY_MODULE_VERSION " ($Id:
tidy.c,v 1.80 2006/04/23 12:56:10 nlopess Exp $)");
php_info_print_table_end();
DISPLAY_INI_ENTRIES();
@@ -1191,7 +1191,7 @@
}
/* }}} */
-/* {{{ proto string tidy_get_release()
+/* {{{ proto string tidy_get_release() U
Get release date (version) for Tidy library */
PHP_FUNCTION(tidy_get_release)
{
@@ -1201,7 +1201,7 @@
WRONG_PARAM_COUNT;
}
- RETURN_STRING((char *)tidyReleaseDate(), 1);
+ RETURN_ASCII_STRING((char *)tidyReleaseDate(), ZSTR_DUPLICATE);
}
/* }}} */