Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!apple!fernwood!portal!atari!apratt From: apratt@atari.UUCP (Allan Pratt) Newsgroups: comp.sys.atari.st.tech Subject: Re: bug in GNU library Keywords: stat() bug Message-ID: <2888@atari.UUCP> Date: 1 Apr 91 20:02:48 GMT References: <1991Mar27.152726.8444@doe.utoronto.ca> Organization: Atari Corp., Sunnyvale CA Lines: 23 >In <1991Mar27.030421.587@netcom.COM>, Roy Bixler writes: >> >> I've found a bug (or at least an unintuitive feature :-) ) in the >> library supplied with GNU C 1.37.1 found on atari.archive. When I >> make a call to stat(), after the call, the address returned by >> Fgetdta() is different than it was before the call. Is this a bug? Yes. Every library call which changes something like the DTA address should change it back. Most of them do; this one doesn't. I think it only doesn't under some circumstances, like when the file doesn't exist. david@doe.utoronto.ca (David Megginson) writes: >In general, you might want to switch to Eric Smith's MiNT library. It >is an update and improvement on the standard GCC library, and is >also available on atari.archive. And furthermore it incorporates bugfixes which have percolated into both libraries over the time since the 1.37.1 port for the ST was released. ============================================ Opinions expressed above do not necessarily -- Allan Pratt, Atari Corp. reflect those of Atari Corp. or anyone else. ...ames!atari!apratt