bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #6758] Add support for Atari FreeMiNT OS


From: Bruno Haible
Subject: Re: [patch #6758] Add support for Atari FreeMiNT OS
Date: Sun, 1 Mar 2009 02:21:38 +0100
User-agent: KMail/1.9.9

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

[Prev in Thread] Current Thread [Next in Thread]