From a755310d20373ec93a81f2b0cedac9c7369168db Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 29 May 2007 09:27:43 +0000 Subject: Phil Pennock: 23480: typo Also typo in mod_stat.yo --- ChangeLog | 6 ++++++ Doc/Zsh/mod_stat.yo | 2 +- Src/parse.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 427d8ab7d..538c0f0bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-05-29 Peter Stephenson + + * unposted: Doc/Zsh/mod_stat.yo: typo. + + * Phil Pennock: 23480: Src/parse.c: typo in =~ handling. + 2007-05-28 Peter Stephenson * Not posted but see 23479:Completion/Unix/Command/_chmod, diff --git a/Doc/Zsh/mod_stat.yo b/Doc/Zsh/mod_stat.yo index e0fc15abd..eeb196f64 100644 --- a/Doc/Zsh/mod_stat.yo +++ b/Doc/Zsh/mod_stat.yo @@ -11,7 +11,7 @@ cindex(files, examining) xitem(tt(zstat) [ tt(-gnNolLtTrs) ] [ tt(-f) var(fd) ] \ [ tt(-H) var(hash) ] [ tt(-A) var(array) ] \ [ tt(-F) var(fmt) ] [ tt(PLUS())var(element) ] [ var(file) ... ]) -itme(tt(stat) var(...))( +item(tt(stat) var(...))( The command acts as a front end to the tt(stat) system call (see manref(stat)(2)). The same command is provided with two names; as the name tt(stat) is often used by an external command it is recommended diff --git a/Src/parse.c b/Src/parse.c index dd38bfdce..4fc592075 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2125,7 +2125,7 @@ par_cond_triple(char *a, char *b, char *c) ecstr(c); ecadd(ecnpats++); } else if ((b[0] == Equals || b[0] == '=') && - (b[1] == '~' || b[1] == Tilde) && ~b[2]) { + (b[1] == '~' || b[1] == Tilde) && !b[2]) { ecadd(WCB_COND(COND_REGEX, 0)); ecstr(a); ecstr(c); -- cgit 1.4.1