cvs: php-src(PHP_5_2) /ext/standard/tests/strings htmlentities02.phpt
| From: | Nuno Lopes | Date: | Wed, 27 Dec 2006 15:17:04 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/strings htmlentities02.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-42426@lists.php.net to get a copy of this message | ||
nlopess Wed Dec 27 15:17:04 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/strings htmlentities02.phpt
Log:
oops: remove uneeded code in the skip condition
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/htmlentities02.phpt?r1=1.8.6.1&r2=1.8.6.2&diff_format=u
Index: php-src/ext/standard/tests/strings/htmlentities02.phpt
diff -u php-src/ext/standard/tests/strings/htmlentities02.phpt:1.8.6.1
php-src/ext/standard/tests/strings/htmlentities02.phpt:1.8.6.2
--- php-src/ext/standard/tests/strings/htmlentities02.phpt:1.8.6.1 Wed Dec 27 15:11:35 2006
+++ php-src/ext/standard/tests/strings/htmlentities02.phpt Wed Dec 27 15:17:04 2006
@@ -3,7 +3,7 @@
--SKIPIF--
<?php
$result = (bool)setlocale(LC_CTYPE, "fr_FR.ISO-8859-15", "fr_FR.ISO8859-15",
'fr_FR@euro');
-if (!$result || preg_match('/ISO/i', setlocale(LC_CTYPE, 0)) == 0) {
+if (!$result) {
die("skip setlocale() failed\n");
}
echo "warn possibly braindead libc\n";