Remove GLOB_PERIOD from ddio_FindFileStart

GLOB_PERIOD is a GNU extension and is not supported on non-glibc
This commit is contained in:
Chris Sarbora
2024-06-22 11:05:59 -05:00
parent fa3f379e41
commit 652ef55f9a

View File

@@ -393,7 +393,7 @@ bool ddio_FindFileStart(const char *wildcard, char *namebuf) {
return false;
#else
int rc, flags;
flags = GLOB_MARK | GLOB_PERIOD | GLOB_TILDE;
flags = GLOB_MARK | GLOB_TILDE;
rc = glob(wildcard, flags, globerrfn, &ffres);
if (rc == GLOB_NOSPACE) {
mprintf(0, "Out of space during glob\n");