Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150569472
D13024.id35082.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
498 B
Referenced Files
None
Subscribers
None
D13024.id35082.diff
View Options
Index: usr.bin/find/function.c
===================================================================
--- usr.bin/find/function.c
+++ 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
Fri, Apr 3, 11:13 AM (10 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30755075
Default Alt Text
D13024.id35082.diff (498 B)
Attached To
Mode
D13024: Don't terminate when statfs() fails.
Attached
Detach File
Event Timeline
Log In to Comment