* path.cc (warn_msdos): Enforce extended hex printing of multibyte

pathnames.
This commit is contained in:
Corinna Vinschen 2010-02-20 09:17:07 +00:00
parent 3afd8b74d9
commit 53a918f3d6
2 changed files with 7 additions and 2 deletions

View 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

View 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"