summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_disk_file.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-12-14 06:01:46 +0000
committerChristopher Faylor <me@cgf.cx>2008-12-14 06:01:46 +0000
commitec4eb70c331713981c175a9d195352b8e3dd6e24 (patch)
treea52e68b318ea4996ffbc8902c139b5d9ee3f25d4 /winsup/cygwin/fhandler_disk_file.cc
parent2b0c1c0d44fad7dff9412e1017e8529d0fca7225 (diff)
downloadcygnal-ec4eb70c331713981c175a9d195352b8e3dd6e24.tar.gz
cygnal-ec4eb70c331713981c175a9d195352b8e3dd6e24.tar.bz2
cygnal-ec4eb70c331713981c175a9d195352b8e3dd6e24.zip
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
since the function could be fed one by an internal call.
Diffstat (limited to 'winsup/cygwin/fhandler_disk_file.cc')
-rw-r--r--winsup/cygwin/fhandler_disk_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc
index ac7ee2ee8..288343fc1 100644
--- a/winsup/cygwin/fhandler_disk_file.cc
+++ b/winsup/cygwin/fhandler_disk_file.cc
@@ -1640,7 +1640,7 @@ readdir_get_ino (const char *path, bool dot_dot)
strcpy (c, "..");
path = fname;
}
- path_conv pc (path, PC_SYM_NOFOLLOW | PC_POSIX);
+ path_conv pc (path, PC_SYM_NOFOLLOW | PC_POSIX | PC_NOWARN);
if (pc.isspecial ())
{
if (!stat_worker (pc, &st))