Mercurial > hg > octave-lyh > gnulib-hg
changeset 11242:4a120b892043
More support for FreeMiNT.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 01 Mar 2009 14:59:39 +0100 |
parents | 70919685e7dd |
children | 185ca1cc7308 |
files | ChangeLog lib/fseeko.c |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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.
--- a/lib/fseeko.c +++ b/lib/fseeko.c @@ -117,6 +117,9 @@ 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. */