nnn

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

commit b2aea5c619ec6bf56a6bf7d3020dc0fde4426c5e
parent 6816e83e836c43689c28d3b11a9abce27a81a1f2
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Mon,  4 Mar 2019 23:37:51 +0530

Fix directory indicator

Diffstat:
Msrc/nnn.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -2098,7 +2098,10 @@ static char *coolsize(off_t size) static char *get_file_sym(mode_t mode) { - static char ind[2] = "\0\0"; + static char ind[2]; + + ind[0] = '\0'; + ind[1] = '\0'; switch (mode & S_IFMT) { case S_IFREG: