diff tests/automated/mule-tests.el @ 4834:b3ea9c582280

Use new cygwin_conv_path API with Cygwin 1.7 for converting names between Win32 and POSIX, UTF-8-aware, with attendant changes elsewhere
author Ben Wing <ben@xemacs.org>
date Tue, 12 Jan 2010 01:38:04 -0600
parents ad40dc9d3a97
children 189fb67ca31a
line wrap: on
line diff
--- a/tests/automated/mule-tests.el	Sun Jan 10 01:06:15 2010 -0600
+++ b/tests/automated/mule-tests.el	Tue Jan 12 01:38:04 2010 -0600
@@ -385,7 +385,8 @@
 	 (file-name-coding-system
 	  ;; 'iso-8859-X doesn't work on darwin (as of "Panther" 10.3), it
 	  ;; seems to know that file-name-coding-system is definitely utf-8
-	  (if (string-match "darwin" system-configuration)
+	  (if (or (string-match "darwin" system-configuration)
+		  (featurep 'cygwin-use-utf-8))
 	      'utf-8
 	    'iso-8859-2))
          ;; make-temp-name does stat(), which on OS X requires that you