Path: utzoo!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!indetech!daver!bungi.com!news From: sverre@lev.Seri.GOV (Sverre Froyen) Newsgroups: comp.sys.nsc.32k Subject: Re: Yeargh! Estdio is driving me insane! Message-ID: <9103071454.AA11523@lev.seri.gov> Date: 7 Mar 91 14:54:26 GMT References: <<9103061045.AA23278@cs.hut.fi>> Sender: news@daver.bungi.com Lines: 26 Approved: news@daver.bungi.com > >Well, I use libc.a which has all the stdio routines from estdio, >others from Minix libc.a. Then there's ldexp.s and frexp.s from the >Mach group here. No trouble, except that fdopen() or freopen() >doesn't seem to work properly (but that problem was even with the >original Minix libc.a). I haven't looked into that yet. Floating What is the problem with fdopen? The only problem I noticed was that errno would be set to ENOTTY because of a bug (now fixed) in isatty. >I have a merge, although it isn't that much tested - if you test it or >make a better one, feel free. I only took stdio.a and stdiofp.a from >estdio, the Mach group's ldexp & frexp, modf * norm & atof & strtod >from libflt and the rest from Minix libc.a compiled with estdio's The strtod from libflt is off (roundoff) by a couple of bits compared to (the correct) scanf from estdio. I borrowed strtod from libfp and wrote a couple of support routines that I believe give good results. I sent those out as libfp a couple of days ago. Notice that you should reload Bruce's as and also gcc with the new version. -- Sverre Froyen sverre@seri.gov, sunpeaks!seri!sverre