summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-03-14 18:35:26 +0000
committerChristopher Faylor <me@cgf.cx>2009-03-14 18:35:26 +0000
commit6612934a409be142a740847a8911d75282d4779d (patch)
tree5f6b543f5bde3cb207588db1a88796a2a5c39626
parent5c8c49cc43837470e6d9096b99bbed2b0481b806 (diff)
downloadcygnal-6612934a409be142a740847a8911d75282d4779d.tar.gz
cygnal-6612934a409be142a740847a8911d75282d4779d.tar.bz2
cygnal-6612934a409be142a740847a8911d75282d4779d.zip
* path.cc (warn_msdos): Don't warn about MS-DOS filenames encountered during
initialization.
-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 ();