From d177e890b607bc18f2850ea2b2aa27db14f05d50 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 8 Oct 2001 08:14:10 +0000 Subject: 15965: glob -> zglob --- Src/exec.c | 2 +- Src/glob.c | 2 +- Src/subst.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Src') diff --git a/Src/exec.c b/Src/exec.c index fda120d32..4f2916eec 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1755,7 +1755,7 @@ execcmd(Estate state, int input, int output, int how, int last1) if (!(cflags & BINF_NOGLOB)) while (!checked && !errflag && args && nonempty(args) && has_token((char *) peekfirst(args))) - glob(args, firstnode(args), 0); + zglob(args, firstnode(args), 0); else if (!unglobbed) { for (node = firstnode(args); node; incnode(node)) untokenize((char *) getdata(node)); diff --git a/Src/glob.c b/Src/glob.c index 2f64434c4..f0fbe2ba1 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -920,7 +920,7 @@ gmatchcmp(Gmatch a, Gmatch b) /**/ void -glob(LinkList list, LinkNode np, int nountok) +zglob(LinkList list, LinkNode np, int nountok) { struct qual *qo, *qn, *ql; LinkNode node = prevnode(np); diff --git a/Src/subst.c b/Src/subst.c index c33302be3..88758aaf3 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -233,7 +233,7 @@ globlist(LinkList list, int nountok) badcshglob = 0; for (node = firstnode(list); !errflag && node; node = next) { next = nextnode(node); - glob(list, node, nountok); + zglob(list, node, nountok); } if (badcshglob == 1) zerr("no match", NULL, 0); -- cgit 1.4.1