Ulrich Drepper [Thu, 21 Dec 2000 23:42:32 +0000 (23:42 +0000)]
Update.
2000-12-21 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/math_ldbl.h (ieee_long_double_shape_type):
Make sign_exponent element signed.
* sysdeps/ieee754/ldbl-96/math_ldbl.h (ieee_long_double_shape_type):
Fix a typo.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Remove dead branch.
Ulrich Drepper [Thu, 21 Dec 2000 23:30:28 +0000 (23:30 +0000)]
Fix a typo.
Andreas Jaeger [Thu, 21 Dec 2000 17:24:40 +0000 (17:24 +0000)]
Update.
2000-12-21 Andreas Jaeger <aj@suse.de>
* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
* inet/ether_hton.c: Likewise
* inet/ether_ntoh.c: Likewise.
* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
declaration to match prototype.
* include/netinet/ether.h (struct etherent): Declare here so that
all implementations use the same struct.
* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
prototypes.
(struct ether): Removed.
Use struct etherent instead of ether everywhere.
* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
* sunrpc/publickey.c: Include auth_des.h for prototypes.
* test-skeleton.c: Use temp_name_list instead of name_list to
Andreas Jaeger [Thu, 21 Dec 2000 14:38:26 +0000 (14:38 +0000)]
* nis/nss_nisplus/nisplus-ethers.c (struct etherent): Removed.
* inet/ether_hton.c: Likewise
* inet/ether_ntoh.c: Likewise.
* nis/nss_nis/nis-ethers.c (_nss_nis_getntohost_r): Fix
declaration to match prototype.
* include/netinet/ether.h (struct etherent): Declare here so that
all implementations use the same struct.
* nis/nss_nis/nis-ethers.c: Include netinet/ether.h to get
prototypes.
(struct ether): Removed.
Use struct etherent instead of ether everywhere.
* include/rpc/auth.h (DECLARE_NSS_PROTOTYPES): New.
* include/rpc/auth_des.h (DECLARE_NSS_PROTOTYPES): New.
* sunrpc/publickey.c: Include auth_des.h for prototypes.
Ulrich Drepper [Thu, 21 Dec 2000 08:09:22 +0000 (08:09 +0000)]
Add test for nextafter and 0.0.
Ulrich Drepper [Thu, 21 Dec 2000 04:17:49 +0000 (04:17 +0000)]
Update.
2000-12-20 Ulrich Drepper <drepper@redhat.com>
* math/test-misc.c: Add more tests for nextafter functions.
* sysdeps/i386/fpu/s_nextafterl.c: Handle change from denormal to
normal correctly. Correct test for sign.
Based on a patch by HJ Lu.
Ulrich Drepper [Wed, 20 Dec 2000 00:40:36 +0000 (00:40 +0000)]
Update.
2000-12-19 Ulrich Drepper <drepper@redhat.com>
* Makeconfig (preprocess-version): Add -traditional to gcc call.
Cleanup sed calls.
Ulrich Drepper [Wed, 20 Dec 2000 00:40:12 +0000 (00:40 +0000)]
(preprocess-version): Add -traditional to gcc call. Cleanup sed calls.
Andreas Jaeger [Tue, 19 Dec 2000 10:06:29 +0000 (10:06 +0000)]
(_nss_nis_setrpcent): Fix declaration to match prototype.
Andreas Jaeger [Tue, 19 Dec 2000 09:51:05 +0000 (09:51 +0000)]
Update.
2000-12-19 Andreas Jaeger <aj@suse.de>
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
* nis/nis_intern.h: Add prototype for __do_niscall3.
* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
match prototype.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
Andreas Jaeger [Tue, 19 Dec 2000 09:50:44 +0000 (09:50 +0000)]
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): New.
* nis/nis_intern.h: Add prototype for __do_niscall3.
* nis/nss_nis/nis-rpc.c (_nss_nis_setrpcent): Fix declaration to
match prototype.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): Reformat.
* include/rpc/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/aliases.h (DECLARE_NSS_PROTOTYPES): New.
Ulrich Drepper [Tue, 19 Dec 2000 05:48:11 +0000 (05:48 +0000)]
Fix typos in strings.
Ulrich Drepper [Tue, 19 Dec 2000 05:07:31 +0000 (05:07 +0000)]
Update.
* math/test-misc.c: Add more tests for nextafter.
* sysdeps/i386/fpu/s_nextafterl.c: Handle decrement for x<0 correctly.
* sysdeps/ieee754/ldbl-96/math_ldbl.h
(ieee_long_double_shape_type): Make sign_exponent element signed.
Ulrich Drepper [Tue, 19 Dec 2000 00:53:04 +0000 (00:53 +0000)]
Update.
* manual/message.texi: Add Estonian to plural overview list.
Correct rule for Slavic languages.
Patch by Stanislav Brabec <utx@penguin.cz>.
Ulrich Drepper [Mon, 18 Dec 2000 22:36:28 +0000 (22:36 +0000)]
Update.
2000-12-18 Jes Sorensen <jes@linuxcare.com>
* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
and compare_and_swap_with_release_semantics returns int not long.
Ulrich Drepper [Mon, 18 Dec 2000 17:22:27 +0000 (17:22 +0000)]
Update.
2000-12-18 Ulrich Drepper <drepper@redhat.com>
* nis/nss_nis/nis-netgrp.c: Remove unnecessary initializations.
Ulrich Drepper [Mon, 18 Dec 2000 17:22:03 +0000 (17:22 +0000)]
Remove unnecessary initializations.
Andreas Jaeger [Mon, 18 Dec 2000 16:40:40 +0000 (16:40 +0000)]
Update.
2000-12-18 Andreas Jaeger <aj@suse.de>
* test-skeleton.c: Use temp_name_list instead of temp_name_list to
avoid collision with name_list from inet/netgroup.h.
* nss/nss_files/files-network.c (NEED_H_ERRNO): Define.
* include/grp.h (DECLARE_NSS_PROTOTYPES): New.
* include/pwd.h (DECLARE_NSS_PROTOTYPES): New.
* include/netdb.h (DECLARE_NSS_PROTOTYPES): New.
* include/shadow.h (DECLARE_NSS_PROTOTYPES): New.
* hesiod/nss_hesiod/hesiod-proto.c (_nss_hesiod_setprotoent): Fix
declaration to match prototype.
* hesiod/nss_hesiod/hesiod-pwd.c (_nss_hesiod_setpwent): Likewise.
* hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_setgrent): Likewise.
* hesiod/nss_hesiod/hesiod-service.c (_nss_hesiod_setservent):
Likewise.
* nis/nss_nis/nis-grp.c (_nss_nis_setgrent): Likewise.
* nis/nss_nis/nis-pwd.c (_nss_nis_setpwent): Likewise.
* nis/nss_nis/nis-proto.c (_nss_nis_setprotoent): Likewise.
* nis/nss_nis/nis-service.c (_nss_nis_setservent): Likewise.
(_nss_nis_getservbyport_r): Likewise.
* nis/nss_nis/nis-hosts.c (_nss_nis_sethostent): Likewise.
* nis/nss_nis/nis-spwd.c (_nss_nis_setspent): Likewise.
* nis/nss_nis/nis-network.c (_nss_nis_getnetent_r): Likewise.
(_nss_nis_setnetent): Likewise
* nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
(_nss_nis_endnetgrent): Likewise.
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_endnetgrent):
Likewise.
(_nss_nisplus_setnetgrent): Likewise.
* nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Likewise.
* nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_setpwent): Likewise.
* nis/nss_nisplus/nisplus-grp.c (_nss_nisplus_setgrent): Likewise.
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_setnetent):
Likewise.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_sethostent):
Likewise.
* nis/nss_nisplus/nisplus-service.c (_nss_nisplus_setservent):
Likewise.
* nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_setprotoent):
Likewise.
* nis/nss_compat/compat-spwd.c (_nss_compat_setspent): Likewise.
* nis/nss_compat/compat-pwd.c (_nss_compat_setpwent): Likewise.
* nis/nss_compat/compat-grp.c (_nss_compat_setgrent): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
(_nss_dns_getnetbyaddr_r): Likewise.
Andreas Jaeger [Mon, 18 Dec 2000 05:55:51 +0000 (05:55 +0000)]
Update.
2000-12-17 Andreas Jaeger <aj@suse.de>
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
value.
* sysdeps/arm/pt-machine.h (testandset): Likewise.
* sysdeps/hppa/pt-machine.h (testandset): Likewise.
* sysdeps/m68k/pt-machine.h (testandset): Likewise.
* sysdeps/sh/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
Andreas Jaeger [Mon, 18 Dec 2000 05:55:14 +0000 (05:55 +0000)]
* sysdeps/s390/pt-machine.h (testandset): Use long int as return
value.
* sysdeps/arm/pt-machine.h (testandset): Likewise.
* sysdeps/hppa/pt-machine.h (testandset): Likewise.
* sysdeps/m68k/pt-machine.h (testandset): Likewise.
* sysdeps/sh/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc32/pt-machine.h (testandset): Likewise.
* sysdeps/sparc/sparc64/pt-machine.h (testandset): Likewise.
Ulrich Drepper [Sun, 17 Dec 2000 21:48:43 +0000 (21:48 +0000)]
Update.
2000-12-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/pt-machine.h (testandset): Adjust for prototype change.
* sysdeps/i386/i686/pt-machine.h (testandset): Likewise.
Ulrich Drepper [Sun, 17 Dec 2000 21:48:10 +0000 (21:48 +0000)]
(testandset): Adjust for prototype change.
Andreas Jaeger [Sun, 17 Dec 2000 18:12:07 +0000 (18:12 +0000)]
Update.
* sysdeps/generic/k_sinl.c (__kernel_sinl): Fix functions
parameter.
* sysdeps/unix/sysv/linux/shm_open.c (freeit): Make static and add
unused attribute to shut up gcc warnings.
* sysdeps/generic/k_sinl.c: Include math_private for prototypes.
* sysdeps/generic/k_tanl.c: Likewise.
* sysdeps/generic/k_cosl.c: Likewise.
* sysdeps/generic/e_j0l.c: Likewise.
* sysdeps/generic/e_j1l.c: Likewise.
* sysdeps/generic/e_jnl.c: Likewise.
* sysdeps/generic/e_lgammal_r.c: Likewise.
Andreas Jaeger [Sun, 17 Dec 2000 17:50:56 +0000 (17:50 +0000)]
Update.
* elf/neededobj1.c: Likewise.
* elf/neededobj2.c: Likewise.
* elf/neededobj3.c: Likewise.
* elf/neededobj4.c: Likewise.
* elf/nextmod1.c: Likewise.
* elf/nextmod2.c: Likewise.
Andreas Jaeger [Sun, 17 Dec 2000 17:09:01 +0000 (17:09 +0000)]
Update.
2000-12-17 Andreas Jaeger <aj@suse.de>
* elf/vismain.c: Move prototypes for functions in vismod*.c to
vismod.h.
* elf/vismod.h: New file.
* elf/Makefile (distribute): Add vismod.h.
* elf/vismod1.c: Include vismod.h.
* elf/vismod2.c: Likewise.
* elf/vismod3.c: Likewise.
* elf/constload3.c: Add prototype declarations to shut up gcc.
* elf/failobj.c: Likewise.
* elf/nodelmod3.c: Likewise.
* elf/filtmod1.c: Likewise.
* elf/filtmod2.c: Likewise.
* elf/reldepmod1.c: Likewise.
* elf/reldepmod2.c: Likewise.
* elf/reldepmod3.c: Likewise.
* elf/reldepmod4.c: Likewise.
* elf/unload2dep.c: Likewise.
* elf/unload2mod.c: Likewise.
* elf/ltglobmod1.c: Likewise.
* elf/pathoptobj.c: Likewise.
* locale/programs/ld-collate.c (collate_finish): Don't use labels
at end of compound statement.
* locale/programs/locale.c (show_info): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Andreas Jaeger [Sun, 17 Dec 2000 17:06:32 +0000 (17:06 +0000)]
* locale/programs/ld-collate.c (collate_finish): Don't use labels
at end of compound statement.
* locale/programs/locale.c (show_info): Likewise.
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise.
Ulrich Drepper [Sat, 16 Dec 2000 18:25:45 +0000 (18:25 +0000)]
Update.
2000-12-16 Jakub Jelinek <jakub@redhat.com>
* catgets/gencat.c (read_input_file): Avoid calling obstack_free
with a pointer not returned by obstack_ functions.
* sysdeps/unix/sysv/aix/bits/stat.h (struct stat): Align with AIX
version.
(struct stat64): Likewise.
Reported by Michael Keezer <mkeezer@redhat.com>.
Ulrich Drepper [Sat, 16 Dec 2000 17:50:48 +0000 (17:50 +0000)]
Update.
2000-12-16 Ulrich Drepper <drepper@redhat.com>
* timezone/asia: Update from tzdata2000h.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
2000-12-14 Jakub Jelinek <jakub@redhat.com>
* io/ftw.c (ftw_dir): If process_entry returned non-zero result
and dir.stream is NULL, only free dir.content.
* io/ftwtest.c (cb, main): Add --early-exit option to test it.
* io/ftwtest-sh: Test with --early-exit.
Ulrich Drepper [Sat, 16 Dec 2000 07:54:18 +0000 (07:54 +0000)]
Update.
2000-12-13 Jakub Jelinek <jakub@redhat.com>
* misc/efgcvt.c (FCVT_MAXDIG): Define.
(FCVT_BUFPTR): New variable.
(fcvt): If fcvt_r returns -1 on the static short buffer,
try to malloc a sufficiently large one and retry.
(free_mem): New function.
* misc/qefgcvt.c (FCVT_MAXDIG): Define.
* misc/tst-efgcvt.c (fcvt_tests): Add new test.
2000-12-15 Ulrich Drepper <drepper@redhat.com>
* misc/dirname.c (dirname): Fix search for second to last slash.
2000-12-13 Andreas Jaeger <aj@suse.de>
* misc/tst-dirname.c (main): Fix typo in test to really use
the examples from Unix98.
Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
Ulrich Drepper [Sat, 16 Dec 2000 04:48:49 +0000 (04:48 +0000)]
Update.
2000-12-09 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/s_fabs.S: New file.
* sysdeps/ia64/fpu/s_fabsf.S: New file.
* sysdeps/ia64/fpu/s_fabsl.S: New file.
2000-12-10 Richard Henderson <rth@redhat.com>
Ulrich Drepper [Sat, 16 Dec 2000 04:48:04 +0000 (04:48 +0000)]
fabs implementation for IA-64.
Andreas Jaeger [Fri, 15 Dec 2000 16:03:57 +0000 (16:03 +0000)]
Update.
2000-12-15 Andreas Jaeger <aj@suse.de>
* stdio-common/scanf9.c (main): Reformat and change to avoid
warnings.
* stdio-common/tstdiomisc.c: Make local functions static.
* stdio-common/tst-printf.c: Likewise.
* elf/constload2.c: Add prototype declarations to shut up gcc.
* elf/dep1.c: Likewise.
* elf/dep2.c: Likewise.
* elf/dep3.c: Likewise.
* elf/dep4.c: Likewise.
* elf/ltglobmod2.c: Likewise.
* libio/fmemopen.c: Make local functions static.
* elf/Makefile (distribute): Added testobj.h.
* elf/testobj.h: New file.
* elf/testobj1.c: Include testobj.h and move prototype
declarations to testobj.h.
* elf/testobj2.c: Likewise.
* elf/testobj3.c: Likewise.
* elf/testobj4.c: Likewise.
* elf/testobj5.c: Likewise.
* elf/testobj6.c: Likewise.
* elf/testobj1_1.c: Likewise.
* elf/preloadtest.c: Likewise.
Andreas Jaeger [Fri, 15 Dec 2000 14:16:56 +0000 (14:16 +0000)]
Update.
2000-12-15 Ben Collins <bcollins@debian.org>
* misc/sys/cdefs.h: Fix thinko in checks for flexarr macros.
Patch by Akim Demaille <akim@epita.fr> in Debian bug report.
Andreas Jaeger [Fri, 15 Dec 2000 06:42:07 +0000 (06:42 +0000)]
Update.
2000-12-14 H.J. Lu <hjl@gnu.org>
* sysdeps/ieee754/flt-32/s_sincosf.c (__sincosf): The exponent
field in a float is 8 bits, not 11 bits.
Andreas Jaeger [Wed, 13 Dec 2000 14:04:38 +0000 (14:04 +0000)]
Update.
2000-12-13 Jakub Jelinek <jakub@redhat.com>
* math/test-misc.c (main): Adjust m for IEEE quad long double.
Andreas Jaeger [Wed, 13 Dec 2000 10:56:28 +0000 (10:56 +0000)]
Update.
* manual/message.texi (Using gettextized software): Fix typo.
* manual/charset.texi (Converting a Character): Fix mbstouwcs
program to compile.
Patch by Martin Buchholz <martin@xemacs.org>.
Andreas Jaeger [Wed, 13 Dec 2000 08:48:42 +0000 (08:48 +0000)]
Update.
2000-12-13 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sigpending.c (sigpending): Fix typo.
Reported by Michael Kerrisk <mtk16@ext.canterbury.ac.nz>.
Andreas Jaeger [Mon, 11 Dec 2000 19:27:26 +0000 (19:27 +0000)]
Update.
2000-12-11 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Declare
kernel_sigset_t and use it.
Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
Andreas Jaeger [Mon, 11 Dec 2000 19:27:03 +0000 (19:27 +0000)]
Declare kernel_sigset_t and use it.
Patch by Hiroyuki Machida <machida@sm.sony.co.jp>.
Ulrich Drepper [Mon, 11 Dec 2000 04:36:53 +0000 (04:36 +0000)]
Update.
2000-12-10 Richard Henderson <rth@redhat.com>
* sysdeps/alpha/alphaev67/fpu/Implies: New file.
* sysdeps/alpha/alphaev6/fpu/e_sqrtf.S: New file.
* sysdeps/alpha/alphaev6/fpu/e_sqrt.S: New file.
Ulrich Drepper [Sun, 10 Dec 2000 22:34:55 +0000 (22:34 +0000)]
Update.
* sysdeps/alpha/htonl.S: Fix a typo.
2000-12-10 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Sun, 10 Dec 2000 22:28:48 +0000 (22:28 +0000)]
Update.
2000-12-10 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/alphaev6/stxcpy.S: Exchange t8 with t10.
Ulrich Drepper [Sun, 10 Dec 2000 22:27:31 +0000 (22:27 +0000)]
Exchange t8 with t10.
Andreas Jaeger [Sun, 10 Dec 2000 16:14:00 +0000 (16:14 +0000)]
Update.
cast as suggested by Jakub Jelinek <jakub@redhat.com> and Ulrich
Drepper <drepper@redhat.com>.
Andreas Jaeger [Sun, 10 Dec 2000 11:25:44 +0000 (11:25 +0000)]
Update.
2000-12-10 Andreas Jaeger <aj@suse.de>
* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fixed
cast as suggested by Jakub Jelinek <jakub@redhat.com>.
2000-12-06 Jim Wilson <wilson@redhat.com>
2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
2000-11-22 Paul Eggert <eggert@twinsun.com>
2000-11-28 Masahide Washizawa <washi@jp.ibm.com>
2000-11-21 Alan Modra <alan@linuxcare.com.au>
2000-11-21 Martin Schwidefsky <schwidefsky@de.ibm.com>
failed. Use gettext() not _().
2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
Andreas Jaeger [Sat, 9 Dec 2000 18:33:58 +0000 (18:33 +0000)]
Update.
2000-12-09 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/mips/sigaction.c: New file.
* sysdeps/unix/sysv/linux/mips/sys/acct.h: Removed, we can use the
generic version.
Patches by Hiroyuki Machida <machida@sm.sony.co.jp>.
* locale/programs/ld-collate.c (handle_ellipsis): Fix format
string.
* locale/programs/ld-ctype.c (charclass_symbolic_ellipsis): Fix
format string.
* nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
* nscd/connections.c (handle_request): Likewise.
* nscd/pwdcache.c (addpwbyname): Likewise.
* nscd/grpcache.c (addgrbyname): Likewise.
* nscd/nscd_conf.c (nscd_parse_file): Remove extra argument.
Andreas Jaeger [Sat, 9 Dec 2000 18:31:01 +0000 (18:31 +0000)]
Removed, we can use the generic version.
Ulrich Drepper [Sat, 9 Dec 2000 18:10:15 +0000 (18:10 +0000)]
Update.
* string/stratcliff.c: Add tests for stpncpy, memcpy, and mempcpy.
Ulrich Drepper [Sat, 9 Dec 2000 16:41:02 +0000 (16:41 +0000)]
Update.
2000-12-09 Ulrich Drepper <drepper@redhat.com>
* Makeconfig (default_cflags): Make -O2 the default for stable
releases.
2000-12-08 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/s_isinfl.S: Renamed to ...
* sysdeps/ia64/fpu/s_isinf.S: This.
Add a .pred.rel.mutex note to avoid false report.
* sysdeps/ia64/fpu/s_isnanl.S: Renamed to ...
* sysdeps/ia64/fpu/s_isnan.S: This.
* sysdeps/ia64/fpu/s_fpclassify.S: New file.
* sysdeps/ia64/fpu/s_fpclassifyf.S: New file.
* sysdeps/ia64/fpu/s_fpclassifyl.S: New file.
* sysdeps/ia64/fpu/s_isinff.S: New file.
* sysdeps/ia64/fpu/s_isinfl.S: New file.
* sysdeps/ia64/fpu/s_isnanf.S: New file.
* sysdeps/ia64/fpu/s_isnanl.S: New file.
* sysdeps/ia64/fpu/s_finite.S: New file.
* sysdeps/ia64/fpu/s_finitef.S: New file.
* sysdeps/ia64/fpu/s_finitel.S: New file.
* sysdeps/ia64/fpu/s_signbit.S: New file.
* sysdeps/ia64/fpu/s_signbitf.S: New file.
* sysdeps/ia64/fpu/s_signbitl.S: New file.
* sysdeps/ia64/fpu/s_copysign.S: New file.
* sysdeps/ia64/fpu/s_copysignf.S: New file.
* sysdeps/ia64/fpu/s_copysignl.S: New file.
Ulrich Drepper [Sat, 9 Dec 2000 03:58:22 +0000 (03:58 +0000)]
Update.
* math/libm-test.inc (main): Fix typos in messages.
Ulrich Drepper [Sat, 9 Dec 2000 00:33:53 +0000 (00:33 +0000)]
Update.
2000-12-08 Ulrich Drepper <drepper@redhat.com>
* string/stratcliff.c: Add test for rawmemchr.
Ulrich Drepper [Sat, 9 Dec 2000 00:02:12 +0000 (00:02 +0000)]
Update.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-open.c (_dl_open): If objname points right after errstring,
allocate it together with errstring using alloca.
* elf/dl-error.c (_dl_signal_error): If malloc failed, set objname
to "", because it might point to local stack.
Ulrich Drepper [Fri, 8 Dec 2000 22:39:54 +0000 (22:39 +0000)]
Update.
2000-12-05 H.J. Lu <hjl@gnu.org>
* nss/Makefile (routines): Add getnssent and getnssent_r.
* nss/nsswitch.h (__nss_setent): New internal NSS function.
(__nss_endent): Likewise.
(__nss_getent_r): Likewise.
(__nss_getent): Likewise.
* nss/getnssent_r.c: New file.
* nss/getnssent.c: New file.
* nss/getXXent.c (H_ERRNO_VAR): Updated.
(GETFUNC_NAME): Updated to call __nss_getent ().
* nss/getXXent_r.c (H_ERRNO_VAR_P): New.
(STAYOPEN_TMPVAR): Updated.
(STAYOPEN_VAR): Updated.
(SETFUNC_NAME): Updated to call __nss_setent ().
(ENDFUNC_NAME): Updated to call __nss_endent ().
(INTERNAL (REENTRANT_GETNAME)): Updated to call __nss_getent_r ().
Ulrich Drepper [Fri, 8 Dec 2000 22:38:13 +0000 (22:38 +0000)]
Generic getXXent function.
Andreas Jaeger [Fri, 8 Dec 2000 19:19:43 +0000 (19:19 +0000)]
Update.
2000-12-08 Andreas Jaeger <aj@suse.de>
* nscd/dbg_log.h (dbg_log): Correct attribute.
Andreas Jaeger [Fri, 8 Dec 2000 19:19:27 +0000 (19:19 +0000)]
(dbg_log): Correct attribute.
Ulrich Drepper [Fri, 8 Dec 2000 17:34:49 +0000 (17:34 +0000)]
Fix a few more places.
Ulrich Drepper [Fri, 8 Dec 2000 17:27:11 +0000 (17:27 +0000)]
Update.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
* elf/dl-load.c (fillin_rpath): Don't assume there is '\0' at
cp + len. Compute where from dirname.
Reported by <jreiser@BitWagon.com>.
2000-12-08 Richard Henderson <rth@twiddle.net>
* sysdeps/alpha/_mcount.S: Fix typo.
* sysdeps/alpha/strncpy.S: Likewise.
* sysdeps/alpha/alphaev6/Implies: New file.
* sysdeps/alpha/alphaev67/Implies: New file.
* sysdeps/alpha/alphaev67/ffs.S: New file.
* sysdeps/alpha/alphaev67/ffsll.S: New file.
* sysdeps/alpha/alphaev67/rawmemchr.S: New file.
* sysdeps/alpha/alphaev67/stpcpy.S: New file.
* sysdeps/alpha/alphaev67/stpncpy.S: New file.
* sysdeps/alpha/rawmemchr.S: New file.
* sysdeps/alpha/strcat.S: Tail call to __stxcpy.
* sysdeps/alpha/strcpy.S: Likewise.
From GMP 3.1.1:
* sysdeps/alpha/alphaev6/addmul_1.s: New file.
From rick.gorton@alpha-processor.com:
* sysdeps/alpha/alphaev6/memchr.S: New file.
* sysdeps/alpha/alphaev6/memcpy.S: New file.
* sysdeps/alpha/alphaev6/memset.S: New file.
* sysdeps/alpha/alphaev6/stxcpy.S: New file.
* sysdeps/alpha/alphaev6/stxncpy.S: New file.
* sysdeps/alpha/alphaev67/strcat.S: New file.
* sysdeps/alpha/alphaev67/strchr.S: New file.
* sysdeps/alpha/alphaev67/strlen.S: New file.
* sysdeps/alpha/alphaev67/strncat.S: New file.
* sysdeps/alpha/htonl.S: Use a shorter sequence.
2000-12-08 Jakub Jelinek <jakub@redhat.com>
* inet/getnameinfo.c (getnameinfo): Fix NI_NOFQDN support.
Reported by <pspencer@fields.utoronto.ca>.
2000-12-07 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/elf/start.S (__data_start): Add __data_start variable.
Pointed out by Hans Boehm.
2000-12-07 H.J. Lu <hjl@gnu.org>
* elf/dl-version.c (match_symbol): Check map->l_name[0] for printing.
2000-12-07 Andreas Jaeger <aj@suse.de>
* misc/error.c: Add format attributes for __error and __error_at_line.
* nscd/dbg_log.h: Add format attribute.
2000-12-08 Ulrich Drepper <drepper@redhat.com>
* misc/sys/syslog.h: Add format attributes to syslog and vsyslog.
Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
* sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to _dl_hwcap.
* manual/install.texi: Recommend to set LANGUAGE=C LC_ALL=C during
Ulrich Drepper [Thu, 7 Dec 2000 05:22:24 +0000 (05:22 +0000)]
Update.
2000-12-07 Dan Pop <Dan.Pop@cern.ch>
* sysdeps/ia64/strcpy.S: Fix a bug in a recovery code sequence.
Ulrich Drepper [Thu, 7 Dec 2000 00:33:59 +0000 (00:33 +0000)]
Update.
2000-12-06 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
(sysdep_routines): Add uitrunc.
* sysdeps/unix/sysv/aix/uitrunc.c: New file.
Patches by Michael Keezer <mkeezer@redhat.com>.
Ulrich Drepper [Thu, 7 Dec 2000 00:29:17 +0000 (00:29 +0000)]
(pthread_detach): Allow case where the thread has already terminated.
Roland McGrath [Thu, 7 Dec 2000 00:06:54 +0000 (00:06 +0000)]
* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
argument data, since it will be used to copy out too (for INOUT).
Reported by Marcus Brinkmann <marcus@gnu.org>.
* sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
(__ioctl): Use uintptr_t instead of unsigned long int.
* stdlib/l64a.c (l64a): Truncate M to 32-bit value.
Roland McGrath [Thu, 7 Dec 2000 00:05:30 +0000 (00:05 +0000)]
2000-12-06 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (__ioctl): Don't clobber ARG as we copy in
argument data, since it will be used to copy out too (for INOUT).
Reported by Marcus Brinkmann <marcus@gnu.org>.
* sysdeps/mach/hurd/ioctl.c: Include <stdint.h>.
(__ioctl): Use uintptr_t instead of unsigned long int.
Ulrich Drepper [Wed, 6 Dec 2000 22:09:46 +0000 (22:09 +0000)]
Update.
2000-12-06 Jim Wilson <wilson@redhat.com>
* stdlib/l64a.c (l64a): Truncate m to 32-bit value.
Ulrich Drepper [Wed, 6 Dec 2000 20:58:25 +0000 (20:58 +0000)]
Update.
2000-12-06 Ulrich Drepper <drepper@redhat.com>
* stdio-common/printf_fp.c (__printf_fp): Handle decimal point in
x.5 rounding correctly.
Ulrich Drepper [Wed, 6 Dec 2000 17:10:47 +0000 (17:10 +0000)]
Update.
* stdio-common/perror.c (perror): Conditionalize code dealing with
wide-oriented streams on USE_IN_LIBIO.
2000-12-06 Mark Kettenis <kettenis@gnu.org>
Ulrich Drepper [Wed, 6 Dec 2000 17:10:20 +0000 (17:10 +0000)]
(perror): Conditionalize code dealing with wide-oriented streams on USE_IN_LIBIO.
Mark Kettenis [Wed, 6 Dec 2000 12:47:03 +0000 (12:47 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark as internal_function.
2000-12-06 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup): Mark
as internal_function.
Ulrich Drepper [Wed, 6 Dec 2000 04:05:42 +0000 (04:05 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/elf/start.S (__data_start): Define.
Ulrich Drepper [Wed, 6 Dec 2000 03:28:07 +0000 (03:28 +0000)]
Update.
2000-12-05 H.J. Lu <hjl@gnu.org>
* nss/getXXent_r.c (setup): Change the return type to int.
Ulrich Drepper [Wed, 6 Dec 2000 03:16:46 +0000 (03:16 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc]
(sysdep_routines): Add restf and savef.
* sysdeps/unix/sysv/aix/restf.c: New file.
* sysdeps/unix/sysv/aix/savef.c: New file.
Patches by Michael Keezer <mkeezer@redhat.com>.
* sysdeps/unix/opendir.c (__opendir): Don't use o_directory_works
if O_DIRECTORY is not defined.
Patch by Michael Keezer <mkeezer@redhat.com>.
* include/libc-symbols.h (C_SYMBOL_DOT_NAME): Define.
Patch by Michael Keezer <mkeezer@redhat.com>.
* locale/programs/linereader.c (get_toplvl_escape): Recognize more
than 4 bytes in escape sequence.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Wed, 6 Dec 2000 02:40:40 +0000 (02:40 +0000)]
(get_toplvl_escape): Recognize more than 4 bytes in escape sequence.
Andreas Jaeger [Tue, 5 Dec 2000 21:28:12 +0000 (21:28 +0000)]
Update.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 21:28:04 +0000 (21:28 +0000)]
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 18:00:04 +0000 (18:00 +0000)]
Update.
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't
set mips2.
Andreas Jaeger [Tue, 5 Dec 2000 17:41:15 +0000 (17:41 +0000)]
Update.
* sysdeps/unix/sysv/linux/mips/sysdep.h: New file.
* sysdeps/unix/sysv/linux/mips/sys/syscall.h: Removed.
* sysdeps/unix/mips/sysdep.h: Use SYS_ify.
Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
Andreas Jaeger [Tue, 5 Dec 2000 17:34:28 +0000 (17:34 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* elf/dl-misc.c (_dl_sysdep_read_whole_file): Mark as
internal_function.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start_cleanup): Likewise.
* sysdeps/generic/dl-cache.c: Remove declaration of
_dl_sysdep_read_whole_file.
* elf/dl-load.c (_dl_map_object): Remove declaration of
_dl_load_cache_lookup.
* sysdeps/generic/ldsodefs.h: Add declarations of
_dl_load_cache_lookup, _dl_unload_cache,
_dl_sysdep_read_whole_file, _dl_sysdep_start and
_dl_sysdep_start_cleanup.
* elf/rtld.c: Remove prototypes that are defined in ldsodefs.h
now.
* elf/dl-misc.c: Include <ldsodefs.h> to get prototypes.
* sysdeps/generic/dl-environ.c: Likewise.
* stdio-common/printf_fp.c: Include <gmp.h> instead of
<stdlib/gmp.h>.
* math/atest-exp.c: Likewise.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
* stdio-common/_itoa.c: Likewise.
* stdio-common/_itowa.c: Likewise.
* include/gmp.h: New file with internal prototypes.
* sysdeps/generic/longjmp.c: Move _longjmp_unwind declaration from
here to...
* include/setjmp.h: ...here.
* locale/Makefile (routines): Remove codeset_name since it's not
needed anywhere.
* locale/codeset_name.c: Removed.
Andreas Jaeger [Tue, 5 Dec 2000 17:21:34 +0000 (17:21 +0000)]
Removed, it's not needed anymore.
Ulrich Drepper [Tue, 5 Dec 2000 16:19:20 +0000 (16:19 +0000)]
Update.
2000-12-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/aix/sys/param.h: Define MAXHOSTNAMELEN here.
* sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
Ulrich Drepper [Tue, 5 Dec 2000 16:18:48 +0000 (16:18 +0000)]
Define MAXHOSTNAMELEN.
Andreas Jaeger [Tue, 5 Dec 2000 14:56:14 +0000 (14:56 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sys/param.h: Revert last patch.
Andreas Jaeger [Tue, 5 Dec 2000 09:29:23 +0000 (09:29 +0000)]
Update.
2000-12-05 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/unix/sysv/linux/s390/mmap64.S: Use mmap if mmap2 isn't
available.
Andreas Jaeger [Tue, 5 Dec 2000 08:17:58 +0000 (08:17 +0000)]
Update.
2000-12-05 Andreas Jaeger <aj@suse.de>
* nss/test-netdb.c: Mark local functions as static to avoid
warnings.
(main): Use return to silence warning.
* stdlib/test-canon.c (check_path): Mark as static to avoid warning.
* stdio-common/test-popen.c: Mark local functions as static to
avoid warnings.
(main): Use return to silence warning.
* stdlib/testsort.c (compare): Mark as static to avoid warning.
* assert/test-assert.c: Mark local functions as static to avoid
warnings.
* assert/test-assert-perr.c: Likewise.
* math/libm-test.inc (main): Use return to silence warnings.
Andreas Jaeger [Tue, 5 Dec 2000 08:14:51 +0000 (08:14 +0000)]
Mark local functions as static to avoid warnings. (main): Use return to silence warning.
Ulrich Drepper [Tue, 5 Dec 2000 07:40:19 +0000 (07:40 +0000)]
Add HAVE_ASM_GLOBAL_DOT_NAME.
Ulrich Drepper [Tue, 5 Dec 2000 06:53:55 +0000 (06:53 +0000)]
Update.
* math/fenv.h: Fix typo in comment.
Ulrich Drepper [Tue, 5 Dec 2000 06:49:26 +0000 (06:49 +0000)]
Update.
* math/test-misc.c (main): Add a few more over and underflow tests
for scalb.
Ulrich Drepper [Tue, 5 Dec 2000 06:36:53 +0000 (06:36 +0000)]
Update.
* sysdeps/i386/fpu/e_scalb.S: Handle NaN as first parameter correctly.
* sysdeps/i386/fpu/e_scalbf.S: Likewise.
* sysdeps/i386/fpu/e_scalbl.S: Likewise.
* math/w_scalb.c: Don't use matherr except in SVID mode.
* math/w_scalbf.c: Likewise.
* math/w_scalbl.c: Likewise.
* math/test-misc.c: Add test for NaN and scalbl.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 5 Dec 2000 04:18:59 +0000 (04:18 +0000)]
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
* configure.in: Define HAVE_ASM_GLOBAL_DOT_NAME for AIX.
* config.h.in: Add HAVE_ASM_GLOBAL_DOT_NAME.
* include/libc-symbols.h (strong_alias): Define special version
for HAVE_ASM_GLOBAL_DOT_NAME.
(weak_alias): Likewise.
* sysdeps/powerpc/bsd-setjmp.S: Use strong_alias not .set.
* sysdeps/unix/sysv/aix/Makefile [$(subdir)==login]
(sysdep_routines): Add setutxent, getutxent, endutxent, getutxid,
getutxline, pututxline, and utmpxname.
* sysdeps/unix/sysv/aix/fchdir.c: Define __fchdir.
* sysdeps/unix/sysv/aix/lseek.c: Define __libc_lseek alias.
* sysdeps/unix/sysv/aix/open.c: Define __libc_open alias.
* sysdeps/unix/sysv/aix/pread.c: Define pread alias.
* sysdeps/unix/sysv/aix/pread64.c: Define pread64 alias.
* sysdeps/unix/sysv/aix/sysdep.h (JUMPTARGET): Use C_TEXT.
* sysdeps/unix/sysv/aix/bits/types.h: Define __clockid_t and __timer_t.
* sysdeps/unix/sysv/aix/bits/utmp.h: Cleanup. Add comments.
* sysdeps/unix/sysv/linux/sys/param.h (MAXHOSTNAMELEN): Define.
Patches by Michael Keezer <mkeezer@redhat.com>.
Ulrich Drepper [Tue, 5 Dec 2000 00:41:57 +0000 (00:41 +0000)]
Update.
2000-12-04 H.J. Lu <hjl@gnu.org>
* configure.in: Change --with-oldest-abi=ABI to
--enable-oldest-abi=ABI.
2000-12-02 Bruno Haible <haible@clisp.cons.org>
* stdio-common/perror.c (perror): If stderr is wide-oriented, use
fwprintf instead of fprintf.
2000-12-01 H.J. Lu <hjl@gnu.org>
* nss/getXXbyYY_r.c: Fix verioned symbol handling.
* nss/getXXent_r.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2000-11-30 H.J. Lu <hjl@gnu.org>
* scripts/abi-versions.awk (oldest_abi): New variable.
Handle the oldest ABI supported.
* Makerules ($(common-objpfx)abi-versions.h): Set oldest_abi
for scripts/abi-versions.awk.
* configure.in: Add --with-oldest-abi=ABI.
* configure: Rebuild.
* config.make.in (oldest-abi): New.
* config.h.in (GLIBC_OLDEST_ABI): New.
* csu/version.c (banner): Support GLIBC_OLDEST_ABI.
Ulrich Drepper [Mon, 4 Dec 2000 08:37:38 +0000 (08:37 +0000)]
Update.
2000-12-04 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD and
DECIMAL_DIG definitions.
* sysdeps/arm/fpu/bits/mathdef.h: Likewise
* sysdeps/generic/bits/mathdef.h: Likewise
* sysdeps/i386/fpu/bits/mathdef.h: Likewise
* sysdeps/ia64/fpu/bits/mathdef.h: Likewise
* sysdeps/m68k/fpu/bits/mathdef.h: Likewise
* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise
* sysdeps/sparc/fpu/bits/mathdef.h: Likewise
* sysdeps/sh/sh4/fpu/bits/mathdef.h: Likewise
* math/test-fenv.c (main): Use return instead of exit to avoid warning.
* math/atest-exp.c: Mark local functions as static to avoid warnings.
* math/atest-exp2.c: Likewise.
* math/atest-sincos.c: Likewise.
Ulrich Drepper [Mon, 4 Dec 2000 07:15:24 +0000 (07:15 +0000)]
Update.
* sysdeps/i386/fpu/bits/mathdef.h (DECIMAL_DIG): Correct value.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
Ulrich Drepper [Mon, 4 Dec 2000 04:56:36 +0000 (04:56 +0000)]
Update.
* sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Hopefully fix
the handling of denormalized numbers.
* math/test-misc.c (main): Test for fpclassify and pseudo denormal
numbers on x86.
* sysdeps/i386/fpu/fpclassifyl.c: New file.
Ulrich Drepper [Mon, 4 Dec 2000 01:27:16 +0000 (01:27 +0000)]
Update.
* math/test-misc.c (main): Test for pseudo denormal numbers on x86.
Ulrich Drepper [Mon, 4 Dec 2000 01:26:09 +0000 (01:26 +0000)]
Update.
* sysdeps/i386/fpu/fpclassify.c: New file.
Ulrich Drepper [Mon, 4 Dec 2000 01:20:04 +0000 (01:20 +0000)]
Update.
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Handle the
pseudo denormal representation of LDBL_MIN.
* configure.in: Correct test for pserver CVS access.
Ulrich Drepper [Mon, 4 Dec 2000 00:11:40 +0000 (00:11 +0000)]
Update.
* iconvdata/SJIS.irreversible: Remove unnecessary entries.
* iconvdata/EUC-JP.irreversible: Remove unnecessary entries.
* iconvdata/sjis.c: Enable round-trip mapping of backslash and tilde.
* iconvdata/jis0208.c: Likewise.
* iconvdata/jis0212.c: Likewise.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Sun, 3 Dec 2000 23:38:18 +0000 (23:38 +0000)]
Update.
* math/test-misc.c (main): More tests for frexp and some for
fpclassify and isnormal.
Ulrich Drepper [Sun, 3 Dec 2000 23:35:00 +0000 (23:35 +0000)]
Update.
* sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf): Correct
test for subnormal.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
Ulrich Drepper [Sun, 3 Dec 2000 10:00:46 +0000 (10:00 +0000)]
Update.
2000-12-03 Ulrich Drepper <drepper@redhat.com>
* math/test-misc.c (main): Add tests for frexp.
Reported by Fred J. Tydeman <tydeman@tybor.com>.
* sysdeps/i386/fpu/s_frexpl.S: Don't overflow during the computation.