diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-10-05 10:39:41 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-10-05 10:39:41 +0000 |
commit | 46141be5f917a47b99c4c3be62c9231ae9afca70 (patch) | |
tree | 2fb5fc3aa156905062ff689272fc012ae3335db3 /Src/builtin.c | |
parent | 684da738b06f27d2736d6f60429f26206dc2ffbc (diff) | |
download | zsh-46141be5f917a47b99c4c3be62c9231ae9afca70.tar.gz zsh-46141be5f917a47b99c4c3be62c9231ae9afca70.tar.xz zsh-46141be5f917a47b99c4c3be62c9231ae9afca70.zip |
20412, tweaked: Make test builtin more POSIX compatible
20435: Make pattern.c not alter strings.
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index 964e701fa..43fe7803a 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -4851,7 +4851,7 @@ bin_test(char *name, char **argv, UNUSED(Options ops), int func) state.strs = prog->strs; - return !evalcond(&state); + return evalcond(&state, name); } /* display a time, provided in units of 1/60s, as minutes and seconds */ |