From 6612934a409be142a740847a8911d75282d4779d Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 14 Mar 2009 18:35:26 +0000 Subject: [PATCH] * path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during initialization. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/path.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b9afe9d23..f8abcc31d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2009-03-14 Christopher Faylor + + * path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered + during initialization. + 2009-03-14 Corinna Vinschen * gendef: Remove STABS directives. diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 27a0bfcd2..313195e9e 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -504,7 +504,7 @@ path_conv::get_wide_win32_path (PWCHAR wc) void 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; tmp_pathbuf tp; char *posix_path = tp.c_get ();