2001-03-24 23:07 GMT-3 Horacio Roldan <horacioroldan@usa.net>
* harbour/source/rdd/dbf1.c
* fixed bug handling drive letter in opening memo file
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2001-03-24 23:07 GMT-3 Horacio Roldan <horacioroldan@usa.net>
|
||||
* harbour/source/rdd/dbf1.c
|
||||
* fixed bug handling drive letter in opening memo file
|
||||
|
||||
2001-03-24 02:20 UTC-0800 Ron Pinkas <ron@profit-master.com>
|
||||
* source/compiler/simplex.c
|
||||
* Minor fix for VC++
|
||||
|
||||
@@ -1555,10 +1555,7 @@ ERRCODE hb_dbfCreate( DBFAREAP pArea, LPDBOPENINFO pCreateInfo )
|
||||
{
|
||||
pArea->szMemoFileName = ( char * ) hb_xgrab( _POSIX_PATH_MAX + 1 );
|
||||
pFileName = hb_fsFNameSplit( ( char * ) pCreateInfo->abName );
|
||||
if( pFileName->szDrive )
|
||||
strcpy( pArea->szMemoFileName, pFileName->szDrive );
|
||||
else
|
||||
pArea->szMemoFileName[ 0 ] = 0;
|
||||
pArea->szMemoFileName[ 0 ] = 0;
|
||||
if( pFileName->szPath )
|
||||
strcat( pArea->szMemoFileName, pFileName->szPath );
|
||||
strcat( pArea->szMemoFileName, pFileName->szName );
|
||||
@@ -1714,10 +1711,7 @@ ERRCODE hb_dbfOpen( DBFAREAP pArea, LPDBOPENINFO pOpenInfo )
|
||||
pFileExt = hb_itemPutC( NULL, "" );
|
||||
SELF_INFO( ( AREAP ) pArea, DBI_MEMOEXT, pFileExt );
|
||||
szFileName = ( char * ) hb_xgrab( _POSIX_PATH_MAX + 1 );
|
||||
if( pFileName->szDrive )
|
||||
strcpy( szFileName, pFileName->szDrive );
|
||||
else
|
||||
szFileName[ 0 ] = 0;
|
||||
szFileName[ 0 ] = 0;
|
||||
if( pFileName->szPath )
|
||||
strcat( szFileName, pFileName->szPath );
|
||||
strcat( szFileName, pFileName->szName );
|
||||
@@ -2523,4 +2517,4 @@ HB_FUNC( DBF_GETFUNCTABLE )
|
||||
hb_retni( hb_rddInherit( pTable, &dbfTable, &dbfSuper, 0 ) );
|
||||
else
|
||||
hb_retni( FAILURE );
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user