* path.cc (path_conv::check): Treat native DOS paths as "noacl".
This commit is contained in:
parent
93579594b7
commit
66f2d8f13e
@ -1,3 +1,7 @@
|
|||||||
|
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* path.cc (path_conv::check): Treat native DOS paths as "noacl".
|
||||||
|
|
||||||
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
|
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
|
* mount.cc (mount_info::conv_to_win32_path): Set UNC path flags to
|
||||||
|
@ -828,12 +828,14 @@ is_virtual_symlink:
|
|||||||
{
|
{
|
||||||
fileattr = sym.fileattr;
|
fileattr = sym.fileattr;
|
||||||
path_flags = sym.pflags;
|
path_flags = sym.pflags;
|
||||||
/* If the OS is caseinsensitive or the FS is caseinsensitive or
|
/* If the OS is caseinsensitive or the FS is caseinsensitive,
|
||||||
the incoming path was given in DOS notation, don't handle
|
don't handle path casesensitive. */
|
||||||
path casesensitive. */
|
if (cygwin_shared->obcaseinsensitive || fs.caseinsensitive ())
|
||||||
if (cygwin_shared->obcaseinsensitive || fs.caseinsensitive ()
|
|
||||||
|| is_msdos)
|
|
||||||
path_flags |= PATH_NOPOSIX;
|
path_flags |= PATH_NOPOSIX;
|
||||||
|
/* If the incoming path was given in DOS notation, always treat
|
||||||
|
it as caseinsensitive,noacl path. */
|
||||||
|
else if (is_msdos)
|
||||||
|
path_flags |= PATH_NOPOSIX | PATH_NOACL;
|
||||||
caseinsensitive = (path_flags & PATH_NOPOSIX)
|
caseinsensitive = (path_flags & PATH_NOPOSIX)
|
||||||
? OBJ_CASE_INSENSITIVE : 0;
|
? OBJ_CASE_INSENSITIVE : 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user