Ticket #4472: (ftpfs_parse_long_list_UNIX): don't ignore special files.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2023-06-04 12:02:24 +03:00
parent 1536b5acf4
commit 14bc2ac2f1

View File

@ -426,8 +426,6 @@ ftpfs_parse_long_list_UNIX (char *line, struct stat *s, char **filename, char **
if (strncasecmp (line, "Status of ", 10) == 0) if (strncasecmp (line, "Status of ", 10) == 0)
return FALSE; /* STAT output. */ return FALSE; /* STAT output. */
if (strchr ("bcpsD", line[0]) != NULL) /* block, char, pipe, socket, Door. */
return FALSE;
ret = parse_ls_line (line, s, filename, linkname); ret = parse_ls_line (line, s, filename, linkname);
if (!ret) if (!ret)