OSDN Git Service

* path.cc (warn_msdos): Enforce extended hex printing of multibyte
authorcorinna <corinna>
Sat, 20 Feb 2010 09:17:05 +0000 (09:17 +0000)
committercorinna <corinna>
Sat, 20 Feb 2010 09:17:05 +0000 (09:17 +0000)
pathnames.

winsup/cygwin/ChangeLog
winsup/cygwin/path.cc

index 03b4174..384479b 100644 (file)
@@ -1,3 +1,8 @@
+2010-02-20  Corinna Vinschen  <corinna@vinschen.de>
+
+       * path.cc (warn_msdos): Enforce extended hex printing of multibyte
+       pathnames.
+
 2010-02-19  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * include/sys/strace.h: Remove old code.  Add support for ptrace
index 82c96c7..d129980 100644 (file)
@@ -476,10 +476,10 @@ warn_msdos (const char *src)
   small_printf ("cygwin warning:\n");
   if (cygwin_conv_path (CCP_WIN_A_TO_POSIX | CCP_RELATIVE, src,
                        posix_path, NT_MAX_PATH))
-    small_printf ("  MS-DOS style path detected: %s\n  POSIX equivalent preferred.\n",
+    small_printf ("  MS-DOS style path detected: %ls\n  POSIX equivalent preferred.\n",
                  src);
   else
-    small_printf ("  MS-DOS style path detected: %s\n  Preferred POSIX equivalent is: %s\n",
+    small_printf ("  MS-DOS style path detected: %ls\n  Preferred POSIX equivalent is: %ls\n",
                  src, posix_path);
   small_printf ("  CYGWIN environment variable option \"nodosfilewarning\" turns off this warning.\n"
                "  Consult the user's guide for more details about POSIX paths:\n"