2005-10-30 18:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* xharbour/source/rdd/sdf1.c
    * cleaned BCC warning
  * xharbour/source/rdd/delim1.c
    ! fixed BCC compilation (string initialization with dynamic
      values is forbidden by BCC)
This commit is contained in:
Przemyslaw Czerpak
2006-05-30 16:23:45 +00:00
parent 268c9d28dc
commit f7b754f74b
3 changed files with 14 additions and 3 deletions

View File

@@ -8,6 +8,13 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2005-10-30 18:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* xharbour/source/rdd/sdf1.c
* xharbour/source/rdd/delim1.c
* harbour/source/rdd/dbcmd.c
* Sinchronised version with harbour/include/hbver.h
2006-05-31 13:45 UTC+0200 Tomaz Zupan (tomaz.zupan at orpo.si)
* harbour.spec
* Added Mandriva to recognised distros

View File

@@ -902,7 +902,9 @@ static ERRCODE hb_delimInfo( DELIMAREAP pArea, USHORT uiIndex, PHB_ITEM pItem )
case DBI_GETDELIMITER:
{
char szDelim[ 2 ] = { pArea->cDelim, '\0' };
char szDelim[ 2 ];
szDelim[ 0 ] = pArea->cDelim;
szDelim[ 1 ] = '\0';
hb_itemPutC( pItem, szDelim );
break;
}
@@ -923,8 +925,10 @@ static ERRCODE hb_delimInfo( DELIMAREAP pArea, USHORT uiIndex, PHB_ITEM pItem )
case DBI_SEPARATOR:
{
char szSeparator[ 2 ] = { pArea->cSeparator, '\0' };
char szSeparator[ 2 ];
char * szNew = hb_itemGetCPtr( pItem );
szSeparator[ 0 ] = pArea->cSeparator;
szSeparator[ 1 ] = '\0';
if( *szNew )
pArea->cSeparator = *szNew;
hb_itemPutC( pItem, szSeparator );

View File

@@ -920,7 +920,7 @@ static ERRCODE hb_sdfClose( SDFAREAP pArea )
*/
static ERRCODE hb_sdfCreate( SDFAREAP pArea, LPDBOPENINFO pCreateInfo )
{
ERRCODE errCode = SUCCESS;
ERRCODE errCode;
PHB_FNAME pFileName;
PHB_ITEM pError = NULL;
BOOL fRetry;