From 53a918f3d63b67532dde8287ce653ca84b28f65c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 20 Feb 2010 09:17:07 +0000 Subject: [PATCH] * path.cc (warn_msdos): Enforce extended hex printing of multibyte pathnames. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/path.cc | 4 ++-- 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 + + * path.cc (warn_msdos): Enforce extended hex printing of multibyte + pathnames. + 2010-02-19 Christopher Faylor * 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"