Re: [9fans] ape strtod crash

2009-07-30 Thread erik quanstrom
!> ; echo 421567849e316 | awk '{print}' > 421567849e316 > ; 9fs sources > ; ; echo 421567849e316 | /n/sources/plan9/386/bin/awk '{print}' > /n/sources/plan9/386/bin/awk: floating point exception 6 > source line 1 - erik

Re: [9fans] ape strtod crash

2009-07-30 Thread erik quanstrom
On Thu Jul 30 08:18:45 EDT 2009, rogpe...@gmail.com wrote: > 2009/7/30 erik quanstrom : > > fixed, > > > > http://9fans.net/archive/2009/01/234 > > ok, thanks, i had a very vague memory of this, but obviously > my googling was inadequate. > > did you submit a patch? i can't see one. > i will if n

Re: [9fans] ape strtod crash

2009-07-30 Thread roger peppe
2009/7/30 erik quanstrom : > fixed, > > http://9fans.net/archive/2009/01/234 ok, thanks, i had a very vague memory of this, but obviously my googling was inadequate. did you submit a patch? i can't see one. i will if not - it's an annoying error. (and, as you say, why not just use the usual strt

Re: [9fans] ape strtod crash

2009-07-30 Thread erik quanstrom
On Thu Jul 30 04:42:29 EDT 2009, rogpe...@gmail.com wrote: > this ape program gives a floating point exception error: > > #include > void > main(){ > strtod("421567849e316", 0); > } > > this made awk crash when i was running dumpvacroots. > it dies at /sys/src/ape/lib/ap/stdio/strtod.c:473

[9fans] ape strtod crash

2009-07-30 Thread roger peppe
this ape program gives a floating point exception error: #include void main(){ strtod("421567849e316", 0); } this made awk crash when i was running dumpvacroots. it dies at /sys/src/ape/lib/ap/stdio/strtod.c:473 but it looks a bit involved for me to dive into right now, i'm afraid.