2007-09-29 11:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* source/rdd/dbfntx/dbfntx1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbf1.c
     + Added support for _SET_DEFEXTENSIONS to RDD.
       (Przemek pls review it. I cannot send you direct mail, because 
       it bounces)
This commit is contained in:
Viktor Szakats
2007-09-29 10:01:33 +00:00
parent e7d97bea27
commit 71d16687eb
4 changed files with 10 additions and 4 deletions

View File

@@ -8,6 +8,12 @@
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2007-09-29 11:50 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/dbf1.c
+ Added support for _SET_DEFEXTENSIONS to RDD.
2007-09-28 23:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/dbf1.c
! fixed typo in hb_dbfGetRowVer() reported by Mindaugas, many

View File

@@ -5147,7 +5147,7 @@ static ERRCODE hb_dbfDrop( LPRDDNODE pRDD, PHB_ITEM pItemTable, PHB_ITEM pItemIn
pFileName = hb_fsFNameSplit( szFile );
if( !pFileName->szExtension )
if( hb_set.HB_SET_DEFEXTENSIONS && !pFileName->szExtension )
{
/* Add default extension if missing */
pFileExt = hb_itemPutC( NULL, "" );
@@ -5228,7 +5228,7 @@ static ERRCODE hb_dbfExists( LPRDDNODE pRDD, PHB_ITEM pItemTable, PHB_ITEM pItem
pFileName = hb_fsFNameSplit( szFile );
if( !pFileName->szExtension )
if( hb_set.HB_SET_DEFEXTENSIONS && !pFileName->szExtension )
{
pFileExt = hb_itemPutC( NULL, "" );
if( SELF_RDDINFO( pRDD, fTable ? RDDI_TABLEEXT : RDDI_ORDBAGEXT, 0, pFileExt ) == SUCCESS )

View File

@@ -4867,7 +4867,7 @@ static void hb_cdxCreateFName( CDXAREAP pArea, char * szBagName, BOOL * fProd,
szBaseName[ 0 ] = '\0';
}
if( !pFileName->szExtension || !fName )
if( ( hb_set.HB_SET_DEFEXTENSIONS && !pFileName->szExtension ) || !fName )
{
DBORDERINFO pExtInfo;
memset( &pExtInfo, 0, sizeof( pExtInfo ) );

View File

@@ -3489,7 +3489,7 @@ static void hb_ntxCreateFName( NTXAREAP pArea, char * szBagName, BOOL * fProd,
szTagName[ 0 ] = '\0';
}
if( !pFileName->szExtension || !fName )
if( ( hb_set.HB_SET_DEFEXTENSIONS && !pFileName->szExtension ) || !fName )
{
DBORDERINFO pExtInfo;
memset( &pExtInfo, 0, sizeof( pExtInfo ) );