Bug 8225
Summary: | ncftp reports incorrect file timestamps for Microsoft FTP 4.0 servers | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Rob McMillin <rlm> |
Component: | ncftp | Assignee: | Bernhard Rosenkraenzer <bero> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | mgleason |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
URL: | ftp://ftp.quantum.com | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-01-06 16:56:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rob McMillin
2000-01-06 04:53:21 UTC
I can confirm that bug which includes betas up through beta 21. Since I may not be getting beta 22 finished soon enough, here is a quick patch to apply to the libncftp/glob.c source file: *** glob.c Thu Jan 6 01:44:38 2000 --- glob.c.new Thu Jan 6 01:44:52 2000 *************** *** 208,214 **** (void) memset(&ftm, 0, sizeof(struct tm)); ftm.tm_isdst = -1; cp[2] = '\0'; ! ftm.tm_mon = atoi(cp + 0) + 1; cp[5] = '\0'; ftm.tm_mday = atoi(cp + 3); cp[8] = '\0'; --- 208,214 ---- (void) memset(&ftm, 0, sizeof(struct tm)); ftm.tm_isdst = -1; cp[2] = '\0'; ! ftm.tm_mon = atoi(cp + 0) - 1; cp[5] = '\0'; ftm.tm_mday = atoi(cp + 3); cp[8] = '\0'; Fixed in ncftp-3.0beta21-2. Thanks for the patch. |