2009-08-31 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbf1.c
* harbour/source/rdd/sdf1.c
* harbour/source/rdd/delim1.c
* minor extension in default alias settings
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-08-31 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/rdd/dbf1.c
|
||||
* harbour/source/rdd/sdf1.c
|
||||
* harbour/source/rdd/delim1.c
|
||||
* minor extension in default alias settings
|
||||
|
||||
2009-08-30 17:30 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* contrib/hbqt/hbqt_slots.cpp
|
||||
! Completely reworked events management. It now supports multi-threads.
|
||||
|
||||
@@ -3831,7 +3831,10 @@ static HB_ERRCODE hb_dbfOpen( DBFAREAP pArea, LPDBOPENINFO pOpenInfo )
|
||||
/* Create default alias if necessary */
|
||||
if( !pOpenInfo->atomAlias && pFileName->szName )
|
||||
{
|
||||
hb_strncpyUpperTrim( szAlias, pFileName->szName, sizeof( szAlias ) - 1 );
|
||||
const char * szName = strrchr( pFileName->szName, ':' );
|
||||
if( szName == NULL )
|
||||
szName = pFileName->szName;
|
||||
hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 );
|
||||
pOpenInfo->atomAlias = szAlias;
|
||||
}
|
||||
hb_xfree( pFileName );
|
||||
|
||||
@@ -1379,7 +1379,10 @@ static HB_ERRCODE hb_delimOpen( DELIMAREAP pArea, LPDBOPENINFO pOpenInfo )
|
||||
/* Create default alias if necessary */
|
||||
if( !pOpenInfo->atomAlias && pFileName->szName )
|
||||
{
|
||||
hb_strncpyUpperTrim( szAlias, pFileName->szName, sizeof( szAlias ) - 1 );
|
||||
const char * szName = strrchr( pFileName->szName, ':' );
|
||||
if( szName == NULL )
|
||||
szName = pFileName->szName;
|
||||
hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 );
|
||||
pOpenInfo->atomAlias = szAlias;
|
||||
}
|
||||
hb_xfree( pFileName );
|
||||
|
||||
@@ -1113,7 +1113,10 @@ static HB_ERRCODE hb_sdfOpen( SDFAREAP pArea, LPDBOPENINFO pOpenInfo )
|
||||
/* Create default alias if necessary */
|
||||
if( !pOpenInfo->atomAlias && pFileName->szName )
|
||||
{
|
||||
hb_strncpyUpperTrim( szAlias, pFileName->szName, sizeof( szAlias ) - 1 );
|
||||
const char * szName = strrchr( pFileName->szName, ':' );
|
||||
if( szName == NULL )
|
||||
szName = pFileName->szName;
|
||||
hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 );
|
||||
pOpenInfo->atomAlias = szAlias;
|
||||
}
|
||||
hb_xfree( pFileName );
|
||||
|
||||
Reference in New Issue
Block a user