Andreas Jaeger [Tue, 6 Feb 2001 18:27:57 +0000 (18:27 +0000)]
Update.
2001-02-06 Andreas Jaeger <aj@suse.de>
* include/pthread.h: New file.
* wctype/wctype.h: Move internal interfaces from here to...
* include/wctype.h: ...here.
* wcsmbs/wchar.h: Move __wcslen from here to...
* include/wchar.h: ...here.
* posix/sys/wait.h: Move __wait from here to...
* include/sys/wait.h: ...here.
* string/string.h: Move __ffs and __strerror_r from here to...
* include/string.h: ...here.
* stdlib/stdlib.h: Move __on_exit from here to...
* include/stdlib.h: ...here.
* libio/stdio.h: Move __vsnprintf from here to...
* include/stdio.h: ...here.
Andreas Jaeger [Tue, 6 Feb 2001 18:25:35 +0000 (18:25 +0000)]
* sysdeps/pthread/pthread.h: Move __pthread_initialize from here
to...
* internals.h: ...here.
2001-02-06 Andreas Jaeger <aj@suse.de>
* sysdeps/pthread/pthread.h: Move __pthread_initialize from here
to...
* internals.h: ...here.
Andreas Schwab [Tue, 6 Feb 2001 17:31:04 +0000 (17:31 +0000)]
* sysdeps/unix/sysv/linux/ia64/ioperm.c: Don't include kernel
headers.
* timezone/Makefile: Don't assume that $(inst_zonedir) is a subdir
of $(inst_datadir).
Andreas Schwab [Tue, 6 Feb 2001 17:29:06 +0000 (17:29 +0000)]
Don't assume that $(inst_zonedir) is a subdir of $(inst_datadir).
Ulrich Drepper [Tue, 6 Feb 2001 17:22:06 +0000 (17:22 +0000)]
Update.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile: Add dependency for bug-iconv2.out.
Ulrich Drepper [Tue, 6 Feb 2001 17:21:38 +0000 (17:21 +0000)]
Add dependency for bug-iconv2.out.
Andreas Jaeger [Tue, 6 Feb 2001 10:46:27 +0000 (10:46 +0000)]
Update.
2001-02-06 Andreas Jaeger <aj@suse.de>
* elf/firstobj.c: Add prototype.
* posix/regex.c (convert_mbs_to_wcs): Make static, add prototype
(truncate_wchar): Likewise.
Andreas Jaeger [Tue, 6 Feb 2001 10:38:10 +0000 (10:38 +0000)]
Add prototype.
Ulrich Drepper [Tue, 6 Feb 2001 09:32:00 +0000 (09:32 +0000)]
Update.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locale.c: Implement --verbose option for -a
which prints detailed information about the locales.
Ulrich Drepper [Tue, 6 Feb 2001 07:09:01 +0000 (07:09 +0000)]
Update.
2001-02-05 Ulrich Drepper <drepper@redhat.com>
* sunrpc/xdr_rec.c (set_input_fragment): Change type of header
variable to uint32_t.
Reported by Ulrich Weigand <weigand@immd1.informatik.uni-erlangen.de>.
Ulrich Drepper [Tue, 6 Feb 2001 07:00:52 +0000 (07:00 +0000)]
Update.
2001-02-04 Bruno Haible <haible@clisp.cons.org>
* locale/C-translit.h.in: Add transliterations for CJK units of
measurement.
Ulrich Drepper [Tue, 6 Feb 2001 05:48:26 +0000 (05:48 +0000)]
Update.
* elf/cache.c (print_entry): Use PRIx64 instead of Lx in printf
string. Include <inttypes.h> instead of <stdint.h>.
Ulrich Drepper [Tue, 6 Feb 2001 04:20:37 +0000 (04:20 +0000)]
Update.
* localedata/Makefile (tests): Add bug-iconv-trans.
Define bug-iconv-trans-ENV.
* localedata/bug-iconv-trans.c: New file.
2001-02-04 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_trans.c (__gconv_transliterate): Use a temporary output
pointer, to avoid accumulating output from incomplete (unsuccessful)
transliteration attempts.
2001-02-05 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 6 Feb 2001 00:56:59 +0000 (00:56 +0000)]
Update.
* elf/ldconfig.c (search_dir): Use PRIx64 instead of Lx in printf
string. Include <inttypes.h> instead of <stdint.h>.
Ulrich Drepper [Mon, 5 Feb 2001 23:00:02 +0000 (23:00 +0000)]
Update.
2001-02-05 Ulrich Drepper <drepper@redhat.com>
* configure.in: Add check for bison.
* config.make.in: Define BISON variable.
* intl/Makefile: Use BISON instead of YACC when generating plural.c.
Rename YFLAGS to BISONFLAGS.
Ulrich Drepper [Mon, 5 Feb 2001 22:58:04 +0000 (22:58 +0000)]
Add check for bison.
Andreas Jaeger [Mon, 5 Feb 2001 21:38:54 +0000 (21:38 +0000)]
Update.
* io/test-lfs.c (do_test): Test lseek64 return value, call
test_ftello.
(test_ftello): New function to test ftello64 and fseeko64.
Andreas Jaeger [Mon, 5 Feb 2001 19:55:22 +0000 (19:55 +0000)]
Update.
* signal/signal.h: Move __sigaction from here to...
* include/signal.h: ...here.
Andreas Jaeger [Mon, 5 Feb 2001 17:12:57 +0000 (17:12 +0000)]
Update.
2001-02-05 Andreas Jaeger <aj@suse.de>
* io/fcntl.h: Move __fcntl and __open to...
* include/fcntl.h: ...here.
Andreas Jaeger [Mon, 5 Feb 2001 12:35:36 +0000 (12:35 +0000)]
Fixed entry.
annexc.
Ulrich Drepper [Mon, 5 Feb 2001 06:01:54 +0000 (06:01 +0000)]
Update.
2001-02-04 Philip Blundell <philb@gnu.org>
* configure.in: Distinguish ARM from Thumb.
2001-02-04 Philip Blundell <philb@gnu.org>
* sysdeps/arm/dl-machine.h (elf_machine_rel): Correct handling of
PC24 relocs with negative value.
Ulrich Drepper [Mon, 5 Feb 2001 05:57:24 +0000 (05:57 +0000)]
Update.
2001-02-04 Ulrich Drepper <drepper@redhat.com>
* iconv/Makefile (iconv_prog-modules): Define. Add vpath to find
files in locale/programs. Add CFLAGS definition to allow compiling
localedef files.
* iconv/dummy-repertoire.c: New file.
* iconv/iconv_charmap.c: New file.
* iconv/iconv_prog.h: New file.
* iconv/iconv_prog.c: Make verbose and omit_invalid global.
(main): If parameter for -f and -t contain slashes try first to resolve
the strings as filenames of charmap files. Use them for conversion
in this case.
* iconvdata/run-iconv-test.sh: If charmaps exist also run tests with
iconv getting charmap names as parameters.
* locale/programs/linereader.c (lr_token): Take extra parameters
verbose and pass it to get_string.
(get_string): Take extra parameters verbose.
* locale/programs/charmap.c (parse_charmap): Take extra parameters
verbose and be_quiet. Change all callers of lr_token and
parse_charmap.
* locale/programs/charmap.h: Likewise.
* locale/programs/ld-address.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/linereader.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/locfile.h: Likewise.
* locale/programs/repertoire.c: Likewise.
Ulrich Drepper [Sun, 4 Feb 2001 06:04:08 +0000 (06:04 +0000)]
Update.
* iconv/iconv_prog.c (main): If output file name is "-" write to
stdout.
(main): If -f or -t argument is missing use charset of the current
locale.
Ulrich Drepper [Sun, 4 Feb 2001 05:49:34 +0000 (05:49 +0000)]
Update.
2001-02-03 Ulrich Drepper <drepper@redhat.com>
* iconv/iconv_prog.c (main): If -f or -t argument is missing use
charset of the current locale.
Ulrich Drepper [Sun, 4 Feb 2001 05:49:00 +0000 (05:49 +0000)]
(main): If -f or -t argument is missing use charset of the current locale.
Andreas Jaeger [Sat, 3 Feb 2001 21:34:54 +0000 (21:34 +0000)]
Update copyright.
Andreas Jaeger [Sat, 3 Feb 2001 21:32:06 +0000 (21:32 +0000)]
Update.
* sysdeps/i386/elf/start.S (_start): Align stack to 16-byte
boundary for SSE/SSE-2 alignment.
Andreas Jaeger [Sat, 3 Feb 2001 19:07:13 +0000 (19:07 +0000)]
Update.
2001-02-03 Andreas Jaeger <aj@suse.de>
* posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
isomac.
Andreas Jaeger [Sat, 3 Feb 2001 19:07:06 +0000 (19:07 +0000)]
* posix/Makefile ($(objpfx)annexc.out): Also pass sysincludes to
isomac.
Ulrich Drepper [Sat, 3 Feb 2001 17:06:42 +0000 (17:06 +0000)]
Update.
Remove comma at end of enum.
Ulrich Drepper [Sat, 3 Feb 2001 17:05:24 +0000 (17:05 +0000)]
Update.
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: File was using crlf.
Ulrich Drepper [Sat, 3 Feb 2001 08:44:01 +0000 (08:44 +0000)]
Update.
* elf/dl-init.c: Add a few __builtin_expect.
Ulrich Drepper [Sat, 3 Feb 2001 08:30:32 +0000 (08:30 +0000)]
Update.
2001-02-03 Ulrich Drepper <drepper@redhat.com>
* hesiod/hesiod.c: Remove unnecessary code. Remove all uses of strcat.
* hesiod/hesiod.c (hesiod_resolve): Also search HS records if
Ulrich Drepper [Sat, 3 Feb 2001 07:01:11 +0000 (07:01 +0000)]
Update.
* hesiod/hesiod.c (hesiod_resolve): Also search HS records is
errno is ECONNREFUSED.
* posix/Makefile: Define MBS_SUPPORT for regex.c.
Ulrich Drepper [Fri, 2 Feb 2001 08:47:28 +0000 (08:47 +0000)]
Update.
* posix/regex.c: Implement multibyte character handling.
Patch by Isamu Hasegawa <isamu@yamato.ibm.co.jp>.
Ulrich Drepper [Fri, 2 Feb 2001 08:24:56 +0000 (08:24 +0000)]
Update.
2001-02-02 Ulrich Drepper <drepper@redhat.com>
* string/tst-svc.input: Add two more test cases.
* string/tst-svc.expect: Modify to reflect new test cases.
2001-02-01 Jakub Jelinek <jakub@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_local, gaih_inet): Replace all
tp->name tests with tp->name[0] tests.
2001-01-29 Ben Collins <bcollins@debian.org>
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r):
Fix check for name == NULL.
Ulrich Drepper [Fri, 2 Feb 2001 06:54:15 +0000 (06:54 +0000)]
Update.
* elf/Makefile: Add rules to build and run initfirst test.
* elf/initfirst.c: New file.
* elf/firstobj.c: New file.
Ulrich Drepper [Fri, 2 Feb 2001 06:19:24 +0000 (06:19 +0000)]
Update.
2001-02-01 Ulrich Drepper <drepper@redhat.com>
* Makerules (build-shlib): Add $(extra-B-$(@F:lib%.so=%).so).
* configure.in: Test for -z initfirst linker option.
* config.make.in: Add have-z-initfirst.
* elf/dl-init.c (_dl_init): Split out actual initialization code in
new function call_init. If _dl_initfirst is non-NULL initialize first.
* elf/dl-load.c (_dl_map_from_fd): If DF_1_INITFIRST flag is set
remember object in _dl_initfirst.
* elf/soinit.c: Remove special support for calling
__pthread_initialize_minimal.
* conform/conformtest.pl: Add missing $prepend in type test.
* elf/elf.h (SHT_CHECKSUM): New definition.
* posix/tst-fnmatch.input: Add tests for [. .] in locales.
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>
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.
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>.
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.
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>.
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.
Ulrich Drepper [Tue, 30 Jan 2001 01:45:30 +0000 (01:45 +0000)]
Update.
* malloc/Makefile: Don't build memusagestat if cross-compiling.
Ulrich Drepper [Tue, 30 Jan 2001 01:43:27 +0000 (01:43 +0000)]
Update.
* sysdeps/generic/dl-sysdep.c (set_seen): Fix typo.
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.
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.
Ulrich Drepper [Sun, 28 Jan 2001 23:11:23 +0000 (23:11 +0000)]
Update.
* conform/conformtest.pl: Add -fno-builtin to CFLAGS.
Ulrich Drepper [Sun, 28 Jan 2001 22:59:44 +0000 (22:59 +0000)]
Update.
* conform/data/stdlib.h-data: Add _Exit.
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>.
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>.
Ulrich Drepper [Sun, 28 Jan 2001 20:33:02 +0000 (20:33 +0000)]
Update.
* conform/data/spawn.h-data: Allow all of <sched.h>.
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.
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.
Ulrich Drepper [Sun, 28 Jan 2001 17:18:19 +0000 (17:18 +0000)]
Update.
* sysdeps/ieee754/ldbl-96/s_frexpl.c: Include <float.h>.
Ulrich Drepper [Sun, 28 Jan 2001 17:17:39 +0000 (17:17 +0000)]
Include <float.h>.
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.
Ulrich Drepper [Sun, 28 Jan 2001 09:46:59 +0000 (09:46 +0000)]
Update.
* conform/conformtest.pl: Define $mustprepend{"stdio.h"}.
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.
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.
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.
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.
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>.
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.
Ulrich Drepper [Sun, 28 Jan 2001 06:38:33 +0000 (06:38 +0000)]
Update.
* sysdeps/unix/time.c: Include <stddef.h> for NULL.
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.
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.
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.
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.
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.
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.
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>.
Ulrich Drepper [Sat, 27 Jan 2001 19:09:14 +0000 (19:09 +0000)]
Include <float.h>.
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>.
Andreas Jaeger [Sat, 27 Jan 2001 10:54:50 +0000 (10:54 +0000)]
Include <float.h>.
Ulrich Drepper [Sat, 27 Jan 2001 08:32:08 +0000 (08:32 +0000)]
(Environment Access): Adjust comment about setenv() being BSD-only.
Ulrich Drepper [Sat, 27 Jan 2001 08:21:42 +0000 (08:21 +0000)]
Update.
Change return type of random to long int.
Ulrich Drepper [Sat, 27 Jan 2001 08:17:38 +0000 (08:17 +0000)]
Update.
* include/stdlib.h: Change return type of unsetenv to int.
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.
Ulrich Drepper [Sat, 27 Jan 2001 06:42:01 +0000 (06:42 +0000)]
Update.
* conform/data/stdio.h-data: Account for changes in XPG6.
Ulrich Drepper [Sat, 27 Jan 2001 06:35:43 +0000 (06:35 +0000)]
Update.
* conform/data/spawn.h-data: Correct posix_spawnattr_setflags
prototype.
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.
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.
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.
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_.
Ulrich Drepper [Sat, 27 Jan 2001 04:10:50 +0000 (04:10 +0000)]
Update.
* sysdeps/gnu/net/if.h: Cleanup namespace. Define IF_NAMESIZE.
Ulrich Drepper [Sat, 27 Jan 2001 03:03:05 +0000 (03:03 +0000)]
Update.
* inet/netinet/in.h: Make IPPROTO_ constants also macros.
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.
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.
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.
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.
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.
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.
Ulrich Drepper [Fri, 26 Jan 2001 17:18:04 +0000 (17:18 +0000)]
Update.
* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
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.
Ulrich Drepper [Fri, 26 Jan 2001 17:01:03 +0000 (17:01 +0000)]
Fix a few typos.
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.
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.
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.