2008-09-03 15:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
! Some fixes to prev.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-09-03 15:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbziparch/hbziparc.c
|
||||
* contrib/hbziparch/hbzipnew.cpp
|
||||
! Some fixes to prev.
|
||||
|
||||
2008-09-03 12:34 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbziparch/hbziparc.c
|
||||
* contrib/hbziparch/hbzipnew.cpp
|
||||
|
||||
@@ -739,7 +739,7 @@ static void hb_procexistingzip( BOOL bUnzip )
|
||||
if( ISCHAR( 1 ) )
|
||||
{
|
||||
char * pszZipFileName = hb_FNAddZipExt( hb_parc( 1 ) );
|
||||
PHB_ITEM pParamFiles = hb_param( 6, HB_IT_STRING | HB_IT_NUMERIC | HB_IT_ARRAY );
|
||||
PHB_ITEM pParamFiles = hb_param( bUnzip ? 6 : 2, HB_IT_STRING | HB_IT_NUMERIC | HB_IT_ARRAY );
|
||||
PHB_ITEM pProcFiles = hb_itemArrayNew( 0 );
|
||||
|
||||
if( pParamFiles )
|
||||
|
||||
@@ -333,18 +333,13 @@ PHB_ITEM hb_GetFileNamesFromZip( char * szFile, BOOL bVerbose )
|
||||
|
||||
if( iRatio < 0 )
|
||||
iRatio = 0;
|
||||
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_LENGTH , fh.m_uUncomprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_SIZE , fh.m_uComprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_RATIO , iRatio );
|
||||
}
|
||||
else
|
||||
{
|
||||
iRatio = 0;
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_LENGTH , fh.m_uUncomprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_SIZE , fh.m_uComprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_RATIO , iRatio );
|
||||
}
|
||||
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_LENGTH , fh.m_uUncomprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_SIZE , fh.m_uComprSize );
|
||||
hb_arraySetNL( pTempArray, HBZA_FI_RATIO , iRatio );
|
||||
|
||||
{
|
||||
DWORD uAttr = fh.GetSystemAttr();
|
||||
|
||||
Reference in New Issue
Block a user