Andreas Jaeger [Thu, 8 Feb 2001 07:47:25 +0000 (07:47 +0000)]
Partly revert last patch.
Andreas Jaeger [Thu, 8 Feb 2001 07:31:56 +0000 (07:31 +0000)]
Add some entries for new locales.
2001-02-08 Andreas Jaeger <aj@suse.de>
* localedata/SUPPORTED: Add some entries for new locales.
2001-02-07 Andreas Jaeger <aj@suse.de>
* locales/ar_IN: New.
* locales/bn_IN: New.
* locales/el_GR@euro: New.
* locales/en_HK: New.
* locales/en_IN: New.
* locales/en_PH: New.
* locales/en_SG: New.
* locales/ms_MY: New.
* locales/ta_IN: New.
* locales/te_IN: New.
* locales/zh_SG: New.
Ulrich Drepper [Wed, 7 Feb 2001 20:56:11 +0000 (20:56 +0000)]
Update.
* sysdeps/alpha/alphaev67/strncat.S: Align last write address.
Patch by Richard Henderson <rth@redhat.com>.
Reported by Claus-Justus Heine <heine@instmath.rwth-aachen.de>.
Ulrich Drepper [Wed, 7 Feb 2001 19:07:39 +0000 (19:07 +0000)]
Update.
* stdlib/strfmon.c [USE_IN_LIBIO]: Define lock variable and store
point in FILE structure before calling _IO_init.
* stdlib/Makefile: Add -D_IO_MTSAFE_IO to CFLAGS for strfmon and
strfmon_l if necessary.
Reported by Jury Gerold <gjury@grips.com>.
Ulrich Drepper [Wed, 7 Feb 2001 18:46:03 +0000 (18:46 +0000)]
Update.
2001-02-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/netinet/tcp.h: Correct values of TCP_ macros.
Patch by Pekka.Pietikainen@cern.ch.
* posix/regex.c: Correct several problems with 64-bit architectures
introduced in the MBS changes.
Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
2001-02-07 Jakub Jelinek <jakub@redhat.com>
* math/tgmath.h: Only add l suffixes if __NO_LONG_DOUBLE_MATH is
not defined.
* sysdeps/alpha/fpu/bits/mathinline.h: Honour __NO_MATH_INLINES.
Ulrich Drepper [Wed, 7 Feb 2001 18:20:15 +0000 (18:20 +0000)]
Only add l suffixes if __NO_LONG_DOUBLE_MATH is not defined.
Andreas Jaeger [Wed, 7 Feb 2001 13:33:14 +0000 (13:33 +0000)]
Locale files from IBM.
Andreas Jaeger [Wed, 7 Feb 2001 12:32:21 +0000 (12:32 +0000)]
Update.
2001-02-07 Andreas Jaeger <aj@suse.de>
* manual/install.texi (Tools for Compilation): Fix typo.
Reported by Pavel Machek <pavel@bug.ucw.cz>.
Andreas Jaeger [Wed, 7 Feb 2001 12:32:06 +0000 (12:32 +0000)]
Fix typo.
Ulrich Drepper [Wed, 7 Feb 2001 08:31:01 +0000 (08:31 +0000)]
Update.
2001-02-07 Ulrich Drepper <drepper@redhat.com>
* stdlib/strtod.c: Never stop prematurely reading digits before the
decimal point is found. Compute exponent limit for negative exponents
correctly. For numbers ending in all zeros eat the zeroes even before
the decimal point if the exponent is negative [PR libc/2072].
* stdlib/Makefile (tests): Add bug-strtod.
* stdlib/bug-strtod.c: New file.
* posix/regex.c (regex_compile): Don't store pointer in wchar_t array.
Store index.
(compile_range): Handle index being passed, not pointer.
Patch by Isamu Hasegawa <isamu@yamato.ibm.com>.
Ulrich Drepper [Wed, 7 Feb 2001 08:28:15 +0000 (08:28 +0000)]
Never stop prematurely reading digits before the decimal point is found. Compute exponent limit for negative exponents correctly. For numbers ending in all zeros eat the zeroes even before the decimal point if the exponent is negative.
Andreas Jaeger [Wed, 7 Feb 2001 07:26:01 +0000 (07:26 +0000)]
Update.
2001-02-07 Andreas Jaeger <aj@suse.de>
* posix/bug-regex1.c: Include <wchar.h> for fwide.
Andreas Jaeger [Wed, 7 Feb 2001 07:25:37 +0000 (07:25 +0000)]
Include <wchar.h> for fwide.
Ulrich Drepper [Wed, 7 Feb 2001 01:30:53 +0000 (01:30 +0000)]
Update.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* posix/regex.c: Fix a cast in the code for bracket handling which
caused 8-bit uncleanliness.
Patch by Michal Jaegermann <michal@ellpspace.math.ualberta.ca>.
* posix/Makefile (tests): Add bug-regex1.
* posix/bug-regex1.c: New file.
Contributed by Jim Meyering <jim@meyering.net>.
* posix/regex.c: Many cleanups for incorrect format strings.
Ulrich Drepper [Wed, 7 Feb 2001 01:28:35 +0000 (01:28 +0000)]
Update.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: First attempt to fix the
broken code. Patch by Jes Sorensen.
Ulrich Drepper [Wed, 7 Feb 2001 01:23:36 +0000 (01:23 +0000)]
(tests): Add bug-regex1.
Andreas Jaeger [Tue, 6 Feb 2001 19:26:48 +0000 (19:26 +0000)]
Update.
2001-02-06 Andreas Jaeger <aj@suse.de>
* time/time.h (CLK_TCK): Check for !__STRICT_ANSI.
Andreas Jaeger [Tue, 6 Feb 2001 19:25:27 +0000 (19:25 +0000)]
(CLK_TCK): Check for !__STRICT_ANSI.
Ulrich Drepper [Tue, 6 Feb 2001 18:56:47 +0000 (18:56 +0000)]
Update.
2001-02-06 Ulrich Drepper <drepper@redhat.com>
* locale/programs/locale.c (write_locales): Use scandir to read
directory so that the entries are sorted.
Ulrich Drepper [Tue, 6 Feb 2001 18:35:07 +0000 (18:35 +0000)]
Extend LC_IDENTIFICATION entries a bit.
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.