pajoye          Thu Aug 21 12:13:31 2008 UTC

  Modified files:              
    /php-src/ext/standard/tests/strings strtolower.phpt 
  Log:
  - don't skip if windows matches
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/strtolower.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/standard/tests/strings/strtolower.phpt
diff -u php-src/ext/standard/tests/strings/strtolower.phpt:1.6 
php-src/ext/standard/tests/strings/strtolower.phpt:1.7
--- php-src/ext/standard/tests/strings/strtolower.phpt:1.6      Thu Aug 21 
12:06:02 2008
+++ php-src/ext/standard/tests/strings/strtolower.phpt  Thu Aug 21 12:13:31 2008
@@ -6,9 +6,11 @@
   if (!setlocale(LC_ALL, 'C')) {
     die('skip need "C" locale (this windows is broken)');
   }
+} else {
+  if (!setlocale(LC_ALL, 'en_US.UTF-8', 'en')) {
+    die('skip need "en-US.UTF-8" locale');
+  }
 }
-if (!setlocale(LC_ALL, 'en_US.UTF-8', 'en'))
-  die('skip need "en-US.UTF-8" locale');
 ?>
 --FILE--
 <?php



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to