From a596216b49f897ae4590a4b455e1fe0b33ddcbd5 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Mon, 31 Aug 2009 20:09:46 +0000 Subject: [PATCH] 2009-08-31 22:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rdd/sdf1.c * harbour/source/rdd/delim1.c * harbour/source/rdd/dbf1.c ! fixed typo in recent modification --- harbour/ChangeLog | 6 ++++++ harbour/source/rdd/dbf1.c | 2 ++ harbour/source/rdd/delim1.c | 2 ++ harbour/source/rdd/sdf1.c | 2 ++ 4 files changed, 12 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 78cefdcaaf..9c70038f4e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-08-31 22:09 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rdd/sdf1.c + * harbour/source/rdd/delim1.c + * harbour/source/rdd/dbf1.c + ! fixed typo in recent modification + 2009-08-31 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/config/dos/djgpp.mk ! added watt library to linked library list when TCP support is diff --git a/harbour/source/rdd/dbf1.c b/harbour/source/rdd/dbf1.c index c662d88e69..470b415d52 100644 --- a/harbour/source/rdd/dbf1.c +++ b/harbour/source/rdd/dbf1.c @@ -3834,6 +3834,8 @@ static HB_ERRCODE hb_dbfOpen( DBFAREAP pArea, LPDBOPENINFO pOpenInfo ) const char * szName = strrchr( pFileName->szName, ':' ); if( szName == NULL ) szName = pFileName->szName; + else + ++szName; hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 ); pOpenInfo->atomAlias = szAlias; } diff --git a/harbour/source/rdd/delim1.c b/harbour/source/rdd/delim1.c index 7ffde1a424..fce67d9d6b 100644 --- a/harbour/source/rdd/delim1.c +++ b/harbour/source/rdd/delim1.c @@ -1382,6 +1382,8 @@ static HB_ERRCODE hb_delimOpen( DELIMAREAP pArea, LPDBOPENINFO pOpenInfo ) const char * szName = strrchr( pFileName->szName, ':' ); if( szName == NULL ) szName = pFileName->szName; + else + ++szName; hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 ); pOpenInfo->atomAlias = szAlias; } diff --git a/harbour/source/rdd/sdf1.c b/harbour/source/rdd/sdf1.c index b97838bb9e..15ff37cd57 100644 --- a/harbour/source/rdd/sdf1.c +++ b/harbour/source/rdd/sdf1.c @@ -1116,6 +1116,8 @@ static HB_ERRCODE hb_sdfOpen( SDFAREAP pArea, LPDBOPENINFO pOpenInfo ) const char * szName = strrchr( pFileName->szName, ':' ); if( szName == NULL ) szName = pFileName->szName; + else + ++szName; hb_strncpyUpperTrim( szAlias, szName, sizeof( szAlias ) - 1 ); pOpenInfo->atomAlias = szAlias; }