mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
23553: bit missed out
This commit is contained in:
parent
6f7667ba8c
commit
536a8cb6da
2 changed files with 5 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue