2016-04-19 23:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/common/hbffind.c
    * in *nix builds of hb_fsFind*() show "." leading file names if file
      mask also starts with "." regardless of hidden attribute state.
      This modification restores previous Harbour behavior keeping the
      new functionality.
This commit is contained in:
Przemysław Czerpak
2016-04-19 23:14:29 +02:00
parent 7d513fad62
commit 14fca14788
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,13 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2016-04-19 23:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/common/hbffind.c
* in *nix builds of hb_fsFind*() show "." leading file names if file
mask also starts with "." regardless of hidden attribute state.
This modification restores previous Harbour behavior keeping the
new functionality.
2016-04-19 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/gtwin/gtwin.c
! fixed wrong translation in my previous commit

View File

@@ -753,6 +753,8 @@ static HB_BOOL hb_fsFindNextLow( PHB_FFIND ffind )
dirname[ 1 ] = HB_OS_PATH_DELIM_CHR;
dirname[ 2 ] = '\0';
}
if( info->pattern[ 0 ] == '.' )
ffind->attrmask |= HB_FA_HIDDEN;
/* tzset(); */