aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stdlib/paths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdlib/paths.c b/src/stdlib/paths.c
index 7a4df182..cf0eb049 100644
--- a/src/stdlib/paths.c
+++ b/src/stdlib/paths.c
@@ -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");