mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-30 19:20:53 +02:00
23553: bit missed out
This commit is contained in:
parent
6f7667ba8c
commit
536a8cb6da
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
2007-06-15 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 23553: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Src/exec.c,
|
||||
Src/math.c: should have been committed but wasn't.
|
||||
Src/math.c: should have been committed but weren't.
|
||||
|
||||
2007-06-14 Peter Stephenson <pws@csr.com>
|
||||
|
||||
|
|
|
@ -3662,7 +3662,10 @@ execarith(Estate state, UNUSED(int do_exec))
|
|||
fprintf(xtrerr, " ))\n");
|
||||
fflush(xtrerr);
|
||||
}
|
||||
errflag = 0;
|
||||
if (errflag) {
|
||||
errflag = 0;
|
||||
return 2;
|
||||
}
|
||||
/* should test for fabs(val.u.d) < epsilon? */
|
||||
return (val.type == MN_INTEGER) ? val.u.l == 0 : val.u.d == 0.0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue