[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #11879] all mount-points lstat()-ed, but shouldn't be

From: Dmitry V. Levin
Subject: [bugs #11879] all mount-points lstat()-ed, but shouldn't be
Date: Sat, 12 Feb 2005 23:50:31 +0000
User-agent: ELinks

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


This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]