Follow-up Comment #3, bugs #11879 (project findutils):
1. this hunk looks odd:
+ time(NULL);
+ opendir(".");
+ time(NULL);
+
2. safely_chdir_nofollow() will switch to safely_chdir_lstat() if open()
fails due to some race.
3. I'd prefer to avoid runtime fallback to safely_chdir_lstat() on platforms
where fchdir() is known to work.
4. At this moment, safely_chdir_nofollow() does less then
safely_chdir_lstat(). Maybe some stuff could be moved back to
safely_chdir()?
_______________________________________________________
This item URL is:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11879>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils