2008-10-28 10:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/copyfile.c
! Fixed hb_fsCopy() name collision with static function.
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-10-28 10:42 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* source/rtl/copyfile.c
|
||||
! Fixed hb_fsCopy() name collision with static function.
|
||||
|
||||
2008-10-28 10:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbxvm.h
|
||||
* harbour/source/vm/hvm.c
|
||||
|
||||
@@ -61,12 +61,12 @@
|
||||
|
||||
#define BUFFER_SIZE 8192
|
||||
|
||||
static BOOL hb_fsCopy( char * szSource, char * szDest )
|
||||
static BOOL hb_copyfile( char * szSource, char * szDest )
|
||||
{
|
||||
BOOL bRetVal = FALSE;
|
||||
HB_FHANDLE fhndSource;
|
||||
|
||||
HB_TRACE(HB_TR_DEBUG, ("hb_fsCopy(%s, %s)", szSource, szDest));
|
||||
HB_TRACE(HB_TR_DEBUG, ("hb_copyfile(%s, %s)", szSource, szDest));
|
||||
|
||||
while( ( fhndSource = hb_spOpen( ( BYTE * ) szSource, FO_READ | FO_SHARED | FO_PRIVATE ) ) == FS_ERROR )
|
||||
{
|
||||
@@ -137,7 +137,7 @@ HB_FUNC( __COPYFILE )
|
||||
{
|
||||
if( ISCHAR( 1 ) && ISCHAR( 2 ) )
|
||||
{
|
||||
if( ! hb_fsCopy( hb_parc( 1 ), hb_parc( 2 ) ) )
|
||||
if( ! hb_copyfile( hb_parc( 1 ), hb_parc( 2 ) ) )
|
||||
hb_retl( FALSE );
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user