1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

20412, tweaked: Make test builtin more POSIX compatible

20435: Make pattern.c not alter strings.
This commit is contained in:
Peter Stephenson 2004-10-05 10:39:41 +00:00
parent 684da738b0
commit 46141be5f9
7 changed files with 198 additions and 90 deletions

View file

@ -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 */