diff options
author | Christopher Faylor <me@cgf.cx> | 2008-12-14 06:01:46 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-12-14 06:01:46 +0000 |
commit | ec4eb70c331713981c175a9d195352b8e3dd6e24 (patch) | |
tree | a52e68b318ea4996ffbc8902c139b5d9ee3f25d4 /winsup | |
parent | 2b0c1c0d44fad7dff9412e1017e8529d0fca7225 (diff) | |
download | newlib-ec4eb70c331713981c175a9d195352b8e3dd6e24.zip newlib-ec4eb70c331713981c175a9d195352b8e3dd6e24.tar.gz newlib-ec4eb70c331713981c175a9d195352b8e3dd6e24.tar.bz2 |
* 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.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_disk_file.cc | 2 | ||||
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c382e52..007b294 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -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> * cygheap.cc (cygheap_user::~cygheap_user): Remove unneeded if 0'ed diff --git a/winsup/cygwin/fhandler_disk_file.cc b/winsup/cygwin/fhandler_disk_file.cc index ac7ee2e..288343f 100644 --- a/winsup/cygwin/fhandler_disk_file.cc +++ b/winsup/cygwin/fhandler_disk_file.cc @@ -1640,7 +1640,7 @@ readdir_get_ino (const char *path, bool dot_dot) strcpy (c, ".."); 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 (!stat_worker (pc, &st)) diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 6070899..bb9bb98 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -2346,7 +2346,7 @@ symlink_info::check (char *path, const suffix_info *suffixes, unsigned opt, easize = 0; } 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_FOR_BACKUP_INTENT); } |