From 55d916921f4c13f66395fc6742543c33ad261d00 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 2 Jul 2017 16:39:06 +0530 Subject: [PATCH] Show correct information for symbolic links --- nnn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/nnn.c b/nnn.c index 1c35b05a..93feadde 100644 --- 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));