mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #2635: mc adds spaces an the beginning of all files/dirs at the ftp server
For FTP servers, that do not send ".." in directory listing, mc adds one space to the name of every file and directory. Attached patch should fix this problem. Steps to reproduce: cd /#ftp:ftp.symantec.com Expected result: Correct list of files/directories Actual result: File/directory names with leading spaces Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
83002445e3
commit
95c553c467
@ -657,7 +657,7 @@ vfs_split_text (char *p)
|
||||
void
|
||||
vfs_parse_ls_lga_init (void)
|
||||
{
|
||||
vfs_parce_ls_final_num_spaces = 0;
|
||||
vfs_parce_ls_final_num_spaces = 1;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user