Loweynet
Revisão | fd18172b434c3fe89ef0ef7e360fa605ae0f74fa (tree) |
---|---|
Hora | 2012-02-07 00:54:15 |
Autor | s_kawamoto <s_kawamoto@user...> |
Commiter | s_kawamoto |
Fix bugs of decoding last modified times.
@@ -4911,6 +4911,7 @@ static int ResolvFileInfo(char *Str, int ListType, char *Fname, LONGLONG *Size, | ||
4911 | 4911 | sTime.wSecond = atoi_n(Value + 12, 2); |
4912 | 4912 | sTime.wMilliseconds = 0; |
4913 | 4913 | SystemTimeToFileTime(&sTime, Time); |
4914 | + // 時刻はGMT | |
4914 | 4915 | // SpecificLocalFileTime2FileTime(Time, AskHostTimeZone()); |
4915 | 4916 | *InfoExist |= FINFO_DATE | FINFO_TIME; |
4916 | 4917 | } |
@@ -451,7 +451,8 @@ int DoMDTM(SOCKET cSkt, char *Path, FILETIME *Time, int *CancelCheckWork) | ||
451 | 451 | &sTime.wHour, &sTime.wMinute, &sTime.wSecond) == 6) |
452 | 452 | { |
453 | 453 | SystemTimeToFileTime(&sTime, Time); |
454 | - SpecificLocalFileTime2FileTime(Time, AskHostTimeZone()); | |
454 | + // 時刻はGMT | |
455 | +// SpecificLocalFileTime2FileTime(Time, AskHostTimeZone()); | |
455 | 456 | |
456 | 457 | } |
457 | 458 | } |