diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-18 10:17:47 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-08-18 10:17:47 +0000 |
commit | d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2 (patch) | |
tree | 9c39ffa13a4400b1ed1c036ff453bbb11c274664 | |
parent | b0ca393c4729decf4c74c23613827eb65333b898 (diff) | |
download | zsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.tar.gz zsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.tar.xz zsh-d551b0f483fbf7cb775c0ec2b65f6a3b5b1294c2.zip |
21661: fix glob bug introduced in 21655
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Src/glob.c | 2 |
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) |