nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 968beb434af29417a8490ce66435d157cf869495
parent a75cf50de5992e76b9c4a05f8d63176625765fb5
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Wed, 13 Sep 2017 18:44:27 +0530

Skip entries in case fstatat() fails, do not exit

Diffstat:
Mnnn.c | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/nnn.c b/nnn.c @@ -1814,9 +1814,8 @@ dentfill(char *path, struct entry **dents, continue; if (fstatat(fd, namep, &sb, AT_SYMLINK_NOFOLLOW) == -1) { - if (*dents) - free(*dents); - errexit(); + DPRINTF_S(namep); + continue; } if (n == total_dents) {