platform/upstream/glibc.git
23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 09:37:21 +0000 (09:37 +0000)]
Update.

* conform/conformtest.pl: Undo last change.  Define
$mustprepend{"stdio.h"}.
* libio/stdio.h: Define va_list correctly.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 09:13:22 +0000 (09:13 +0000)]
Update.

* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
* libio/stdio.h: Always define __need___va_list.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 08:44:55 +0000 (08:44 +0000)]
Update.

* conform/data/pthread.h-data: Make priority protocol related
functions optional.  Fix typos.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 08:15:06 +0000 (08:15 +0000)]
Update.

2001-01-28  Ulrich Drepper  <drepper@redhat.com>

* posix/sched.h: Define sched_priority as __sched_priority.
* sysdeps/generic/bits/sched.h (struct sched_param): Rename element
to __sched_priority.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 06:55:35 +0000 (06:55 +0000)]
Update.

* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
of <sys/time.h>.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 06:41:47 +0000 (06:41 +0000)]
Update.

* sysdeps/unix/stime.c: Include <stddef.h> for NULL.
* sysdeps/unix/time.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 06:38:33 +0000 (06:38 +0000)]
Update.

* sysdeps/unix/time.c: Include <stddef.h> for NULL.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 05:38:29 +0000 (05:38 +0000)]
Update.

* conform/data/time.h-data: CLK_TCK is not in XPG6.  Fix tzname entry.
* sysdeps/mach/hurd/bits/time.h: Don't define CLK_TCK for XPG6.
* sysdeps/mach/hurd/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/time.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/time.h: Likewise.
* time/time.h: Likewise.

* conform/conformtest.pl (@headers): Add complex.h and tgmath.h.
* conform/data/complex.h-data: New file.
* conform/data/tgmath.h-data: New file.

* conform/data/wchar.h-data: Add missing functions.

* sysdeps/gnu/bits/utmpx.h: Define RUN_LVL only if __USE_GNU.

* conform/data/termios.h-data: Add missing const in tcsetattr()
prototype.

* posix/sys/wait.h: Include <signal.h> and <sys/resource.h>.
Don't define pid_t here.

* conform/data/sys/utsname.h-data: Don't provide fixed array sizes.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 00:00:08 +0000 (00:00 +0000)]
Update.

* conform/data/sys/time.h-data: Allow sys/select.h.
* conform/data/sys/un.h-data: Fix typo.
* time/sys/time.h: Don't include all of <time.h>, just struct timeval.
* sysdeps/posix/clock_getres.c: Include <time.h> instead of
<sys/time.h>.
* sysdeps/unix/clock_nanosleep.c: Likewise.
* sysdeps/unix/i386/clock_getcpuclockid.c: Likewise.
* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
* sysdeps/unix/clock_gettime.c: Also include <time.h>.
* sysdeps/unix/clock_settime.c: Likewise.

* sysdeps/generic/pselect.c: Include <stddef.h> for NULL.
* login/getutent.c: Likewise.
* login/getutid.c: Likewise.
* login/getutline.c: Likewise.

* socket/sys/un.h: Define SUN_LEN only if __USE_MISC.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 22:44:52 +0000 (22:44 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/statvfs.h: Change type of f_fsid field
to unsigned long.  Add __f_unused.  Define _STATVFSBUF_F_UNUSED.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Adjust initialization of
f_fsid field after change in struct statvfs.
* sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/statvfs.h: New file.

* conform/data/sys/stat.h-data: Remove isfdtype.  Use
optional-macro.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 21:54:00 +0000 (21:54 +0000)]
Update.

* inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
(rresvport_af): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 21:26:25 +0000 (21:26 +0000)]
Update.

* conform/data/sys/socket.h-data: Fix typos.  Correct getsockopt,
recvfrom, send, and socketpair prototypes.  Add allow lines.
* socket/sys/socket.h: Include <sys/uio.h>.
Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU.
Fix type of second parameter of listen.
Don't declare isfdtype unless __USE_MISC.
* sysdeps/generic/listen.c: Fix type of second parameter of listen.
* sysdeps/mach/hurd/listen.c: Likewise.
* sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define
ss_family and __ss_family.
* sysdeps/unix/sysv/aix/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
(struct msghdr): Change type of msg_iovlen to int and type of
msg_controllen to socklen_t.
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 19:45:21 +0000 (19:45 +0000)]
Update.

* conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
* conform/conformtest.pl: Implement handling of symbol.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 19:28:32 +0000 (19:28 +0000)]
Update.

2001-01-27  Ulrich Drepper  <drepper@redhat.com>

* signal/signal.h: Fix handling of __need_* symbols.
* misc/sys/select.c: Define fd_set here.  Remove __fd_set.  Define
fd_mask only if __USE_MISC.  Declare pselect for __USE_XOPEN2K.
* include/sys/select.h: Use fd_set not __fd_set.
* sysdeps/generic/bits/select.h: Likewise.
* sysdeps/i386/bits/select.h: Likewise.
* sysdeps/generic/bits/types.h: Don't define __fd_mask, __NFDBITS,
__FDELT, __FDMASK, and __fd_set here.
* sysdeps/unix/sysv/aix/bits/types.h: Likewise.
* sysdeps/unix/sysv/hpux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/types.h: Likewise.
* sysdeps/unix/sysv/sysv4/solaris2/bits/types.h: Likewise.
* time/sys/time.h: Define struct timeval before including <time.h>
and <sys/select.h>.

* conform/data/sys/time.h-data: fd_set is a typedef.
* conform/data/sys/select.h-data: New file.
* conform/data/sys/mman.h-data: Make typed mem stuff optional.
* conform/conformtest.pl (@headers): Add sys/select.h.
(type, optional-type): Unless testing a typedef instantiate object.
Implement optional-function.

* math/test-misc.c: Include <float.h>.

23 years agoInclude <float.h>.
Ulrich Drepper [Sat, 27 Jan 2001 19:09:14 +0000 (19:09 +0000)]
Include <float.h>.

23 years agoUpdate.
Andreas Jaeger [Sat, 27 Jan 2001 10:55:10 +0000 (10:55 +0000)]
Update.

2001-01-27  Andreas Jaeger  <aj@suse.de>

* misc/efgcvt_r.c: Include <float.h>.

23 years agoInclude <float.h>.
Andreas Jaeger [Sat, 27 Jan 2001 10:54:50 +0000 (10:54 +0000)]
Include <float.h>.

23 years ago(Environment Access): Adjust comment about setenv() being BSD-only.
Ulrich Drepper [Sat, 27 Jan 2001 08:32:08 +0000 (08:32 +0000)]
(Environment Access): Adjust comment about setenv() being BSD-only.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 08:21:42 +0000 (08:21 +0000)]
Update.

Change return type of random to long int.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 08:17:38 +0000 (08:17 +0000)]
Update.

* include/stdlib.h: Change return type of unsetenv to int.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 07:07:07 +0000 (07:07 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 06:42:01 +0000 (06:42 +0000)]
Update.

* conform/data/stdio.h-data: Account for changes in XPG6.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 06:35:43 +0000 (06:35 +0000)]
Update.

* conform/data/spawn.h-data: Correct posix_spawnattr_setflags
prototype.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 06:30:48 +0000 (06:30 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 05:30:29 +0000 (05:30 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 05:01:26 +0000 (05:01 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 04:41:31 +0000 (04:41 +0000)]
Update.

* sysdeps/gnu/netinet/tcp.h: Define everything but TCP_ macros
only if __USE_MISC.
* conform/data/netinet/tcp.h-data: Reserved prefix TCP_.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 04:10:50 +0000 (04:10 +0000)]
Update.

* sysdeps/gnu/net/if.h: Cleanup namespace.  Define IF_NAMESIZE.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 03:03:05 +0000 (03:03 +0000)]
Update.

* inet/netinet/in.h: Make IPPROTO_ constants also macros.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 02:27:46 +0000 (02:27 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Sat, 27 Jan 2001 00:15:16 +0000 (00:15 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 19:25:17 +0000 (19:25 +0000)]
Update.

* include/bits/xopen_lim.h: Don't define FOPEN_MAX here.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 18:58:19 +0000 (18:58 +0000)]
Update.

* conform/data/limits.h-data: Mark constants as optional wherever
appropriate.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 18:56:29 +0000 (18:56 +0000)]
Update.

* posix/bits/posix2_lim.h: Set correct values for
_POSIX2_COLL_WEIGHTS_MAX and _POSIX2_CHARCLASS_NAME_MAX.  Remove
EQUIV_CLASS_MAX.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 18:27:51 +0000 (18:27 +0000)]
Update.

* posix/bits/posix1_lim.h: Define _POSIX_TZNAME_MAX as 6.
Required by POSIX.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 17:18:04 +0000 (17:18 +0000)]
Update.

* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 17:02:29 +0000 (17:02 +0000)]
Update.

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.

23 years agoFix a few typos.
Ulrich Drepper [Fri, 26 Jan 2001 17:01:03 +0000 (17:01 +0000)]
Fix a few typos.

23 years agoUpdate.
Andreas Jaeger [Fri, 26 Jan 2001 13:42:50 +0000 (13:42 +0000)]
Update.

* string/strcoll.c: Likewise.
* string/strxfrm.c: Likewise.
* wctype/wcfuncs_l.c: Likewise.
* wctype/wctype_l.c: Likewise.
* wctype/wctrans_l.c: Likewise.

23 years agoUpdate.
Andreas Jaeger [Fri, 26 Jan 2001 13:22:13 +0000 (13:22 +0000)]
Update.

* sysdeps/generic/strtol.c: Include <locale.h>
* stdlib/strtod.c: Likewise
* stdlib/strfmon.c: Likewise.

23 years agoUpdate.
Andreas Jaeger [Fri, 26 Jan 2001 13:13:06 +0000 (13:13 +0000)]
Update.

2001-01-26  Andreas Jaeger  <aj@suse.de>

* include/bits/locale.h: New file.

23 years agoNew file.
Andreas Jaeger [Fri, 26 Jan 2001 13:12:51 +0000 (13:12 +0000)]
New file.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 09:25:28 +0000 (09:25 +0000)]
Update.

* locale/langinfo.h: Correct logic in #ifs when defining YESSTR
and NOSTR.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 09:22:30 +0000 (09:22 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 09:02:38 +0000 (09:02 +0000)]
Update.

* posix/glob.h: Cleanup namespace for non-_GNU_SOURCE case.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 08:54:05 +0000 (08:54 +0000)]
Update.

* io/sys/stat.h: Define S_IFSOCK for XPG6.

* conform/data/fcntl.h-data: posix_madvise is not expected here.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 08:46:20 +0000 (08:46 +0000)]
Update.

* conform/conformtest.pl: Fix handling of macro-str.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 08:27:46 +0000 (08:27 +0000)]
Update.

* conform/data/inttypes.h-data: Add missing definition and all of
stdint.h-data.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 08:06:53 +0000 (08:06 +0000)]
Update.

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.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 04:33:38 +0000 (04:33 +0000)]
Update.

* conform/conformtest.pl: Recognize options --headers and
--dialect.  Add dialect-specific CFLAGS.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 02:42:11 +0000 (02:42 +0000)]
Update.

* conform/conformtest.pl: Implement handling of recursive
allow-header.

* conform/data/locale.h-data: Add new struct lconv members.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 02:17:50 +0000 (02:17 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Fri, 26 Jan 2001 01:42:51 +0000 (01:42 +0000)]
Update.

* math/tgmath.h: Pretty printing.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 22:38:42 +0000 (22:38 +0000)]
Update.

* math/Makefile (tests): Add test-tgmath.
(CFLAGS-test-tgmath.c): New variable.
* math/test-tgmath.c: New file.  Contributed by Jakub Jelinek.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 20:05:55 +0000 (20:05 +0000)]
Update.

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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 19:54:39 +0000 (19:54 +0000)]
Update.

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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 19:51:25 +0000 (19:51 +0000)]
Update.

* conform/data/unistd.h-data: Mark functions removed in XPG6
correctly.

* posix/unistd.h: Don't make functions removed in XPG6 available if

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 19:35:30 +0000 (19:35 +0000)]
Update.

* posix/unistd.h: Make functions removed in XPG6 not available if
__USE_XOPEN2K.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 19:14:31 +0000 (19:14 +0000)]
Update.

* conform/conformtest.pl: Implement optional-constant.
* conform/data/unistd.h-data: Use optional-constant wherever
appropriate.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 18:40:46 +0000 (18:40 +0000)]
Update.

* sysdeps/generic/bits/confname.h: Correct names of _SC_PBS
constants and add _SC_STREAMS.
* sysdeps/posix/sysconf.c (__sysconf): Likewise.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 10:25:08 +0000 (10:25 +0000)]
Update.

* include/sys/statvfs.h: New file.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 10:11:50 +0000 (10:11 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 10:04:35 +0000 (10:04 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 09:33:04 +0000 (09:33 +0000)]
Update.

* 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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 08:52:08 +0000 (08:52 +0000)]
Update.

* posix/unistd.h: Make seteuid and setegid available for XPG6.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 08:43:53 +0000 (08:43 +0000)]
Update.

* wcsmbs/wchar.h: Get FILE definition for XPG5.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 08:10:36 +0000 (08:10 +0000)]
Update.

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.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 07:46:09 +0000 (07:46 +0000)]
Update.

* conform/data/wordexp.h-data: Fix typo.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 02:57:58 +0000 (02:57 +0000)]
Update.

* conform/conformtest.pl: Handle allow-header correctly.

* conform/data/time.h-data: Use correct comment form.

23 years agoUpdate.
Ulrich Drepper [Thu, 25 Jan 2001 02:44:19 +0000 (02:44 +0000)]
Update.

* conform/conformtest.pl (checknamespace): Ignore #undef lines.

23 years agoUpdate.
Ulrich Drepper [Wed, 24 Jan 2001 22:56:53 +0000 (22:56 +0000)]
Update.

* configure.in: Comment out binutils version test.

23 years agoUpdate.
Ulrich Drepper [Wed, 24 Jan 2001 22:19:16 +0000 (22:19 +0000)]
Update.

* stdlib/Makefile (tst-strtod-ENV): New variable.

23 years agoUpdate.
Ulrich Drepper [Wed, 24 Jan 2001 22:13:39 +0000 (22:13 +0000)]
Update.

2001-01-24  Ulrich Drepper  <drepper@redhat.com>

* stdlib/strtod.c (str_to_mpn): Correct parsing of thousands
separators.
Reported by Lagardere Jean-Francois <LAGARDEREJ@thmulti.com>.

* stdlib/tst-strtod.c (locale_test): New function.
(main): Call locale_test.

* include/sys/sysctl.h: New file.

23 years ago(str_to_mpn): Correct parsing of thousands separators.
Ulrich Drepper [Wed, 24 Jan 2001 22:10:30 +0000 (22:10 +0000)]
(str_to_mpn): Correct parsing of thousands separators.

23 years ago* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value...
Mark Kettenis [Wed, 24 Jan 2001 11:19:56 +0000 (11:19 +0000)]
* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost declaration of value such that we actually return the value of the environment variable.

2001-01-24  Mark Kettenis  <kettenis@gnu.org>

* hurd/hurdsig.c (_hurdsig_getenv): Remove spurious innermost
declaration of value such that we actually return the value of the
environment variable.

23 years agoUpdate.
Andreas Jaeger [Wed, 24 Jan 2001 08:48:10 +0000 (08:48 +0000)]
Update.

2001-01-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/init-first.c: Remove extra __sysctl
prototype.
* sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.

* include/sys/sysctl.h: New.

* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to
isomac.

23 years agoUpdate.
Andreas Jaeger [Tue, 23 Jan 2001 12:46:59 +0000 (12:46 +0000)]
Update.

* stdlib/Makefile ($(objpfx)isomac.out): Also pass sysincludes to isomac.

23 years agoUpdate.
Andreas Jaeger [Tue, 23 Jan 2001 09:29:53 +0000 (09:29 +0000)]
Update.

* elf/dl-load.c (_dl_init_paths): Don't use strdupa in function
arguments.  Reported by Jiri Kubicek <kubicek@bitsmart.com>,
closes PR libc/2039.

23 years agoUpdate.
Andreas Jaeger [Tue, 23 Jan 2001 08:23:14 +0000 (08:23 +0000)]
Update.

2001-01-23  Andreas Jaeger  <aj@suse.de>

* manual/install.texi (Tools for Compilation): Change required
binutils version.

23 years agoAdd test for new enough binutils version, move compiler/binutils test up.
Andreas Jaeger [Tue, 23 Jan 2001 08:03:26 +0000 (08:03 +0000)]
Add test for new enough binutils version, move compiler/binutils test up.

* configure.in: Add test for new enough binutils version, move
compiler/binutils test up.

23 years agoIndentation fix.
Ulrich Drepper [Mon, 22 Jan 2001 17:05:26 +0000 (17:05 +0000)]
Indentation fix.

23 years ago* Versions.def: Add version GLIBC_2.2.2.
Andreas Jaeger [Mon, 22 Jan 2001 10:03:51 +0000 (10:03 +0000)]
* Versions.def: Add version GLIBC_2.2.2.

2001-01-22  Andreas Jaeger  <aj@suse.de>

* Versions.def: Add version GLIBC_2.2.2.

23 years agoUpdate.
Ulrich Drepper [Mon, 22 Jan 2001 03:56:13 +0000 (03:56 +0000)]
Update.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

* iconvdata/TESTS: UTF-8 test data for IBM932 and IBM943 are now
available.
* iconvdata/testdata/IBM932: New file.
* iconvdata/testdata/IBM932..UTF8: New file.
* iconvdata/testdata/IBM943: New file.
* iconvdata/testdata/IBM943..UTF8: New file.
Contributed by Masahide Washizawa <washi@jp.ibm.com>.

23 years agoUpdate.
Ulrich Drepper [Mon, 22 Jan 2001 00:12:23 +0000 (00:12 +0000)]
Update.

2001-01-21  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correctly mask offset.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c: Remove a few unnecessary initializers of global
variables.

23 years agoUpdate.
Ulrich Drepper [Sun, 21 Jan 2001 21:23:21 +0000 (21:23 +0000)]
Update.

2000-12-09  H.J. Lu  <hjl@gnu.org>

* nss/Makefile (routines): Add digits_dots.
* nss/Versions (libc): Add __nss_hostname_digits_dots to GLIBC_2.2.2.
* nss/digits_dots.c (__nss_hostname_digits_dots): Turn template
into a function.
* nss/nsswitch.h (__nss_hostname_digits_dots): New internal NSS
function.
* nss/getXXbyYY.c (H_ERRNO_VAR_P): New definition.
(TYPE_VAR_P): Likewise.
(FLAGS_VAR): Likewise.
(AF_VAR_P): Likewise.
(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
instead of including digits_dots.c.
* nss/getXXbyYY_r.c (H_ERRNO_VAR_P): New definition.
(TYPE_VAR_P): Likewise.
(FLAGS_VAR): Likewise.
(AF_VAR_P): Likewise.
(INTERNAL (REENTRANT_NAME)): Call __nss_hostname_digits_dots ()
instead of including digits_dots.c.

23 years agoUpdate.
Ulrich Drepper [Sun, 21 Jan 2001 19:31:41 +0000 (19:31 +0000)]
Update.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c: Reduce .data size.

23 years agoReduce .data size.
Ulrich Drepper [Sun, 21 Jan 2001 19:30:28 +0000 (19:30 +0000)]
Reduce .data size.

23 years agoUpdate.
Andreas Jaeger [Sun, 21 Jan 2001 17:16:06 +0000 (17:16 +0000)]
Update.

2001-01-21  Andreas Jaeger  <aj@suse.de>

* elf/constload2.c: Add prototype for init.

23 years agoAdd prototype for init.
Andreas Jaeger [Sun, 21 Jan 2001 17:15:50 +0000 (17:15 +0000)]
Add prototype for init.

23 years agoUpdate.
Ulrich Drepper [Sun, 21 Jan 2001 16:54:08 +0000 (16:54 +0000)]
Update.

* stdlib/stdlib.h (drand48_data): Make available only for
__USE_MISC.  Rename elements to protect namespace.  Change type
and position of a and init element.
* stdlib/drand48-iter.c: Don't handle unsigned short > 16 bit
differently.  Adjust for drand48_data change.  Don't compute a here,
it comes from drand48_data.
* stdlib/lcong48_r.c: Don't handle unsigned short > 16 bit
differently.  Adjust for drand48_data change.  Compute a here.
* stdlib/srand48_r.c: Likewise.
* stdlib/drand48.c: Adjust for drand48_data change.
* stdlib/lrand48.c: Likewise.
* stdlib/mrand48.c: Likewise.
* stdlib/seek48.c: Likewise.
* stdlib/drand48_r.c: Likewise.
* stdlib/lrand48_r.c: Likewise.
* stdlib/mrand48_r.c: Likewise.
* stdlib/seed48_r.c: Likewise.  Don't handle unsigned short > 16 bit
differently.
* stdlib/erand48_r.c: Don't handle unsigned short > 16 bit differently.
* stdlib/jrand48_r.c: Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 21 Jan 2001 16:01:00 +0000 (16:01 +0000)]
Update.

2001-01-21  Ulrich Drepper  <drepper@redhat.com>

* po/sv.po: Update from translation team.

23 years agoUpdate from translation team.
Ulrich Drepper [Sun, 21 Jan 2001 16:00:01 +0000 (16:00 +0000)]
Update from translation team.

23 years agoUpdate.
Andreas Jaeger [Sun, 21 Jan 2001 14:58:35 +0000 (14:58 +0000)]
Update.

2001-01-21  Andreas Jaeger  <aj@suse.de>

* stdio-common/vfprintf.c (vfprintf): Add casts.

23 years ago(vfprintf): Add casts.
Andreas Jaeger [Sun, 21 Jan 2001 14:58:07 +0000 (14:58 +0000)]
(vfprintf): Add casts.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 21:20:46 +0000 (21:20 +0000)]
Update.

* iconvdata/run-iconv-test.sh: Reorgnize a bit to allow running only
the ASCII test.
* iconvdata/TESTS: Add entries for IBM932 and IBM943.

* iconvdata/Makefile (modules): Add IBM932 and IBM943.
* iconvdata/gconv-modules: Add entries for IBM932 and IBM943.
* iconvdata/ibm932.c: New file.
* iconvdata/ibm932.h: New file.
* iconvdata/ibm943.c: New file.
* iconvdata/ibm943.h: New file.
Patches by Masahide Washizawa <washi@jp.ibm.com>.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 19:14:31 +0000 (19:14 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix typo
preventing optimization from being done.  Set the correct type bit
in seen.  Don't define and use _dl_base_addr unless

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 16:51:01 +0000 (16:51 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Initialize egid
to 1.  This helps those installing ld.so SUID (nobody will be that
stupid, I hope).  Don't define and use _dl_base_addr unless
NEED_DL_BASE_ADDR is defined.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 16:30:18 +0000 (16:30 +0000)]
Update.

2001-01-20  Ulrich Drepper  <drepper@redhat.com>

* io/ftw.c (ftw_dir): Add slash after directory name if there
wasn't any.  Reported by loris <loris@iol.it>.
* io/Makefile (tests): Add bug-ftw2.
* io/bug-ftw2.c: New file.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 04:33:16 +0000 (04:33 +0000)]
Update.

* stdlib/jrand48_r.c (__jrand48_r): Correct constructing of
results.  Reported by Jeff Higham <jhigham@algorithmics.com>.
* stdlib/tst-rand48.c: New file.
* stdlib/Makefile (tests): Add tst-rand48.

23 years agoUpdate.
Ulrich Drepper [Sat, 20 Jan 2001 01:50:54 +0000 (01:50 +0000)]
Update.

2001-01-19  Ulrich Drepper  <drepper@redhat.com>

* locale/newlocale.c (__newlocale): Fix test for setting all
categories.