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:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user