expr bug in V7 and system 3
utzoo!hcr!anton
utzoo!hcr!anton
Wed Nov 10 12:41:03 AEST 1982
There is an arithmetic error in expr(1) which showed up in
V7 and has been inherited in system 3 (what are we paying
these USG guys for ?) .....
Code reads...
long atol(); /* convert ascii to long */
...
...
register i;
.....
i = atol(r1) - atol(r2);
SCREECH ! What if r1 is small and r2 is big ? BANG !
change that register declaration to read long.
---------------------------------------------------
How about a system 3 bugs group on the net ? Are you all
ignoring system 3 and hoping it will go away or something ?
Nice idea, but....
/anton aylward ..decvax!hcr!anton
More information about the Net.bugs
mailing list