Ticket #4260 (accepted defect) — at Version 1

Opened 3 years ago

Last modified 3 years ago

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

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
Note: See TracTickets for help on using tickets.