* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS paths
since the function could be fed one by an internal call.
This commit is contained in:
parent
2b0c1c0d44
commit
ec4eb70c33
|
@ -1,3 +1,8 @@
|
||||||
|
2008-12-14 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_disk_file.cc (readdir_get_ino): Don't complain about MS-DOS
|
||||||
|
paths since the function could be fed one by an internal call.
|
||||||
|
|
||||||
2008-12-13 Christopher Faylor <me+cygwin@cgf.cx>
|
2008-12-13 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed
|
* cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed
|
||||||
|
|
|
@ -1640,7 +1640,7 @@ readdir_get_ino (const char *path, bool dot_dot)
|
||||||
strcpy (c, "..");
|
strcpy (c, "..");
|
||||||
path = fname;
|
path = fname;
|
||||||
}
|
}
|
||||||
path_conv pc (path, PC_SYM_NOFOLLOW | PC_POSIX);
|
path_conv pc (path, PC_SYM_NOFOLLOW | PC_POSIX | PC_NOWARN);
|
||||||
if (pc.isspecial ())
|
if (pc.isspecial ())
|
||||||
{
|
{
|
||||||
if (!stat_worker (pc, &st))
|
if (!stat_worker (pc, &st))
|
||||||
|
|
|
@ -2346,7 +2346,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt,
|
||||||
easize = 0;
|
easize = 0;
|
||||||
}
|
}
|
||||||
status = NtOpenFile (&h, READ_CONTROL | FILE_READ_ATTRIBUTES,
|
status = NtOpenFile (&h, READ_CONTROL | FILE_READ_ATTRIBUTES,
|
||||||
&attr, &io, FILE_SHARE_VALID_FLAGS,
|
&attr, &io, FILE_SHARE_VALID_FLAGS,
|
||||||
FILE_OPEN_REPARSE_POINT
|
FILE_OPEN_REPARSE_POINT
|
||||||
| FILE_OPEN_FOR_BACKUP_INTENT);
|
| FILE_OPEN_FOR_BACKUP_INTENT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue