platform/upstream/linaro-glibc.git
23 years agoUpdate.
Ulrich Drepper [Thu, 1 Feb 2001 07:28:23 +0000 (07:28 +0000)]
Update.

* posix/fnmatch_loop.c: Remove incorrect reverse condition in
[. .] matching.  Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.

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

* misc/sys/select.h: Include <bits/time.h> instead of <sys/time.h>
to get definition of `struct timeval'.

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

23 years agoUpdate.
Ulrich Drepper [Wed, 31 Jan 2001 21:04:34 +0000 (21:04 +0000)]
Update.

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

* posix/tst-fnmatch.input: Add test cases for de_DE.UTF-8 locale.
* posix/fnmatch_loop.c: Fix handling of [= =] for multibyte charsets.

23 years agoUpdate.
Ulrich Drepper [Wed, 31 Jan 2001 07:42:03 +0000 (07:42 +0000)]
Update.

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

* iconv/gconv_open.c (__gconv_open): Set conv_flags if IGNORE is
seen, not flags.

* nis/nis_findserv.c: Include <time.h>.

23 years agoUpdate.
Ulrich Drepper [Wed, 31 Jan 2001 07:00:50 +0000 (07:00 +0000)]
Update.

2001-01-30  Yong Li  <yong.li@asu.edu>

* iconv/gconv_open.c (__gconv_open): Fix the variable used to
set result->__data[cnt].__flags.
* iconv/iconv_prog.c (main): Correct error handling method name.

23 years agoUpdate.
Ulrich Drepper [Wed, 31 Jan 2001 06:36:39 +0000 (06:36 +0000)]
Update.

2001-01-29  Ben Collins  <bcollins@debian.org>

* sysdeps/sparc/fpu/fraiseexcpt.c: Include <float.h>.
* sysdeps/hppa/fpu/fraiseexcpt.c: Likewise.
* sysdeps/m68k/fpu/fraiseexcpt.c: Likewise.
* sysdeps/s390/fpu/fraiseexcpt.c: Likewise.

* locale/programs/ld-measurement.c (measurement_finish): Fix a typo.
Patch by Marko Myllynen <myllynen@lut.fi>.

* string/bits/string2.h (__strpbrk_c2): Correct parameter types
(int instead of char).
(__strpbrk_c3): Likewise.
Reported by GOTO Masanori <gotom@debian.or.jp>.

Reported by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.

23 years agoUpdate.
Ulrich Drepper [Wed, 31 Jan 2001 06:16:26 +0000 (06:16 +0000)]
Update.

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

* sysdeps/generic/bits/sockaddr.h: Remove SA_LEN macro.
* sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Likewise.
* include/sys/socket.h: Add SA_LEN here for internal use.

23 years agoUpdate.
Ulrich Drepper [Tue, 30 Jan 2001 01:45:30 +0000 (01:45 +0000)]
Update.

* malloc/Makefile: Don't build memusagestat if cross-compiling.

23 years agoUpdate.
Ulrich Drepper [Tue, 30 Jan 2001 01:43:27 +0000 (01:43 +0000)]
Update.

* sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.

23 years agoUpdate.
Ulrich Drepper [Mon, 29 Jan 2001 18:45:41 +0000 (18:45 +0000)]
Update.

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

* math/libm-test.inc (rint_test): Add a few more tests for round
to even rounding.

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

* conform/data/pthread.h-data: Correct return type of pthread_exit.

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

* conform/conformtest.pl: Add -fno-builtin to CFLAGS.

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

* conform/data/stdlib.h-data: Add _Exit.

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

* inet/arpa/inet.h: Don't include <sys/types.h>.  Define socklen_t
if not already happened.
* inet/netinet/in.h: Don't include <sys/types.h>, use <bits/types.h>.
Don't include <limits.h> and <bits/sockaddr.h>.

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

* conform/data/netinet/in.h-data: Allow all of <inttypes.h>.

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

* conform/data/spawn.h-data: Allow all of <sched.h>.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 18:58:10 +0000 (18:58 +0000)]
Update.

* sysdeps/ia64/fpu/fraiseexcpt.c: Include <float.h>.  Removed
unused variable.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 17:53:49 +0000 (17:53 +0000)]
Update.

* sunrpc/xdr_rec.c (xdrrec_getpos): Add cast to long to avoid warning.
* sunrpc/xdr_sizeof.c (x_inline): Likewise.

23 years agoUpdate.
Ulrich Drepper [Sun, 28 Jan 2001 17:18:19 +0000 (17:18 +0000)]
Update.

* sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.

23 years agoInclude <float.h>.
Ulrich Drepper [Sun, 28 Jan 2001 17:17:39 +0000 (17:17 +0000)]
Include <float.h>.

23 years agoAdjust for last change.
Andreas Jaeger [Sun, 28 Jan 2001 16:39:07 +0000 (16:39 +0000)]
Adjust for last change.

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

* oldsemaphore.c (__old_sem_init): Adjust for last change.
* sysdeps/pthread/bits/libc-lock.h: Likewise.
* spinlock.c: Likewise.

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

* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.

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.