* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
cygdrive prefix path flags.
This commit is contained in:
parent
a61421f1fb
commit
93579594b7
|
@ -1,3 +1,8 @@
|
||||||
|
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
|
||||||
|
cygdrive prefix path flags.
|
||||||
|
|
||||||
2010-02-14 Christopher Faylor <me+cygwin@cgf.cx>
|
2010-02-14 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled
|
* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled
|
||||||
|
|
|
@ -500,6 +500,15 @@ mount_info::conv_to_win32_path (const char *src_path, char *dst, device& dev,
|
||||||
dev = *netdrive_dev;
|
dev = *netdrive_dev;
|
||||||
set_flags (flags, PATH_BINARY);
|
set_flags (flags, PATH_BINARY);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* For UNC paths, use the cygdrive prefix flags as default setting.
|
||||||
|
This is more natural since UNC paths, just like cygdrive paths,
|
||||||
|
are rather (warning, poetic description ahead) windows into the
|
||||||
|
native Win32 world. This also gives the user an elegant way to
|
||||||
|
change the settings for those paths in a central place. */
|
||||||
|
set_flags (flags, (unsigned) cygdrive_flags);
|
||||||
|
}
|
||||||
backslashify (src_path, dst, 0);
|
backslashify (src_path, dst, 0);
|
||||||
/* Go through chroot check */
|
/* Go through chroot check */
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in New Issue