]> sourceware.org Git - newlib-cygwin.git/commitdiff
* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
authorChristopher Faylor <me@cgf.cx>
Wed, 9 Mar 2005 20:33:21 +0000 (20:33 +0000)
committerChristopher Faylor <me@cgf.cx>
Wed, 9 Mar 2005 20:33:21 +0000 (20:33 +0000)
determining if there was a problem with a symlink.

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

index 6c708beab649cbec32c862013655f048adc593f8..9c2f7bcae9aa186fbe49652168b40f92b379fa12 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-09  Christopher Faylor  <cgf@timesys.com>
+
+       * path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
+       determining if there was a problem with a symlink.
+
 2005-03-08  Corinna Vinschen  <corinna@vinschen.de>
 
        * fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
index ae5697eee44104f9aad8250b1cfb7f59462fb833..31f646e5b932cb5443a23ba04a57b224b17858d5 100644 (file)
@@ -378,7 +378,8 @@ fs_info::update (const char *win32_path)
     is_remote_drive (false);
 
   if (!GetVolumeInformation (root_dir, NULL, 0, &status.serial, NULL,
-                            &status.flags, fsname, sizeof (fsname)))
+                            &status.flags, fsname, sizeof (fsname))
+      && !is_remote_drive ())
     {
       debug_printf ("Cannot get volume information (%s), %E", root_dir);
       has_buggy_open (false);
@@ -766,7 +767,7 @@ is_virtual_symlink:
                  else
                    break;
                }
-             else if (sym.error != ENOENT) /* E. g. EACCES */
+             else if (sym.error != ENOENT && sym.error != ENOSHARE) /* E. g. EACCES */
                {
                  error = sym.error;
                  goto out;
This page took 0.034868 seconds and 5 git commands to generate.