about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-08-18 10:17:47 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-08-18 10:17:47 +0000
commitd551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2 (patch)
tree9c39ffa13a4400b1ed1c036ff453bbb11c274664 /Src
parentb0ca393c4729decf4c74c23613827eb65333b898 (diff)
downloadzsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.tar.gz
zsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.tar.xz
zsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.zip
21661: fix glob bug introduced in 21655
Diffstat (limited to 'Src')
-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)