about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/glob.c')
-rw-r--r--Src/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c
index 0c836bd7d..93d5e3312 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -2228,7 +2228,7 @@ igetmatch(char **sp, Patprog p, int fl, int n, char *replstr)
      * ${...//#foo/bar} even though SUB_GLOBAL is set, since the match
      * is anchored.  It goes on the heap.
      */
-    static LinkList repllist = NULL;
+    LinkList repllist = NULL;
 
     /* perform must-match test for complex closures */
     if (p->mustoff)