* path.cc (path_conv::check): Treat ENOSHARE similarly to ENOENT when
determining if there was a problem with a symlink.
This commit is contained in:
parent
82518b7c54
commit
f5394c9560
|
@ -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>
|
2005-03-08 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
|
* fhandler_socket.cc (fhandler_socket::listen): Don't limit the number
|
||||||
|
|
|
@ -378,7 +378,8 @@ fs_info::update (const char *win32_path)
|
||||||
is_remote_drive (false);
|
is_remote_drive (false);
|
||||||
|
|
||||||
if (!GetVolumeInformation (root_dir, NULL, 0, &status.serial, NULL,
|
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);
|
debug_printf ("Cannot get volume information (%s), %E", root_dir);
|
||||||
has_buggy_open (false);
|
has_buggy_open (false);
|
||||||
|
@ -766,7 +767,7 @@ is_virtual_symlink:
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else if (sym.error != ENOENT) /* E. g. EACCES */
|
else if (sym.error != ENOENT && sym.error != ENOSHARE) /* E. g. EACCES */
|
||||||
{
|
{
|
||||||
error = sym.error;
|
error = sym.error;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue