See changelog 2001-05-20 13:35 GMT -3
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2001-05-20 13:35 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>
|
||||
|
||||
*contrib/hbzlib/zip.c
|
||||
*Fixed an small bug on hb_zipfilebytdspan()
|
||||
contrib/hbzlib/doc/zipnew.txt
|
||||
*Updated the doc to reflect the change
|
||||
|
||||
2001-05-19 19:00 GMT -3 Luiz Rafael Culik <culik@sl.conex.net>
|
||||
+contrib/hbzlib/hbzip2.h
|
||||
*include files need by the library
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
* Create a zip file
|
||||
* $SYNTAX$
|
||||
* HB_ZIPFILEBYTDSPAN()( <cFile> , <cFileToCompress> | <aFiles>, <nLevel> ,
|
||||
* <bBlock>,<lOverWrite> ,<cPassword>,<iSize>,<lWithPath>) ---> lCompress
|
||||
* <bBlock>,<lOverWrite> ,<cPassword>,<iSize>,<lWithPath>,<lWithDrive>) ---> lCompress
|
||||
* $ARGUMENTS$
|
||||
* <cFile> Name of the zip file
|
||||
*
|
||||
@@ -230,7 +230,7 @@
|
||||
*
|
||||
* <cPassword> Password to encrypt the files
|
||||
*
|
||||
* <iSize> Size of the archive
|
||||
* <iSize> Size of the archive, in bytes,default is 1457664 bytes
|
||||
*
|
||||
* <lWithPath> Toggle to store the path or not
|
||||
*
|
||||
@@ -304,7 +304,7 @@
|
||||
* Create a zip file on removable media
|
||||
* $SYNTAX$
|
||||
* HB_ZIPFILEBYPKSPAN( <cFile> , <cFileToCompress> | <aFiles>, <nLevel> ,
|
||||
* <bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>) ---> lCompress
|
||||
* <bBlock>,<lOverWrite> ,<cPassword>,<lWithPath>,<lWithDrive>) ---> lCompress
|
||||
* $ARGUMENTS$
|
||||
* <cFile> Name of the zip file
|
||||
*
|
||||
|
||||
@@ -105,13 +105,13 @@ HB_FUNC(HB_ZIPFILEBYTDSPAN)
|
||||
if( ISCHAR(1) && ISCHAR(2)) {
|
||||
char szFile[_POSIX_PATH_MAX];
|
||||
strcpy(szFile,hb_parc(1));
|
||||
hb_retl(hb_CmpTdSpanStd(hb___CheckFile(szFile),hb_parc(2),ISNUM(3) ? hb_parni(3) : (-1),hb_param( 4, HB_IT_BLOCK) ,ISLOG(5) ? hb_parl(5) : 0, hb_parc(6),hb_param( 7,HB_IT_BLOCK),ISNUM(8) ? hb_parni(8) : NULL,ISLOG(9) ? hb_parl(9) : 0,ISLOG(10) ? hb_parl(10) : 0));
|
||||
hb_retl(hb_CmpTdSpanStd(hb___CheckFile(szFile),hb_parc(2),ISNUM(3) ? hb_parni(3) : (-1),hb_param( 4, HB_IT_BLOCK) ,ISLOG(5) ? hb_parl(5) : 0, hb_parc(6),hb_param( 7,HB_IT_BLOCK),ISNUM(8) ? hb_parni(8) : 0,ISLOG(9) ? hb_parl(9) : 0,ISLOG(10) ? hb_parl(10) : 0));
|
||||
}
|
||||
|
||||
if(ISCHAR(1) && ISARRAY(2)) {
|
||||
char szFile[_POSIX_PATH_MAX];
|
||||
strcpy(szFile,hb_parc(1));
|
||||
hb_retl(hb_CmpTdSpan(hb___CheckFile(szFile),hb_param( 2, HB_IT_ARRAY ),ISNUM(3) ? hb_parni(3) : (-1) ,hb_param( 4,HB_IT_BLOCK),ISLOG(5) ? hb_parl(5) : 0 ,hb_parc(6) ,hb_param( 7,HB_IT_BLOCK),ISNUM(8) ? hb_parni(8) : NULL,ISLOG(9) ? hb_parl(9) : 0,ISLOG(10) ? hb_parl(10) : 0));
|
||||
hb_retl(hb_CmpTdSpan(hb___CheckFile(szFile),hb_param( 2, HB_IT_ARRAY ),ISNUM(3) ? hb_parni(3) : (-1) ,hb_param( 4,HB_IT_BLOCK),ISLOG(5) ? hb_parl(5) : 0 ,hb_parc(6) ,hb_param( 7,HB_IT_BLOCK),ISNUM(8) ? hb_parni(8) : 0,ISLOG(9) ? hb_parl(9) : 0,ISLOG(10) ? hb_parl(10) : 0));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user