Bug ... in Erlang

Einar Karttunen ekarttun@REDACTED
Wed Jun 18 14:59:17 CEST 2003


On 18.06 14:19, Raimo Niskanen wrote:
> So, list_to_float/1 has been rewritten to use strtod() (previously 
> atof() on Unixish systems and sscanf("%lf",..) on Windows) and check 
> errors on all platforms. Hopefully no more malicious floats.
> 

I have a patch for replacing various sscanf:s with strtod / strtol,
if you are interested. Mainly a cosmetic thing, but should be a 
tiny bit faster too...

ps. if you want it I can send it to the patches list.

- Einar Karttunen



More information about the erlang-questions mailing list