summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/path.cc2
2 files changed, 6 insertions, 1 deletions
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 <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>
* 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 ();