diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:35:20 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-09-22 12:35:20 +0000 |
commit | d139ae56432a82a3dbe11f4be89ba7d886f2c177 (patch) | |
tree | f2cd4d874fe13fe923490dd69bd92a0fb3314381 /Src/glob.c | |
parent | fdb8d5b45550835c00f40591e6ee5b6f6f6fd868 (diff) | |
download | zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.gz zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.tar.xz zsh-d139ae56432a82a3dbe11f4be89ba7d886f2c177.zip |
zsh-3.1.6-pws-5 zsh-3.1.6-pws-5
Diffstat (limited to 'Src/glob.c')
-rw-r--r-- | Src/glob.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/glob.c b/Src/glob.c index 55cc96a52..07336986d 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -2001,7 +2001,7 @@ getmatcharr(char ***ap, char *pat, int fl, int n, char *replstr) static int igetmatch(char **sp, Patprog p, int fl, int n, char *replstr) { - char *s = *sp, *t, *start, sav; + char *s = *sp, *t, sav; int i, l = strlen(*sp), ml = ztrlen(*sp), matched = 1; MUSTUSEHEAP("igetmatch"); /* presumably covered by prefork() test */ @@ -2210,7 +2210,7 @@ igetmatch(char **sp, Patprog p, int fl, int n, char *replstr) LinkNode nd; Repldata rd; int lleft = 0; /* size of returned string */ - char *ptr; + char *ptr, *start; i = 0; /* start of last chunk we got from *sp */ for (nd = firstnode(repllist); nd; incnode(nd)) { |