2002-01-14 15:05 UTC-0500 Paul Tucker <ptucker@sympatico.ca>

* source\common\hbffind.c
    * Added missed Attribute check (thanks Victor)

2002-01-14 14:30 UTC-0500 Paul Tucker <ptucker@sympatico.ca>
  * source\rtl\direct.c
    * updated notes and TODO's
This commit is contained in:
Paul Tucker
2002-01-14 20:11:43 +00:00
parent d4af55e67e
commit 42aaa00949
3 changed files with 9 additions and 9 deletions

View File

@@ -7,6 +7,10 @@
For example:
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-01-14 19:15 UTC-0500 David G. Holm <dholm@jsd-llc.com>
* contrib/libct/files.c
! RSXNT fixes.
* contrib/libct/keyset.c
! DOS BCC fixes.
* contrib/libgt/Makefile

View File

@@ -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;

View File

@@ -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