diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-09 20:33:21 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-09 20:33:21 +0000 |
commit | f5394c956013e131600375256758c8530096538f (patch) | |
tree | 9d84561aefea2b0ac7a509a668c658374693d3b5 | |
parent | 82518b7c544280507f702763308524284464bedf (diff) | |
download | cygnal-f5394c956013e131600375256758c8530096538f.tar.gz cygnal-f5394c956013e131600375256758c8530096538f.tar.bz2 cygnal-f5394c956013e131600375256758c8530096538f.zip |
* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
determining if there was a problem with a symlink.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6c708beab..9c2f7bcae 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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 diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index ae5697eee..31f646e5b 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -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; |