Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!pacbell.com!tandem!zorch!vsi1!daver!bungi.com!news From: jkp@sauna.hut.fi (Jyrki Kuoppala) Newsgroups: comp.sys.nsc.32k Subject: Re: Yeargh! Estdio is driving me insane! Message-ID: <9103091606.AA27367@cs.hut.fi> Date: 9 Mar 91 16:06:24 GMT References: <<9103071454.AA11523@lev.seri.gov>> Sender: news@daver.bungi.com Organization: Helsinki University of Technology, Finland. Lines: 26 Approved: news@daver.bungi.com >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 applied the isatty patch, but compress still doesn't seem to work with more than one file. I jumped into a conclusion that the bug is in freopen / fdopen because also GNU tail fails reading from stdin, but I haven't debugged it. Later I found out that the GNU tail problem appears to be fstat() return erraneous information for pipes. So it might be a related or unrelated bug which makes compress fail, not necessarily because of estdio. >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. OK, now I'm using your libfp, with ldexp and frexp replaced with the assembler versions by the Mach group. Any cure yet to the problem of gcc printing ':'-characters ? Is the bug in estdio or modf ? //Jyrki