modules/freadseek


Log

Author Commit Date CI Message
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 a889637c 2008-09-06T12:12:41 Relicense the getndelim2 dependencies under LGPLv2+.
Bruno Haible 569eba62 2008-04-26T18:12:05 New private include file lib/stdio-impl.h.
Bruno Haible 82752441 2008-03-30T12:25:40 Improve freadseek's efficiency after ungetc.
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'.