This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Skip entries in case fstatat() fails, do not exit
master
Arun Prakash Jana
7 years ago
parent
a75cf50de5
commit
968beb434a
No known key found for this signature in database
GPG Key ID:
A75979F35C080412
1 changed files
with
2 additions
and
3 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-3
nnn.c
+ 2
- 3
nnn.c
View File
@@ -1814,9 +1814,8 @@ dentfill(char *path, struct entry **dents,
continue;
continue;
if (fstatat(fd, namep, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
if (fstatat(fd, namep, &sb, AT_SYMLINK_NOFOLLOW) == -1) {
if (*dents)
free(*dents);
errexit();
DPRINTF_S(namep);
continue;
}
}
if (n == total_dents) {
if (n == total_dents) {
Write
Preview
Loading…
Cancel
Save