Ticket #4260 (closed defect: fixed)
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: | committed-master |
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
comment:1 Changed 3 years ago by andrew_b
- Owner set to andrew_b
- Status changed from new to accepted
- Version changed from master to 4.8.26
- Description modified (diff)
- Milestone changed from Future Releases to 4.8.27
comment:2 Changed 3 years ago by andrew_b
- Branch state changed from no branch to on review
Thanks!
Branch: 4260_ftp_file_month
changeset:36e48b04bd8a9fa245ebb5094c60b679bf8d91ef
comment:3 Changed 3 years ago by andrew_b
- Votes for changeset set to andrew_b
- Branch state changed from on review to approved
comment:4 Changed 3 years ago by andrew_b
- Status changed from accepted to testing
- Votes for changeset changed from andrew_b to committed-master
- Resolution set to fixed
- Branch state changed from approved to merged
Merged to master: [fa9ea0d61cc2a5f4a839fc1969da5416ab38ba98].
Note: See
TracTickets for help on using
tickets.