Skip to content

Commit

Permalink
fix for platforms that don't support GLOB_PERIOD
Browse files Browse the repository at this point in the history
  • Loading branch information
ColumPaget committed Apr 15, 2020
1 parent 62c744b commit 4a60bd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ switch (FType)

Tempstr=QuoteCharsInStr(Tempstr, Path, "[]*?");
Tempstr=CatStr(Tempstr,"/*");
#ifdef GLOB_PERIOD
if (Ctx->Flags & CTX_HIDDEN) flags |= GLOB_PERIOD;
#endif
glob(Tempstr,flags,0,&Glob);
for (i=0; i < Glob.gl_pathc; i++)
{
Expand Down

0 comments on commit 4a60bd3

Please sign in to comment.