2011-09-24 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbmzip/mzip.c
    ! HB_UNZIPFILEINFO(): date returned was off by one month.
      Report and fix by Juan Galvez.
This commit is contained in:
Viktor Szakats
2011-09-24 09:50:54 +00:00
parent f312800cfb
commit 6504378b2a
2 changed files with 6 additions and 1 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-09-24 11:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/mzip.c
! HB_UNZIPFILEINFO(): date returned was off by one month.
Report and fix by Juan Galvez.
2011-09-24 11:10 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbtrace.h
* harbour/src/common/hbtrace.c

View File

@@ -472,7 +472,7 @@ HB_FUNC( HB_UNZIPFILEINFO )
szFileName[ HB_PATH_MAX - 1 ] = '\0';
hb_storc( szFileName, 2 );
lJulian = hb_dateEncode( ufi.tmu_date.tm_year, ufi.tmu_date.tm_mon,
lJulian = hb_dateEncode( ufi.tmu_date.tm_year, ufi.tmu_date.tm_mon + 1,
ufi.tmu_date.tm_mday );
lMillisec = hb_timeEncode( ufi.tmu_date.tm_hour, ufi.tmu_date.tm_min,
ufi.tmu_date.tm_sec, 0 );