Hmm, interesting, I would expect errno to be reset by strtod (or any other function that relies on it to signal an error).

I pushed a patch to reset the errno. There could be another check to see if the second parameter is going to be the same as the first, but I thought the errno reset is simpler and good also for the other strtoX functions in that loop.

Re-open if you test and there are still some troubles.


Reply to this email directly or view it on GitHub.