| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* include/stdlib.h: Change return type of unsetenv to int.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conform/data/stdlib.h-data: Account for XPG6 changes.
* stdlib/stdlib.h (__random): Change return value type to long.
(posix_memalign): Cleanup parameter names.
(setenv, unsetenv): Make available for __USE_XOPEN2K.
Change return type of unsetenv to int.
(qecvt, qgcvt, qfcvt): Declare only if __USE_MISC.
* sysdeps/generic/setenv.c (unsetenv): Change return type to int.
Return -1 and set errno if parameter is invalid.
* stdlib/random.c (__random): Change return value type to long.
|
|
|
|
| |
* conform/data/stdio.h-data: Account for changes in XPG6.
|
|
|
|
|
| |
* conform/data/spawn.h-data: Correct posix_spawnattr_setflags
prototype.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Define $mustprepend{"signal.h"}.
* conform/data/signal.h-data: Fix sigev_notify_function entry.
Fix typo (SIGVALRM -> SIGVTALRM).
* sysdeps/unix/sysv/linux/bits/siginfo.h: Define sigev_notify_attr
with real type.
* sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/siginfo.h: Likewise.
|
|
|
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Implement optional-element. Define
$mustprepend{"sched.h"}.
* conform/data/sched.h-data: Make sporadic scheduler definitions
optional.
* pwd/pwd.h: Don't define getpwent_r for XPG.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* io/sys/poll.h: Define nfds_t and use it in poll prototype.
* sysdeps/generic/poll.c: Use nfds_t type in function definition.
* sysdeps/mach/hurd/poll.c: Likewise.
* sysdeps/unix/bsd/poll.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/aix/poll.c: Likewise.
* sysdeps/generic/bits/poll.h: Define NPOLLFILE only if __USE_MISC.
* sysdeps/unix/sysv/linux/bits/poll.h: Likewise.
* sysdeps/unix/sysv/linux/m68k/bits/poll.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/poll.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/poll.h: Likewise.
* conform/data/poll.h-data: Fix typo in poll prototype.
|
|
|
|
|
|
| |
* sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
only if __USE_MISC.
* conform/data/netinet/tcp.h-data: Reserved prefix TCP_.
|
|
|
|
| |
* sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
|
|
|
|
| |
* inet/netinet/in.h: Make IPPROTO_ constants also macros.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Implement optional-type.
* resolv/netdb.h: Include <netinet/in.h> not <sys/socket.h>. Include
<rpc/netdb.h> only if __USE_MISC. Include <stdint.h> instead of
defining uint32_t here. Define IPPORT_RESERVED.
(struct hostent): Type of h_length element is int.
(getnameinfo): Type of flags parameter is unsigned int.
* inet/getnameinfo.c (getnameinfo): flags argument is unsigned.
* conform/data/netdb.h-data: Add many missing definitions.
|
|
|
|
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Implement optional-macro.
* conform/data/math.h-data: Update for XPG6.
* math/math.h (HUGE): Define as FLT_MAX value but don't use
FLT_MAX. Don't include <float.h>.
(MAXFLOAT): Likewise.
* math/math.h: Define MATH_ERRNO and MATH_ERREXCEPT.
|
|
|
|
| |
* include/bits/xopen_lim.h: Don't define FOPEN_MAX here.
|
|
|
|
|
| |
* conform/data/limits.h-data: Mark constants as optional wherever
appropriate.
|
|
|
|
|
|
| |
* posix/bits/posix2_lim.h: Set correct values for
_POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX. Remove
EQUIV_CLASS_MAX.
|
|
|
|
|
| |
* posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
Required by POSIX.
|
|
|
|
| |
* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
|
|
|
|
|
|
|
|
| |
2001-01-26 Ulrich Drepper <drepper@redhat.com>
* conform/data/netinet/in.h-data: Add reserved prefixes.
* conform/data/arpa/inet.h-data: Fix a few typos.
|
| |
|
|
|
|
|
|
|
|
| |
* string/strcoll.c: Likewise.
* string/strxfrm.c: Likewise.
* wctype/wcfuncs_l.c: Likewise.
* wctype/wctype_l.c: Likewise.
* wctype/wctrans_l.c: Likewise.
|
|
|
|
|
|
| |
* sysdeps/generic/strtol.c: Include <locale.h>
* stdlib/strtod.c: Likewise
* stdlib/strfmon.c: Likewise.
|
|
|
|
|
|
| |
2001-01-26 Andreas Jaeger <aj@suse.de>
* include/bits/locale.h: New file.
|
| |
|
|
|
|
|
| |
* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
and NOSTR.
|
|
|
|
|
|
|
|
|
|
|
| |
* locale/Makefile (headers): Add bits/locale.h.
* locale/langinfo.h: Don't include <locale.h>. Include <bits/locale.h>
and use __LC_ constants instead of LC_.
* locale/locale.h: Include <bits/locale.h> and define LC_ constants
using __LC_ constants.
* locale/bits/locale.h: New file.
* locale/loadlocale.c: Include <locale.h>.
* locale/nl_langinfo.h: Likewise.
|
|
|
|
| |
* posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.
|
|
|
|
|
|
| |
* io/sys/stat.h: Define S_IFSOCK for XPG6.
* conform/data/fcntl.h-data: posix_madvise is not expected here.
|
|
|
|
| |
* conform/conformtest.pl: Fix handling of macro-str.
|
|
|
|
|
| |
* conform/data/inttypes.h-data: Add missing definition and all of
stdint.h-data.
|
|
|
|
|
|
|
|
|
| |
2001-01-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sys/param.h (MAXSYMLINKS): Bump to 20.
* conform/conformtest.pl (@headers): Add stdint.h.
* conform/data/stdint.h-data: New file.
|
|
|
|
|
| |
* conform/conformtest.pl: Recognize options --headers and
--dialect. Add dialect-specific CFLAGS.
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Implement handling of recursive
allow-header.
* conform/data/locale.h-data: Add new struct lconv members.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* posix/wordexp.h: Correct definition of wordexp_t.
* posix/wordexp.c: Moved to ...
* sysdeps/generic/wordexp.c: ...here. New file.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: New file.
* sysdeps/unix/sysv/linux/ia64/wordexp.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: New file.
* sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.2.2): Add
wordexp.
* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
|
|
|
|
| |
* math/tgmath.h: Pretty printing.
|
|
|
|
|
|
| |
* math/Makefile (tests): Add test-tgmath.
(CFLAGS-test-tgmath.c): New variable.
* math/test-tgmath.c: New file. Contributed by Jakub Jelinek.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Ulrich Drepper <drepper@redhat.com>
* conform/conformtest.pl: Handle allow-header in secondary headers
correctly.
* conform/data/fcntl.h-data: Mark symbols introduced in XPG6 with
#ifdef.
* conform/data/netinet/in.h-data: Use correct comment character.
* conform/data/sys/stat.h-data: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Jakub Jelinek <jakub@redhat.com>
* math/tgmath.h (__TGMATH_BINARY_FIRST_REAL_ONLY,
__TGMATH_BINARY_REAL_ONLY, __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY,
__TGMATH_TERNARY_REAL_ONLY): Use proper arguments to
__builtin_classify_type, add ##f suffixes where appropriate.
(__TGMATH_UNARY_REAL_IMAG): Remove extraneous left parenthesis.
(__TGMATH_BINARY_REAL_IMAG): Likewise, use proper arguments to
__builtin_classify_type.
(fma): Fix spelling of first argument.
|
|
|
|
|
|
|
| |
* conform/data/unistd.h-data: Mark functions removed in XPG6
correctly.
* posix/unistd.h: Don't make functions removed in XPG6 available if
|
|
|
|
|
| |
* posix/unistd.h: Make functions removed in XPG6 not available if
__USE_XOPEN2K.
|
|
|
|
|
|
| |
* conform/conformtest.pl: Implement optional-constant.
* conform/data/unistd.h-data: Use optional-constant wherever
appropriate.
|
|
|
|
|
|
| |
* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
constants and add _SC_STREAMS.
* sysdeps/posix/sysconf.c (__sysconf): Likewise.
|
|
|
|
| |
* include/sys/statvfs.h: New file.
|
|
|
|
|
|
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/statvfs64.c: Rename to __statvfs64 and
make old name weak alias.
* sysdeps/generic/statvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Rename to __fstatvfs64 and
make old name weak alias.
* sysdeps/generic/fstatvfs64.c: Likewise.
* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
|
|
|
|
|
|
|
|
|
| |
* sysdeps/generic/bits/confname.h: Define _PC_REC_INCR_XFER_SIZE,
_PC_REC_MAX_XFER_SIZE, _PC_REC_MIN_XFER_SIZE, and
_PC_REC_XFER_ALIGN.
* sysdeps/posix/pathconf.c (__pathconf): Implement handling of
_PC_REC_INCR_XFER_SIZE, _PC_REC_MAX_XFER_SIZE,
_PC_REC_MIN_XFER_SIZE, and _PC_REC_XFER_ALIGN.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* conform/conformtest.pl: Run Unix tests for XPG6.
Implement handling of known namespace violations.
Improve printing of results.
* posix/unistd.h (usleep): Correct return type.
* sysdeps/unix/sysv/linux/usleep.c: Correct return type.
* sysdeps/unix/bsd/usleep.c: Correct return type.
* sysdeps/mach/usleep.c: Correct return type.
* sysdeps/generic/usleep.c: Correct return type.
* posix/unistd.h (sync): Correct return type.
* sysdeps/generic/sync.c: Likewise.
* sysdeps/mach/hurd/sync.c: Likewise.
* sysdeps/generic/bits/confname.h (_SC_IOV_MAX): New definition.
|
|
|
|
| |
* posix/unistd.h: Make seteuid and setegid available for XPG6.
|
|
|
|
| |
* wcsmbs/wchar.h: Get FILE definition for XPG5.
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Ulrich Drepper <drepper@redhat.com>
* conform/data/ctype.h-data: Use correct comment form.
* conform/data/errno.h-data: Likewise.
* conform/data/math.h-data: Likewise.
* conform/data/mqueue.h-data: Likewise.
* conform/data/netdb.h-data: Likewise.
* conform/data/pthread.h-data: Likewise.
|
|
|
|
| |
* conform/data/wordexp.h-data: Fix typo.
|
|
|
|
|
|
| |
* conform/conformtest.pl: Handle allow-header correctly.
* conform/data/time.h-data: Use correct comment form.
|