summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
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 ();