moriyoshi Fri Oct 11 03:38:18 2002 EDT Modified files: /php4/ext/iconv/tests translit-failure.phpt Log: Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. Index: php4/ext/iconv/tests/translit-failure.phpt diff -u php4/ext/iconv/tests/translit-failure.phpt:1.1 php4/ext/iconv/tests/translit-failure.phpt:1.2 --- php4/ext/iconv/tests/translit-failure.phpt:1.1 Thu Oct 10 15:06:00 2002 +++ php4/ext/iconv/tests/translit-failure.phpt Fri Oct 11 03:38:18 2002 @@ -10,6 +10,13 @@ // if at some point internal encoding changes, set correct one // in INI section or use file 'TranslitFail1.ISO-8859-1'. +set_time_limit(5); +/* + * The bug (fixed in libiconv 1.8) was confirmed that iconv goes into a + * infinite loop when ASCII//TRANSLIT is performed. We should stop it in + * some time. + */ + $test = 'Écrit par %s.'; if (!iconv("ISO-8859-1", "ASCII//TRANSLIT", $test)) echo 'wrong is right';
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php