]> sourceware.org Git - newlib-cygwin.git/commitdiff
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
authorChristopher Faylor <me@cgf.cx>
Sun, 14 Dec 2008 06:01:46 +0000 (06:01 +0000)
committerChristopher Faylor <me@cgf.cx>
Sun, 14 Dec 2008 06:01:46 +0000 (06:01 +0000)
since the function could be fed one by an internal call.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/path.cc

index c382e52ed6f259928dc68ccfb2c7349bed07e645..007b29470f8a9d7307071053c9625c0737e1cf3c 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-14  Christopher Faylor  <me+cygwin@cgf.cx>
+
+       * 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.
+
 2008-12-13  Christopher Faylor  <me+cygwin@cgf.cx>
 
        * cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed
index ac7ee2ee8f0f871da6c3cb38d2a60164af506830..288343fc146ef36307f45ab0eee8b140f3259f73 100644 (file)
@@ -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))
index 60708994ebc11830f34e02f17815d254b16ce098..bb9bb98148934920ef26315d33cfd9e3a2e9ce2a 100644 (file)
@@ -2346,7 +2346,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
              easize = 0;
            }
          status = NtOpenFile (&h, READ_CONTROL | FILE_READ_ATTRIBUTES,
-                              &attr, &io, FILE_SHARE_VALID_FLAGS, 
+                              &attr, &io, FILE_SHARE_VALID_FLAGS,
                               FILE_OPEN_REPARSE_POINT
                               | FILE_OPEN_FOR_BACKUP_INTENT);
        }
This page took 0.03938 seconds and 5 git commands to generate.