* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during

initialization.
This commit is contained in:
Christopher Faylor 2009-03-14 18:35:26 +00:00
parent 5c8c49cc43
commit 6612934a40
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-03-14 Christopher Faylor <me+cygwin@cgf.cx>
* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered
during initialization.
2009-03-14 Corinna Vinschen <corinna@vinschen.de> 2009-03-14 Corinna Vinschen <corinna@vinschen.de>
* gendef: Remove STABS directives. * gendef: Remove STABS directives.

View File

@ -504,7 +504,7 @@ path_conv::get_wide_win32_path (PWCHAR wc)
void void
warn_msdos (const char *src) warn_msdos (const char *src)
{ {
if (user_shared->warned_msdos || !dos_file_warning) if (user_shared->warned_msdos || !dos_file_warning || !cygwin_finished_initializing)
return; return;
tmp_pathbuf tp; tmp_pathbuf tp;
char *posix_path = tp.c_get (); char *posix_path = tp.c_get ();