symlink_info::check fixup comment and two test for non-XP
This commit is contained in:
parent
e855447fd2
commit
a361f44c97
|
@ -2702,9 +2702,8 @@ restart:
|
||||||
manages them. I really hope it's streamlined enough not to
|
manages them. I really hope it's streamlined enough not to
|
||||||
slow down normal operation. This extra check only kicks in if
|
slow down normal operation. This extra check only kicks in if
|
||||||
we encountered a STATUS_OBJECT_NAME_NOT_FOUND *and* we didn't
|
we encountered a STATUS_OBJECT_NAME_NOT_FOUND *and* we didn't
|
||||||
already attach a suffix *and* the above special case for UDF
|
already attach a suffix. */
|
||||||
on XP didn't succeeed. */
|
if (!restarted && !*ext_here && !(pflags & PATH_DOS))
|
||||||
if (!restarted && !*ext_here && !(pflags & PATH_DOS) && !fs.inited ())
|
|
||||||
{
|
{
|
||||||
/* Check for trailing dot or space or leading space in
|
/* Check for trailing dot or space or leading space in
|
||||||
last component. */
|
last component. */
|
||||||
|
@ -2720,7 +2719,6 @@ restart:
|
||||||
{
|
{
|
||||||
/* If so, check if file resides on one of the known broken
|
/* If so, check if file resides on one of the known broken
|
||||||
FSes only supporting filenames following DOS rules. */
|
FSes only supporting filenames following DOS rules. */
|
||||||
if (!fs.inited ())
|
|
||||||
fs.update (&upath, NULL);
|
fs.update (&upath, NULL);
|
||||||
if (fs.has_dos_filenames_only ())
|
if (fs.has_dos_filenames_only ())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue