* path.cc (symlink_info::check_shortcut): Minimize requested file

access flags.
	(symlink_info::check_sysfile): Ditto.  Add missing `else'.
	(symlink_info::check): Only retry to open file if first try failed
	with access denied.
This commit is contained in:
Corinna Vinschen
2008-05-20 18:19:32 +00:00
parent a9309ff5b6
commit c44e0ba1f5
2 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +1,11 @@
2008-05-20 Corinna Vinschen <corinna@vinschen.de>
* path.cc (symlink_info::check_shortcut): Minimize requested file
access flags.
(symlink_info::check_sysfile): Ditto. Add missing `else'.
(symlink_info::check): Only retry to open file if first try failed
with access denied.
2008-05-20 Corinna Vinschen <corinna@vinschen.de>
* path.cc (fs_info::update): Re-add opening the unsplitted path