From: Arun Prakash Jana Date: Sun, 2 Jul 2017 11:09:06 +0000 (+0530) Subject: Show correct information for symbolic links X-Git-Tag: v1.3~21 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=55d916921f4c13f66395fc6742543c33ad261d00;p=nnn.git Show correct information for symbolic links --- 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));