Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145055849
D49624.1777293065.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
D49624.1777293065.diff
View Options
diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
--- a/lib/libc/gen/fts.c
+++ b/lib/libc/gen/fts.c
@@ -900,10 +900,12 @@
int saved_errno;
const char *path;
- if (dfd == -1)
- path = p->fts_accpath, dfd = AT_FDCWD;
- else
+ if (dfd == -1) {
+ path = p->fts_accpath;
+ dfd = AT_FDCWD;
+ } else {
path = p->fts_name;
+ }
/* If user needs stat info, stat buffer already allocated. */
sbp = ISSET(FTS_NOSTAT) ? &sb : p->fts_statp;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 27, 12:31 PM (11 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28434241
Default Alt Text
D49624.1777293065.diff (449 B)
Attached To
Mode
D49624: fts: Stop abusing the comma operator.
Attached
Detach File
Event Timeline
Log In to Comment