]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler.h (fhandler_base::get_stat_access): Delete.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 7 Oct 2010 14:03:26 +0000 (14:03 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 7 Oct 2010 14:03:26 +0000 (14:03 +0000)
commitdd0821e345930f91ab6984a442950d51bb6c9b4c
treec3ca7aca3de5cdee9e43b0731e0d1f8e473c1dca
parentca11a4f34f763483b1f18b6e7147272af9f8f697
* fhandler.h (fhandler_base::get_stat_access): Delete.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Always check
executable suffix to get x-bits for .exe files also in notexec case.
Always reopen file when checking for file header.
* ntdll.h (wait_pending): Delete.
* path.cc (symlink_info::check_shortcut): Drop call to wait_pending
since file is always opened for sync IO.
(symlink_info::check_sysfile): Ditto.
(MIN_STAT_ACCESS): Remove.
(FULL_STAT_ACCESS): Remove.
(symlink_info::check): Drop access flag.  Revert to open file with
just read attributes access.  Reorder symlink check to check for
reparse points first.  Don't check reparse points for anything else,
even on remote drives.  Open file for GENERIC_READ when trying to
read shortcuts or system-bit symlinks. Accommodate dropped access
flag in call to path_conv_handle::set.
* path.h (class path_conv_handle): Drop access flag and accommodate
all related methods.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler.h
winsup/cygwin/fhandler_disk_file.cc
winsup/cygwin/ntdll.h
winsup/cygwin/path.cc
winsup/cygwin/path.h
This page took 0.030801 seconds and 5 git commands to generate.