Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153827912
D13024.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
513 B
Referenced Files
None
Subscribers
None
D13024.id.diff
View Options
Index: head/usr.bin/find/function.c
===================================================================
--- head/usr.bin/find/function.c
+++ head/usr.bin/find/function.c
@@ -902,8 +902,13 @@
} else
p = NULL;
- if (statfs(entry->fts_accpath, &sb))
- err(1, "%s", entry->fts_accpath);
+ if (statfs(entry->fts_accpath, &sb)) {
+ if (!ignore_readdir_race || errno != ENOENT) {
+ warn("statfs: %s", entry->fts_accpath);
+ exitstatus = 1;
+ }
+ return 0;
+ }
if (p) {
p[0] = save[0];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 25, 1:51 AM (13 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32104063
Default Alt Text
D13024.id.diff (513 B)
Attached To
Mode
D13024: Don't terminate when statfs() fails.
Attached
Detach File
Event Timeline
Log In to Comment