diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 04e69e4eff..2fb139f881 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,10 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + +2002-01-14 19:15 UTC-0500 David G. Holm + * contrib/libct/files.c + ! RSXNT fixes. * contrib/libct/keyset.c ! DOS BCC fixes. * contrib/libgt/Makefile diff --git a/harbour/source/common/hbffind.c b/harbour/source/common/hbffind.c index b3b1f20409..c8ceb0597d 100644 --- a/harbour/source/common/hbffind.c +++ b/harbour/source/common/hbffind.c @@ -609,7 +609,9 @@ PHB_FFIND hb_fsFindFirst( const char * pszFileName, USHORT uiAttr ) while( FindNextFile( info->hFindFile, &info->pFindFileData ) ) { - if( info->dwAttr == 0 || ( info->dwAttr & info->pFindFileData.dwFileAttributes ) || ( info->pFindFileData.dwFileAttributes == 0 ) ) + if( info->dwAttr == 0 || + ( info->pFindFileData.dwFileAttributes == 0x80 ) || + ( info->dwAttr & info->pFindFileData.dwFileAttributes ) ) { bFound = TRUE; break; diff --git a/harbour/source/rtl/direct.c b/harbour/source/rtl/direct.c index ed97930bcf..cd43c9431d 100644 --- a/harbour/source/rtl/direct.c +++ b/harbour/source/rtl/direct.c @@ -66,14 +66,8 @@ * The returned file list will always include (for instance) 'R'eadOnly files * unless they also happen to be 'H'idden and that attribute was not requested. * - * The exception is Directory entries - these will always be excluded - * even if they have the requested bit set. (Unless of course, you request "D" - * as an attribute as well) - * - * The only valid characters that can be passed as an attribute request then, - * are any of "DHSV". Anything else is already implied, so it is ignored. "V" - * is a special case - you will get back the entry that describes the volume - * label for the drive implied by the filemask. + * "V" is a special case - you will get back the entry that describes the + * volume label for the drive implied by the filemask. * * Differences from the 'standard': * - Where supported, filenames will be returned in the same case as they