mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-10 20:00:04 -04:00
Remove GLOB_PERIOD from ddio_FindFileStart
GLOB_PERIOD is a GNU extension and is not supported on non-glibc
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user