Alan Hourihane wrote:
> > > > --- lib/fflush.c.orig   2009-02-28 21:09:16.000000000 +0100
> > > > +++ lib/fflush.c        2009-02-28 21:01:40.000000000 +0100
> > > > @@ -63,6 +63,12 @@
> > > >      }
> > > >  # elif defined _IOERR               /* AIX, HP-UX, IRIX, OSF/1, 
> > > > Solaris, OpenServer, mingw */
> > > >    /* Nothing to do.  */
> > > > +# elif defined __MINT__             /* Atari FreeMiNT */
> > > > +  if (fp->__pushed_back)
> > > > +    {
> > > > +      fp->__bufp = fp->__pushback_bufp;
> > > > +      fp->__pushed_back = 0;
> > > > +    }
> This breaks the test. If I remove this code above, the tests pass.

OK, I remove it. It was meant as an optimization over fseek(fp,0,SEEK_CUR).
But if it's not correct, better take it out.

Bruno


Reply via email to