2002-09-09 16:48 UTC+0300 Chen Kedem <niki@actcom.co.il>

This commit is contained in:
Chen Kedem
2002-09-09 13:48:33 +00:00
parent 30284d3e2c
commit cf67f77333
2 changed files with 8 additions and 3 deletions

View File

@@ -8,6 +8,12 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-09-09 16:48 UTC+0300 Chen Kedem <niki@actcom.co.il>
* source/common/hbffind.c
- Remove redundant line which used FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
from hb_fsAttToRaw(). The next line already use the explicit
value 0x00002000. Now Harbour complie with Borland BCB 3.0
2002-09-09 14:25 UTC+0100 Tomaz Zupan <tomaz.zupan@orpo.si>
* contrib/odbc/todbc.prg
+ Added recordset caching.

View File

@@ -251,8 +251,7 @@ ULONG hb_fsAttrToRaw( USHORT uiAttr )
if( uiAttr & HB_FA_REPARSE ) raw_attr |= FILE_ATTRIBUTE_REPARSE_POINT;
if( uiAttr & HB_FA_COMPRESSED ) raw_attr |= FILE_ATTRIBUTE_COMPRESSED;
if( uiAttr & HB_FA_OFFLINE ) raw_attr |= FILE_ATTRIBUTE_OFFLINE;
if( uiAttr & HB_FA_NOTINDEXED ) raw_attr |= FILE_ATTRIBUTE_NOT_CONTENT_INDEXED;
if( uiAttr & HB_FA_NOTINDEXED ) raw_attr |= 0x00002000; /* FILE_ATTRIBUTE_NOT_CONTENT_INDEXED */
if( uiAttr & HB_FA_NOTINDEXED ) raw_attr |= 0x00002000; /* FILE_ATTRIBUTE_NOT_CONTENT_INDEXED not defined in some older winnt.h */
if( uiAttr & HB_FA_VOLCOMP ) raw_attr |= 0x00008000;
#endif
@@ -666,7 +665,7 @@ PHB_FFIND hb_fsFindFirst( const char * pszFileName, USHORT uiAttr )
strcpy( info->pattern, string );
strcpy( dirname, ".X" );
dirname[ 1 ] = OS_PATH_DELIMITER;
dirname[ 2 ] = '\0';
dirname[ 2 ] = '\0';
}
}
if( !*info->pattern )