Ticket #4260 (accepted defect) — at Version 1
FTP: the month of file creation is always January
Reported by: | m_ok | Owned by: | andrew_b |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.27 |
Component: | mc-vfs | Version: | 4.8.26 |
Keywords: | ftpfs, date, ftp | Cc: | |
Blocked By: | Blocking: | ||
Branch state: | merged | Votes for changeset: |
Description (last modified by andrew_b) (diff)
When browsing FTP servers, the files' dates always have January as a month. I found the location of this problem. In the file src/mc/src/vfs/ftpfs/ftpfs_parse_ls.c:
if (vfs_parse_month (t, &date)) date.tm_mon = 0;
should be changed to
if (!vfs_parse_month (t, &date)) date.tm_mon = 0;
The version is 4.8.26-221-g0c04e2382.
Change History
Note: See
TracTickets for help on using
tickets.