nnn

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

commit a9436cfe7b196f27fd59074b82c1b10bf692f675
parent c58434d07880aa8d4b767f1d8c0fe9de70cff4ff
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon, 13 Apr 2020 21:42:23 +0530

Fix build break

Diffstat:
Msrc/nnn.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4367,6 +4367,8 @@ static int dentfill(char *path, struct entry **dents) num_files = 0; dir_blocks = 0; buf = (char *)alloca(strlen(path) + NAME_MAX + 2); + if (!buf) + return 0; if (fstatat(fd, path, &sb_path, 0) == -1) goto exit;