1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Commit Graph

24 Commits

Author SHA1 Message Date
Bruno Haible
40a871a5db Don't work around an lseek POSIX compliance bug on IRIX. 2007-06-02 00:42:13 +00:00
Bruno Haible
cf0e995020 New module 'ftell'. 2007-05-28 15:13:36 +00:00
Bruno Haible
223df0ab02 New module 'fseek'. 2007-05-28 14:59:14 +00:00
Bruno Haible
c8d24b1ac2 Correct last change. 2007-05-28 14:08:37 +00:00
Bruno Haible
02e91bf319 More precise wording. 2007-05-28 13:59:41 +00:00
Eric Blake
e461ff7387 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.
2007-05-24 16:59:20 +00:00
Eric Blake
cec93e99d1 Fix fseeko/ftello on cygwin 1.5.24.
* doc/functions/fseeko.texi (fseeko): Document the fix.
* doc/functions/ftello.texi (ftello): Document the fix.
* doc/functions/stdin.texi (stdin): Document the cygwin bug.
* doc/functions/stdout.text (stdout): New file.
* doc/functions/stderr.text (stderr): New file.
* doc/gnulib.texi (Function Substitutes): Use new files.
* tests/test-fseeko.c (main): Check for broken fseeko on cygwin
prior to 1.7.0.
* tests/test-ftello.c (main): Likewise for ftello.
* tests/test-fseeko.sh: New file.
* tests/test-ftello.sh: New file.
* modules/fseeko-tests (Makefile.am): Ensure test-fseeko is run
with seekable stdin.
* modules/ftello-tests (Makefile.am): Likewise for test-ftello.
* m4/fseeko.m4 (gl_FUNC_FSEEKO): Detect the cygwin bug.
(gl_REPLACE_FSEEKO): New macro.
* m4/ftello.m4 (gl_FUNC_FTELLO, gl_REPLACE_FTELLO): Likewise.
* modules/fseeko (Files): Distribute fseeko.c.
* modules/ftello (Files): Distribute ftello.c.
* lib/fseeko.c (rpl_fseeko) [__CYGWIN__]: Convert stdin to 64-bit
mode.
* lib/ftello.c (rpl_ftello): New file.
* m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Allow replacement of
fseeko, ftello.
(gl_STDIN_LARGE_OFFSET): New macro.
* modules/stdio (Makefile.am): Perform the replacement.
* lib/stdio_.h (rpl_fseeko, rpl_ftello): Define when needed.
2007-05-24 03:53:37 +00:00
Bruno Haible
98a6699683 Detect broken frexpl on BeOS. 2007-05-20 10:26:34 +00:00
Bruno Haible
82485375cc Fix *printf result for NaN, Inf on AIX, Solaris, OSF/1. 2007-05-20 09:01:48 +00:00
Bruno Haible
118b9d3f01 Fix *printf result for NaN, Inf, -0.0 on mingw. 2007-05-19 14:52:36 +00:00
Bruno Haible
060ad6de5e Add support for 'long double' number output. 2007-05-18 18:26:01 +00:00
Bruno Haible
3717bfeef0 More info about Cygwin. 2007-05-06 23:17:49 +00:00
Bruno Haible
d76083d95f More info about Cygwin. 2007-05-06 23:17:49 +00:00
Bruno Haible
e9bb23084a Work around an incorrect implementation of the 0 flag on most platforms. 2007-05-06 23:02:10 +00:00
Bruno Haible
2bb894abc6 Work around lack of support of grouping flag. 2007-05-06 15:29:04 +00:00
Bruno Haible
57d79f9bad Clarify the strftime module's purpose. 2007-05-02 22:18:36 +00:00
Bruno Haible
826b7adacd texinfo tweak 2007-05-02 22:17:07 +00:00
Bruno Haible
aef0954472 Move to _Exit_C99.texi. 2007-05-01 22:35:50 +00:00
Bruno Haible
9e49362ce2 Move to here from _Exit.texi. 2007-05-01 22:35:46 +00:00
Bruno Haible
6a43884b2d New module 'sleep'. 2007-05-01 22:15:01 +00:00
Bruno Haible
3ab16f027a 'exec' and 'toc' are not functions. 2007-05-01 21:02:01 +00:00
Bruno Haible
b8d9ba1376 Mention non-portability to Interix 3.5. 2007-05-01 17:59:19 +00:00
Bruno Haible
79bfbeb95c Ranking of functions according to their number of hits on Google codesearch. 2007-05-01 15:12:21 +00:00
Bruno Haible
439db487c6 Documentation of what gnulib provides for each function. 2007-05-01 15:11:37 +00:00