More support for FreeMiNT.
authorBruno Haible <bruno@clisp.org>
Sun, 1 Mar 2009 13:59:39 +0000 (14:59 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 1 Mar 2009 13:59:39 +0000 (14:59 +0100)
ChangeLog
lib/fseeko.c

index 2f0ba74..042250b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,12 @@
 2009-03-01  Bruno Haible  <bruno@clisp.org>
 
        More support for FreeMiNT.
+       * lib/fseeko.c (rpl_fseeko): Complete last commit.
+       Reported by Alan Hourihane <alanh@fairlite.co.uk>.
+
+2009-03-01  Bruno Haible  <bruno@clisp.org>
+
+       More support for FreeMiNT.
        * lib/fpurge.c (fpurge): Correct last commit.
        Reported by Alan Hourihane <alanh@fairlite.co.uk>.
 
index 78e2b2f..813e6ab 100644 (file)
@@ -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.  */