Bruno Haible
cf3719f4dc
New module 'ceil'.
2007-10-20 13:44:47 +02:00
Bruno Haible
93ac3c97f6
New module 'floor'.
2007-10-20 13:43:59 +02:00
Bruno Haible
3b07669db0
New module 'iconv_open-utf': Enhance iconv_open to support UTF-{16,32}{BE,LE}.
2007-10-14 12:27:28 +02:00
Eric Blake
95d0bce59e
Don't claim strerror is broken on Interix.
...
* doc/functions/strerror.texi (strerror): Known broken systems are
now Solaris 8, and not Interix.
* m4/strerror.m4 (gl_FUNC_STRERROR_SEPARATE): No longer filter out
Interix on cross-compile.
Reported by Martin Koeppe in
http://lists.gnu.org/archive/html/bug-gnulib/2007-10/msg00005.html .
Signed-off-by: Eric Blake <ebb9@byu.net >
2007-10-11 16:10:24 -06:00
Bruno Haible
86f87b4967
New modules 'fopen' and 'freopen'.
2007-10-07 04:46:57 +02:00
Bruno Haible
5e6b92bb99
New module 'open'.
2007-10-07 04:39:17 +02:00
Bruno Haible
d23df56e20
New module 'ceill'.
2007-10-05 03:54:50 +02:00
Bruno Haible
b064d497f3
New module 'ceilf'.
2007-10-05 03:43:42 +02:00
Bruno Haible
33f47a8259
New module 'floorl'.
2007-10-05 03:33:31 +02:00
Bruno Haible
ab044c631f
New module 'floorf'.
2007-10-05 03:02:08 +02:00
Bruno Haible
07ee175667
New module 'truncl'.
2007-10-05 01:39:53 +02:00
Bruno Haible
152e99575c
New module 'truncf'.
2007-10-05 01:06:37 +02:00
Bruno Haible
ec0af5d579
New module 'trunc'.
2007-10-04 03:22:14 +02:00
Eric Blake
d5d3e86d32
Fix strerror on Interix.
...
* lib/string_.h (strerror): Declare replacement.
* doc/functions/strerror.texi (strerror): Document the Interix
shortcoming.
* modules/string (Makefile.am): Support new hooks.
* m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Add new hooks.
* m4/strerror.m4 (gl_FUNC_STRERROR): Defer to
gl_FUNC_STRERROR_SEPARATE.
(gl_FUNC_STRERROR_SEPARATE): Check for Interix bug.
* lib/strerror.c (rpl_strerror): Provide replacement.
* modules/strerror (Depends-on): Add string.
(configure.ac): Detect use of module.
* tests/test-strerror.c: New file.
* modules/strerror-tests: New test module.
* modules/argp (Depends-on): Add strerror.
* modules/error (Depends-on): Likewise.
Reported by Martin Koeppe.
Signed-off-by: Eric Blake <ebb9@byu.net >
2007-09-25 10:40:16 -06:00
Bruno Haible
212d9536fe
Update portability list.
2007-09-09 17:14:46 +00:00
Bruno Haible
23631b7e71
New module 'malloc-posix'.
2007-09-09 13:01:44 +00:00
Bruno Haible
471d58a565
New module 'realloc-posix'.
2007-09-09 12:56:27 +00:00
Bruno Haible
e8b82791a9
New module 'calloc-posix'.
2007-09-09 12:29:37 +00:00
Eric Blake
33c8286ea9
Getline touchups.
...
* lib/getdelim.c (getdelim): Revert regression that required *n to
be 0 when *lineptr is NULL. Preserve errno across funlockfile.
* m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of
getdelim, rather than whether implementation is missing.
* m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline.
* lib/stdio_.h (getline): Also declare if replacement is
required.
* doc/functions/getdelim.texi: New file.
* doc/functions/getline.texi: Likewise.
* doc/gnulib.texi (Function Substitutes): Add new files.
Reported by Bruno Haible.
2007-08-23 02:00:18 +00:00
Bruno Haible
757e397c63
Another lseek bug on BeOS.
2007-08-19 09:10:56 +00:00
Bruno Haible
d2d412207b
Work around lseek bug on BeOS.
2007-08-19 09:08:05 +00:00
Bruno Haible
7599e817ca
Work around MacOS X wcwidth(0x0301) bug.
2007-07-07 21:38:16 +00:00
Bruno Haible
6cba49006a
Work around a buggy frexpl function on MacOS X 10.4/PowerPC.
2007-06-16 22:54:40 +00:00
Bruno Haible
bfa0a51966
Update after Eric Blake found that frexpl doesn't work right on mingw.
2007-06-02 00:54:30 +00:00
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