Browse Source

Show correct information for symbolic links

master
Arun Prakash Jana 8 years ago
parent
commit
55d916921f
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      nnn.c

+ 1
- 0
nnn.c View File

@@ -1346,6 +1346,7 @@ show_stats(char *fpath, char *fname, struct stat *sb)
g_buf[len] = '\0'; g_buf[len] = '\0';
dprintf(fd, " File: '%s' -> ", unescape(fname)); dprintf(fd, " File: '%s' -> ", unescape(fname));
dprintf(fd, "'%s'", unescape(g_buf)); dprintf(fd, "'%s'", unescape(g_buf));
xstrlcpy(g_buf, "symbolic link", MAX_CMD_LEN);
} }
} else } else
dprintf(fd, " File: '%s'", unescape(fname)); dprintf(fd, " File: '%s'", unescape(fname));


Loading…
Cancel
Save