commit 55d916921f4c13f66395fc6742543c33ad261d00
parent 166e31b512f3498e4f38f93aa0fb02bcc2705c59
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Sun, 2 Jul 2017 16:39:06 +0530
Show correct information for symbolic links
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/nnn.c b/nnn.c
@@ -1346,6 +1346,7 @@ show_stats(char *fpath, char *fname, struct stat *sb)
g_buf[len] = '\0';
dprintf(fd, " File: '%s' -> ", unescape(fname));
dprintf(fd, "'%s'", unescape(g_buf));
+ xstrlcpy(g_buf, "symbolic link", MAX_CMD_LEN);
}
} else
dprintf(fd, " File: '%s'", unescape(fname));