Mercurial > hg > octave-kai > gnulib-hg
comparison MODULES.html.sh @ 8872:dfee3b4fd46c
Fix lseek on mingw.
* modules/lseek: New module.
* m4/lseek.m4: New file.
* lib/lseek.c: New file.
* modules/lseek-tests: New file.
* tests/test-lseek.c: New file.
* tests/test-lseek.sh: New file.
* MODULES.html.sh: Document lseek module.
* modules/fflush (Depends-on): Add lseek, fseeko.
* modules/fseeko (Depends-on): Likewise.
* modules/ftello (Depends-on): Likewise.
* m4/fseeko.m4 (gl_FUNC_FSEEKO): Replace fseek[o] if lseek is
broken.
* m4/ftello.m4 (gl_FUNC_FTELLO): Replace ftell[o] if lseek is
broken.
* m4/fflush.m4 (gl_REPLACE_FFLUSH): Trigger fseeko module.
* lib/fseeko.c (rpl_fseeko): Quit early on non-seekable files.
* lib/ftello.c (rpl_ftello): Likewise.
* tests/test-fseeko.c (main): Test this.
* tests/test-fseeko.sh: Likewise.
* tests/test-ftello.c (main): Likewise.
* tests/test-ftello.sh: Likewise.
* lib/stdio_.h (fseek, ftell): Simplify, since missing fseeko now
implies replacing fseek.
* modules/stdio (Makefile.am): No longer need HAVE_FSEEKO,
HAVE_FTELLO.
* m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add lseek info.
* modules/unistd (Makefile.am): Likewise.
* lib/unistd_.h (lseek): Declare a replacement.
* doc/functions/lseek.texi (lseek): Document this fix.
* doc/functions/fseek.texi (fseek): Likewise.
* doc/functions/ftell.texi (ftell): Likewise.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Thu, 24 May 2007 16:59:20 +0000 |
parents | 72c6c4b06ca9 |
children | 53b90318e324 |
comparison
equal
deleted
inserted
replaced
8871:8015a071250c | 8872:dfee3b4fd46c |
---|---|
2027 func_module getlogin_r | 2027 func_module getlogin_r |
2028 func_module getsubopt | 2028 func_module getsubopt |
2029 func_module gettimeofday | 2029 func_module gettimeofday |
2030 func_module inet_ntop | 2030 func_module inet_ntop |
2031 func_module inet_pton | 2031 func_module inet_pton |
2032 func_module lseek | |
2033 func_module lstat | |
2032 func_module mkdir | 2034 func_module mkdir |
2033 func_module mkdtemp | 2035 func_module mkdtemp |
2034 func_module mkstemp | 2036 func_module mkstemp |
2035 func_module poll | 2037 func_module poll |
2038 func_module printf-posix | |
2036 func_module readlink | 2039 func_module readlink |
2037 func_module lstat | |
2038 func_module printf-posix | |
2039 func_module snprintf-posix | 2040 func_module snprintf-posix |
2040 func_module sprintf-posix | 2041 func_module sprintf-posix |
2041 func_module string | 2042 func_module string |
2042 func_module tempname | 2043 func_module tempname |
2043 func_module time | 2044 func_module time |