Remove GLOB_TILDE_CHECK for compatiblity

This commit is contained in:
Bruce Hill 2025-03-28 14:00:14 -04:00
parent c70b11f01e
commit af286f7e6f

View File

@ -694,7 +694,7 @@ public OptionalClosure_t Path$by_line(Path_t path)
public Array_t Path$glob(Path_t path)
{
glob_t glob_result;
int status = glob(Path$as_c_string(path), GLOB_BRACE | GLOB_TILDE | GLOB_TILDE_CHECK, NULL, &glob_result);
int status = glob(Path$as_c_string(path), GLOB_BRACE | GLOB_TILDE, NULL, &glob_result);
if (status != 0 && status != GLOB_NOMATCH)
fail("Failed to perform globbing");