From: Bruno Haible Date: Sun, 1 Mar 2009 13:59:39 +0000 (+0100) Subject: More support for FreeMiNT. X-Git-Tag: v0.1~6244 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=6f67ee68a0b6865fe62aba6d8aec695da9299fa3;p=gnulib.git More support for FreeMiNT. --- diff --git a/ChangeLog b/ChangeLog index 2f0ba7422..042250bce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,12 @@ 2009-03-01 Bruno Haible More support for FreeMiNT. + * lib/fseeko.c (rpl_fseeko): Complete last commit. + Reported by Alan Hourihane . + +2009-03-01 Bruno Haible + + More support for FreeMiNT. * lib/fpurge.c (fpurge): Correct last commit. Reported by Alan Hourihane . diff --git a/lib/fseeko.c b/lib/fseeko.c index 78e2b2fac..813e6abe7 100644 --- a/lib/fseeko.c +++ b/lib/fseeko.c @@ -117,6 +117,9 @@ rpl_fseeko (FILE *fp, off_t offset, int whence) fp->_flags &= ~_IOEOF; #elif defined _IOERR /* AIX, HP-UX, IRIX, OSF/1, Solaris, OpenServer, mingw */ fp->_flag &= ~_IOEOF; +#elif defined __MINT__ /* Atari FreeMiNT */ + fp->__offset = pos; + fp->__eof = 0; #endif /* If we were not requested to position beyond end of file, we're done. */