summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/glob.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9aa28d6a1..8332b2434 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-18  Peter Stephenson  <pws@csr.com>
+
+	* 21661: Src/glob.c: variable in 21655 shouldn't be static.
+
 2005-08-18  Peter Stephenson  <pws@pwstephenson.fsnet.co.uk>
 
 	* 21655: Src/glob.c, Test/D04parameter.ztst: replacing multiple
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)