lib/freadseek.c


Log

Author Commit Date CI Message
Jim Meyering d60f3b0c 2011-01-01T20:17:23 maint: update almost all copyright ranges to include 2011 Run the new "make update-copyright" rule.
Bruno Haible 1a56c64d 2010-12-22T17:37:34 Port extended stdio modules to HP NonStop Kernel. * lib/stdio-impl.h (_IOERR, _IOREAD, _IOWRT, _IORW) [__TANDEM]: New macros. * lib/fbufmode.c: Update comments. * lib/fflush.c: Likewise. * lib/fpurge.c: Likewise. * lib/freadable.c: Likewise. * lib/freadahead.c: Likewise. * lib/freading.c: Likewise. * lib/freadptr.c: Likewise. * lib/freadseek.c: Likewise. * lib/fseeko.c: Likewise. * lib/fseterr.c: Likewise. * lib/fwritable.c: Likewise. * lib/fwriting.c: Likewise. Reported by Joachim Schmitz <jojo@schmitz-digital.de>.
Jim Meyering b2e2010c 2010-01-01T10:31:12 update nearly all FSF copyright year lists to include 2010 Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
Bruno Haible 441aa304 2009-12-10T20:28:30 Use spaces for indentation, not tabs.
Eric Blake 7becd9d7 2009-11-07T16:03:38 fflush, freadseek: use fseeko, not fseek Follow our own advice: fseek is not safe to use on large files. * lib/fflush.c (clear_ungetc_buffer_preserving_position) (clear_ungetc_buffer): Avoid potential problems on large files. * lib/freadseek.c (freadseek): Likewise. * modules/freadseek (Depends-on): Add fseeko. * modules/fseek (configure.ac): Set a witness. * tests/test-fflush.c (main): Use fseeko. * tests/test-fpurge.c (fseek): Disable link warning. * tests/test-freadable.c (fseek): Likewise. * tests/test-freading.c (fseek): Likewise. * tests/test-fseeko.c (fseek): Likewise. * tests/test-ftell.c (fseek): Likewise. * tests/test-ftello.c (fseek): Likewise. * tests/test-fwritable.c (fseek): Likewise. * tests/test-fwriting.c (fseek): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible 81fe603b 2009-02-28T21:24:24 Add tentative support for FreeMiNT.
Bruno Haible a2c5f8d9 2008-11-10T12:37:32 Add support for Haiku.
Bruno Haible a2b445a2 2008-09-06T13:58:21 Add conditional code for SLOW_BUT_NO_HACKS.
Bruno Haible 284866a4 2008-04-26T18:58:00 Add tentative support for DragonFly BSD.
Bruno Haible 569eba62 2008-04-26T18:12:05 New private include file lib/stdio-impl.h.
Bruno Haible b3dc1843 2008-04-17T02:01:23 Add tentative support for Linux libc5.
Bruno Haible cc6492ad 2008-04-10T00:56:00 Port the extended stdio functions to emx+gcc.
Bruno Haible b0db0595 2008-04-08T13:11:19 Add tentative support for OpenServer.
Bruno Haible 82752441 2008-03-30T12:25:40 Improve freadseek's efficiency after ungetc.
Bruno Haible cb0bb143 2008-03-30T11:32:20 Use freadptr's return value.
Eric Blake 16e40377 2008-03-29T07:15:50 Pass test-freadseek on cygwin. * modules/freadseek (Depends-on): Use freadptr, not freadseek. * lib/freadseek.c (freadseek): Don't increment beyond bounds of ungetc buffer. * tests/test-fflush2.c (main): Fix typo. Signed-off-by: Eric Blake <ebb9@byu.net>
Bruno Haible e9ad5470 2008-02-29T10:29:38 New module 'freadseek'.