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

294 Commits

Author SHA1 Message Date
Bruno Haible
ba62d45bdf duplocale: Work around AIX 7.1 bug. 2010-07-31 11:45:41 +02:00
Bruno Haible
d614713a56 dirfd: Avoid link error on AIX 7.1. 2010-07-31 00:42:36 +02:00
Eric Blake
e95ae6d7e8 strtod: next round of AIX fixes
* lib/strtod.c (strtod): Work around AIX bug of parsing p with no
exponent.
* tests/test-strtod.c (main): Enhance tests.
* doc/posix-functions/strtod.texi (strtod): Document next bug.
Reported by Rainer Tammer.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-07-30 16:20:41 -06:00
Bruno Haible
217ec874c8 getline: Update regarding AIX. 2010-07-30 22:21:06 +02:00
Bruno Haible
fdf2397bad unlink: Update regarding AIX. 2010-07-30 21:33:01 +02:00
Bruno Haible
32fa5a4969 symlink: Update regarding AIX. 2010-07-30 21:30:43 +02:00
Bruno Haible
518277d6c7 stat: Update regarding AIX. 2010-07-30 21:24:54 +02:00
Bruno Haible
b4e5a5f11b round: Update regarding AIX. 2010-07-30 21:14:41 +02:00
Bruno Haible
b9a2085815 rename: Update regarding AIX. 2010-07-30 21:11:09 +02:00
Bruno Haible
41f9f674fd getopt: Update regarding AIX. 2010-07-30 20:51:04 +02:00
Bruno Haible
df8bc51660 open, fopen: Update regarding AIX. 2010-07-30 20:38:44 +02:00
Bruno Haible
ec919e79c7 chown: Update doc regarding AIX. 2010-07-30 20:32:12 +02:00
Eric Blake
f4c549fab6 strtod: fix bug in replacement function on AIX
* lib/strtod.c (strtod): Special case broken "0x" parse in
underlying strtod.
* tests/test-strtod.c (main): Document AIX 7.1 bugs.
* doc/posix-functions/strtod.texi (strtod): Likewise.
Reported by Rainer Tammer.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-07-30 07:51:26 -06:00
Bruno Haible
5518d30198 New module '_Exit'. 2010-07-12 18:57:52 +02:00
Bruno Haible
9f737c8fda Mention Solaris limitation. 2010-06-05 05:13:57 +02:00
Peter O'Gorman
b111537c9e New module pwrite. 2010-05-05 21:09:38 +02:00
Peter O'Gorman
ef7ac3461d pread: Update documentation. 2010-05-05 20:53:05 +02:00
Eric Blake
e2843e30e8 docs: update cygwin progress
* doc/posix-functions/wctob.texi (wctob): Cygwin 1.7.6 will fix
this bug.
* doc/glibc-functions/get_nprocs_conf.texi (get_nprocs_conf):
Added in cygwin 1.7.2.
* doc/glibc-functions/get_phys_pages.texi (get_phys_pages):
Likewise.
* doc/glibc-functions/get_avphys_pages.texi (get_avphys_pages):
Likewise.
* doc/glibc-functions/dup3.texi (dup3): Likewise.
* doc/glibc-functions/pipe2.texi (pipe2): Likewise.
* doc/glibc-functions/accept4.texi (accept4): Likewise.
* doc/posix-functions/strfmon.texi (strfmon): Likewise.
* doc/glibc-functions/get_nprocs.texi (get_nprocs): Likewise.
Mention nproc module.
* doc/glibc-functions/xdr_uint16_t.texi (xdr_uint16_t): Mention
bug in cygwin 1.7.5 addition.
* doc/glibc-functions/xdr_uint32_t.texi (xdr_uint32_t): Likewise.
* doc/glibc-functions/xdr_uint64_t.texi (xdr_uint64_t): Likewise.
* doc/glibc-functions/xdr_uint8_t.texi (xdr_uint8_t): Likewise.
* doc/glibc-functions/xdr_array.texi (xdr_array): Added in cygwin
1.7.5.
* doc/glibc-functions/xdr_bool.texi (xdr_bool): Likewise.
* doc/glibc-functions/xdr_bytes.texi (xdr_bytes): Likewise.
* doc/glibc-functions/xdr_char.texi (xdr_char): Likewise.
* doc/glibc-functions/xdr_double.texi (xdr_double): Likewise.
* doc/glibc-functions/xdr_enum.texi (xdr_enum): Likewise.
* doc/glibc-functions/xdr_float.texi (xdr_float): Likewise.
* doc/glibc-functions/xdr_free.texi (xdr_free): Likewise.
* doc/glibc-functions/xdr_hyper.texi (xdr_hyper): Likewise.
* doc/glibc-functions/xdr_int.texi (xdr_int): Likewise.
* doc/glibc-functions/xdr_int16_t.texi (xdr_int16_t): Likewise.
* doc/glibc-functions/xdr_int32_t.texi (xdr_int32_t): Likewise.
* doc/glibc-functions/xdr_int64_t.texi (xdr_int64_t): Likewise.
* doc/glibc-functions/xdr_int8_t.texi (xdr_int8_t): Likewise.
* doc/glibc-functions/xdr_long.texi (xdr_long): Likewise.
* doc/glibc-functions/xdr_longlong_t.texi (xdr_longlong_t):
Likewise.
* doc/glibc-functions/xdr_netobj.texi (xdr_netobj): Likewise.
* doc/glibc-functions/xdr_opaque.texi (xdr_opaque): Likewise.
* doc/glibc-functions/xdr_pointer.texi (xdr_pointer): Likewise.
* doc/glibc-functions/xdr_reference.texi (xdr_reference):
Likewise.
* doc/glibc-functions/xdr_short.texi (xdr_short): Likewise.
* doc/glibc-functions/xdr_sizeof.texi (xdr_sizeof): Likewise.
* doc/glibc-functions/xdr_string.texi (xdr_string): Likewise.
* doc/glibc-functions/xdr_u_char.texi (xdr_u_char): Likewise.
* doc/glibc-functions/xdr_u_hyper.texi (xdr_u_hyper): Likewise.
* doc/glibc-functions/xdr_u_int.texi (xdr_u_int): Likewise.
* doc/glibc-functions/xdr_u_long.texi (xdr_u_long): Likewise.
* doc/glibc-functions/xdr_u_longlong_t.texi (xdr_u_longlong_t):
Likewise.
* doc/glibc-functions/xdr_u_short.texi (xdr_u_short): Likewise.
* doc/glibc-functions/xdr_union.texi (xdr_union): Likewise.
* doc/glibc-functions/xdr_vector.texi (xdr_vector): Likewise.
* doc/glibc-functions/xdr_void.texi (xdr_void): Likewise.
* doc/glibc-functions/xdr_wrapstring.texi (xdr_wrapstring):
Likewise.
* doc/glibc-functions/xdrmem_create.texi (xdrmem_create):
Likewise.
* doc/glibc-functions/xdrrec_create.texi (xdrrec_create):
Likewise.
* doc/glibc-functions/xdrrec_endofrecord.texi
(xdrrec_endofrecord): Likewise.
* doc/glibc-functions/xdrrec_eof.texi (xdrrec_eof): Likewise.
* doc/glibc-functions/xdrrec_skiprecord.texi (xdrrec_skiprecord):
Likewise.
* doc/glibc-functions/xdrstdio_create.texi (xdrstdio_create):
Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-05-04 08:18:30 -06:00
Bruno Haible
c1363e5622 wctob: Work around nasty Cygwin 1.7.2 bug. 2010-05-02 13:15:21 +02:00
Bruno Haible
55ca839ef4 ftell, ftello: Work around Solaris bug. 2010-05-01 20:32:26 +02:00
Bruno Haible
5178e5eee6 Fix doc about a HP-UX stdio bug. 2010-05-01 19:20:12 +02:00
Bruno Haible
393b9c0ba3 Update doc about utimes(). 2010-04-28 02:35:24 +02:00
Bruno Haible
64ee0bacb3 ttyname_r: Make it work on Solaris 10. 2010-04-26 00:18:10 +02:00
Bruno Haible
309fac666a Use the 'extensions' module for some more functions on Solaris. 2010-04-25 23:08:38 +02:00
Bruno Haible
a731808a4a ttyname_r: Make it work on MacOS X 10.4 and Solaris 10. 2010-04-25 20:57:52 +02:00
Bruno Haible
3a684fbdcc Mention effects of _POSIX_PTHREAD_SEMANTICS on Solaris. 2010-04-25 19:50:16 +02:00
Eric Blake
61c96af09d getopt-gnu: match recent glibc fixes and posix ruling
The POSIX folks admitted that codifying the behavior of GNU
getopt on a leading '+' in optstring is worthwhile, for writing
programs such as env(1) even when POSIXLY_CORRECT is not defined.
http://austingroupbugs.net/view.php?id=191
However, the ruling is an enhancement request for the next
version of POSIX, and is not binding on platforms that comply
with POSIX 2008, so it should only be enforced for getopt-gnu.

* tests/test-getopt.h (test_getopt): Strengthen tests of leading
'+' handling, when requesting extensions.
* tests/test-getopt_long.h (test_getopt_long): Strengthen test of
'W;' handling.
* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Detect glibc 2.11 bug.
* doc/posix-functions/getopt.texi (getopt): Document this.
* doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
* doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
Likewise.
2010-04-13 16:31:48 -06:00
Eric Blake
5cc0bcf5e4 getopt-posix: detect MacOS bug
On MacOS 10.5 (Darwin 9.8.0), optind is incremented by 2 instead
of 1 in the case of a missing requirement on condensed options.

* m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Reject MacOS botch of
optind when missing a required argument.
* doc/posix-functions/getopt.texi (getopt): Document the bug.
* doc/glibc-functions/getopt_long.texi (getopt_long): Likewise.
* doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-04-13 16:31:47 -06:00
Jim Meyering
950f3469e4 ftruncate: mark module as obsolete; even MinGW provides it, now
* modules/ftruncate (Status): Obsolete.
(Notice): Say that.
* doc/posix-functions/ftruncate.texi: Don't say MinGW lacks it.
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/9203
2010-04-09 10:44:23 +02:00
Bruno Haible
bfbf5dbc5e btowc: Work around Cygwin 1.7.2 bug. 2010-04-06 00:30:42 +02:00
Bruno Haible
097fd2f5f5 New module 'strncat'. 2010-04-05 21:15:36 +02:00
Bruno Haible
edca4071fc Assume rmdir exists. 2010-04-05 17:27:57 +02:00
Bruno Haible
6fd3d63e39 strerror: Update documentation. 2010-04-04 23:07:50 +02:00
Bruno Haible
f25b18d1c0 frexpl: Fix a C++ test error on Solaris 8 and Cygwin. 2010-04-04 22:13:20 +02:00
Bruno Haible
1349ff1c34 time_r: Minor updates. 2010-04-03 18:47:03 +02:00
Eric Blake
497bb5fc57 fdopendir: work around FreeBSD bug
Without a declaration, at least tar would core dump on 64-bit
FreeBSD because gcc only used 32 bits of the resulting pointer.

* m4/dirent_h.m4 (gl_DIRENT_H_DEFAULTS): New witness.
* m4/fdopendir.m4 (gl_FUNC_FDOPENDIR): Set it.
* modules/dirent (Makefile.am): Substitute it.
* lib/dirent.in.h (fdopendir): Supply missing FreeBSD
declaration.
* doc/posix-functions/fdopendir.texi (fdopendir): Document the
fix.
Reported by Christian Weisgerber <naddy@mips.inka.de>.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-03-30 08:26:01 -06:00
Bruno Haible
2169eadded Fix ioctl's protoype on glibc systems. 2010-03-29 02:27:39 +02:00
Bruno Haible
d26ede5aec setenv: Tweaks. 2010-03-21 23:24:17 +01:00
Bruno Haible
e6c527d59a New module 'unlockpt'. 2010-03-21 23:19:30 +01:00
Bruno Haible
aeca137662 New module 'grantpt'. 2010-03-21 20:16:38 +01:00
Bruno Haible
3b7b97813f New module 'ptsname'. 2010-03-21 16:17:22 +01:00
Bruno Haible
116440ae18 New module 'ttyname_r'. 2010-03-21 14:38:25 +01:00
Bruno Haible
12107b837d Work around unlink() bug on MacOS X 10.5.6. 2010-03-20 15:26:42 +01:00
Bruno Haible
cbe58fc8e5 wctype: Provide iswblank function. 2010-03-19 22:46:56 +01:00
Eric Blake
67b8e6a482 logb: fix documentation
* doc/posix-functions/logb.texi (logb): Gnulib fixes the cygwin
1.5 declaration bug.

Signed-off-by: Eric Blake <eblake@redhat.com>
2010-03-19 09:44:43 -06:00
Bruno Haible
10d66aedfd logb: Provide missing declaration for Cygwin. 2010-03-08 00:04:47 +01:00
Bruno Haible
89e5b6ba03 Clarify access, euidaccess, faccessat. 2010-03-07 16:32:47 +01:00
Jim Meyering
95907a5453 utime: remove obsolete module
This module, like autoconf's AC_FUNC_UTIME_NULL macro, has been
unnecessary for years, and has been marked as obsolete for 10 months.
* modules/utime: Remove file.
* lib/utime.c: Remove file.
* m4/utime.m4: Remove file.
* m4/utimes-null.m4: Remove file.
* doc/posix-functions/utime.texi (utime): Remove reference to
the module.  Move the sole "fixed by gnulib" item into the
"problems not fixed by Gnulib" list.
* MODULES.html.sh (func_all_modules): Remove reference to "utime".
2010-03-05 08:52:39 +01:00
Simon Josefsson
fa93ceab81 exit: Obsolete module, use stdlib instead. 2010-03-05 07:51:36 +01:00
Eric Blake
de4d0a383b gettimeofday: expose type of second argument
Needed to silence compiler warnings such as:
test-gettimeofday.c:23: warning: initialization from incompatible pointer type
based on whether gettimeofday complies with POSIX or provides
the extension of struct timezone.

* m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY): Do better detection
of glibc extension signature, and define GETTIMEOFDAY_TIMEZONE.
* tests/test-gettimeofday.c: Use it to silence warning.
* doc/posix-functions/gettimeofday.texi (gettimeofday): Document
the issue.

Signed-off-by: Eric Blake <ebb9@byu.net>
2010-02-04 20:01:45 -07:00