2008-07-30 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/dirrec.prg
! initialize cAttr parameter
* harbour/contrib/hbmzip/ioapi.c
* use hb_fopen() instead of fopen() to respect filename conversions:
_SET_FILECASE, _SET_DIRCASE, _SET_DIRSEPARATOR, _SET_TRIMFILENAME
This commit is contained in:
@@ -8,6 +8,14 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-07-30 11:16 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/xhb/dirrec.prg
|
||||
! initialize cAttr parameter
|
||||
|
||||
* harbour/contrib/hbmzip/ioapi.c
|
||||
* use hb_fopen() instead of fopen() to respect filename conversions:
|
||||
_SET_FILECASE, _SET_DIRCASE, _SET_DIRSEPARATOR, _SET_TRIMFILENAME
|
||||
|
||||
2008-07-30 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/gtwvt/gtwvt.c
|
||||
! Fixed one MSVC 64 bit warning.
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "hbapifs.h"
|
||||
#include "hbzlib.h"
|
||||
#include "ioapi.h"
|
||||
|
||||
@@ -85,7 +86,7 @@ voidpf ZCALLBACK fopen_file_func (
|
||||
mode_fopen = "wb";
|
||||
|
||||
if ((filename!=NULL) && (mode_fopen != NULL))
|
||||
file = fopen(filename, mode_fopen);
|
||||
file = hb_fopen(filename, mode_fopen);
|
||||
return file;
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,9 @@ FUNCTION DirectoryRecurse( cPath, cAttr )
|
||||
|
||||
hb_FNameSplit( cPath, @cFilePath, @cMask, @cExt )
|
||||
cMask += cExt
|
||||
|
||||
IF !ValType( cAttr ) == "C"
|
||||
cAttr := ""
|
||||
ENDIF
|
||||
/* The trick with StrTran() below if for strict xHarbour
|
||||
* compatibility though it should be reverted when it will
|
||||
* be fixed in xHarbour
|
||||
|
||||
Reference in New Issue
Block a user