Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!nsisrv!Pt!postmaster@hq.af.mil!rick From: rick@postmaster@hq.af.mil (Rick Weldon) Newsgroups: comp.unix.bsd Subject: Re: strtod.c -- Where's the source Luke? (Original poster) Message-ID: <9721@hq.hq.af.mil> Date: 24 Sep 92 14:43:19 GMT Sender: news@Pt.hq.af.mil Reply-To: rick@hq.af.mil Organization: 7TH Communications Group Lines: 33 In article <1992Sep18.222250.15477@serval.net.wsu.edu>, you write: |> In article <1992Sep18.154311.20396@qualcomm.com>, karn@servo.qualcomm.com (Phil Karn) writes: |> |> In article <DJM.92Sep15104153@frob.eng.umd.edu> djm@eng.umd.edu (David J. MacKenzie) writes: |> |> >You can get strtod.c from the GNU shellutils 1.7, but when I tried |> |> >compiling it on 386BSD 0.1, gcc died from some internal error, with |> |> >signal 6 I think. I didn't try to figure out what it was about the |> |> >file that tickled the compiler bug; I just gave up. |> |> |> |> The only free strtod () which I know work are the one in libg++/iostream/dtoa.C |> in libg++.a 2.2 and the one hacked by me. Any other free ones are just toys. |> H.J. I posted the original article on the strtod.c -- Where's the source Luke? -- question. I was working on porting tcl and expect to 386BSD when I ran into the strtod problem. Come to find out a version of strtod.c is supplied with tcl in the compat subdir in the source tree. I found that it compiled without a problem. I didn't add it to stdlib because I was told that it was a workaround. I simply generated the .o and linked it in. Now I'm curious as to why stdlib/strtod.c was not included with the 386BSD source distribution. Was it an oversight perhaps? I noticed that the man page is there but no source. If this is the case does anyone know where to get the "real" strtod.c? BTW expect and tcl work very well. The tweaks to get it up were trivial. The only thing I noticed was that it choked on some of the math tests when I ran the test programs against it. -- Rick Weldon I-NET Inc. (Pentagon, 7TH Com Group) E-mail: rick@hq.af.mil Phone: 703-695-5060