bug in strtod in SunOS 3.2

Guy Harris guy at gorodish.Sun.COM
Fri Jul 22 09:20:10 AEST 1988


In article <936 at srs.UUCP>, dan at srs.UUCP (Dan Kegel) writes:
> Sun's strtod is supposed to pass a pointer to the first char after the float
> that was parsed, but it seems to think that the terminating null char is
> part of the float.

So do lots of other people's; our "strtod" is the System V Release 2.0 one,
changed only so that it properly decides which machines are IEEE ones.

> Is this 'fixed in 4.0'?

Yes.  Our version is fixed in 4.0; AT&T's is fixed in S5R3, I think, or perhaps
earlier (although the versions now share no common code).



More information about the Comp.unix.wizards mailing list