summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
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 /winsup/cygwin/path.cc
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.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc2
1 files changed, 1 insertions, 1 deletions
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 ();