summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/path.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 03b41748c..384479bd5 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 82c96c7e6..d12998071 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -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"