Ulrich Drepper [Mon, 20 Nov 2000 09:16:41 +0000 (09:16 +0000)]
Update.
2000-11-20 Ulrich Drepper <drepper@redhat.com>
* csu/gmon-start.c: Always have prototype for __gmon_start.
* csu/version.c: Add prototypes for __libc_print_version and
__libc_main.
* iconv/gconv.c: Include gconv_int.h and gconv.h.
* iconv/gconv.h (struct __gconv_step): Remove const from __from_name
and __to_name.
* iconv/gconv_builtin.h: Add ASCII module definitions.
* iconv/gconv_conf.c (__gconv_path_elem): Remove const.
(add_module): Add cast to avoid warning. Rework construction of
strings for new module.
* iconv/gconv_db.c (__gconv_alias_compare): Make s1 and s2 const.
(derivation_compare): Likewise.
* iconv/gconv_dl.c (do_release_shlib): Remove const from nodep.
(__gconv_release_shlib): Cast do_release_shlib as parameter for twalk.
* iconv/gconv_int.h (__gconv_path_elem): Remove const.
(struct gconv_alias): Remove const from fromname and toname.
* iconv/gconv_simple.c: Include gconv_builtin.h to get prototypes
for loop functions.
(internal_ucs4_loop): Use correct const-ness.
(ucs4_internal_loop): Likewise.
(internal_ucs4le_loop): Likewise.
(ucs4le_internal_loop_single): Likewise.
* iconv/gconv_trans.c (__gconv_transliterate): Make from_idx, from_tbl,
to_idx, to_tbl, winbuf, winbufend const. Change casts in
assignments appropriately.
(struct known_trans): Remove const from fname.
(trans_compare): Make s1 and s2 const.
* iconv/loop.c (LOOPFC): Make outend parameter const. Add cast to
avoid warning.
* iconv/skeleton.c: Remove cast in calls of loop functions.
* iconvdata/gconv-modules: Remove US-ASCII definitions.
* iconvdata/iso646.c: Remove US_ASCII support.
* include/set-hooks.h (DEFINE_HOOK): Also generate prototype.
* include/unistd.h: Add __libc_check_standard_fds prototype.
* string/bits/string2.h (__mempcpy_args): Add const to casts.
* sysdeps/generic/initfini.c: Add prototypes for dummy, _init, and
_fini.
* sysdeps/generic/libc-start.c: Add prototype for __libc_start_main.
* sysdeps/i386/i486/bits/string.h (strcmp): Add const to casts.
* sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Add cast to avoid
warning.
* sysdeps/unix/sysv/linux/init-first.c: Add prototypes for
__libc_init_first and _dl_start.
* sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
Ulrich Drepper [Mon, 20 Nov 2000 08:47:01 +0000 (08:47 +0000)]
Always have prototype for __gmon_start.
Andreas Jaeger [Mon, 20 Nov 2000 07:55:44 +0000 (07:55 +0000)]
Update.
2000-11-20 Hiroyuki Machida <machida@sm.sony.co.jp>
* sysdeps/unix/sysv/linux/mips/clone.S: Fix comments.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h (kernel_stat): Expand
time_t to 'long int' not, 'unsigned int'. Use 'long int' for
__unused? members.
* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (O_NOFOLLOW): Use same
value defined in /usr/include/asm-mips/fcntl.h.
Andreas Jaeger [Mon, 20 Nov 2000 07:54:19 +0000 (07:54 +0000)]
Fix comments
Ulrich Drepper [Sat, 18 Nov 2000 23:34:30 +0000 (23:34 +0000)]
Update.
* stdio-common/Makefile (tests): Add test-vfprintf.
(test-vfprintf-ENV): New variable.
* stdio-common/test-vfprintf.c: New file.
Ulrich Drepper [Sat, 18 Nov 2000 21:08:05 +0000 (21:08 +0000)]
Update.
2000-11-18 Ulrich Drepper <drepper@redhat.com>
* wcsmbs/mbrtowc.c (__mbrtowc): Do not only flush if input is '\0'.
* wcsmbs/Makefile (tests): Add tst-mbrtowc and tst-wcrtomb.
(tst-mbrtowc-ENV): New variable.
(tst-wcrtomb-ENV): New variable.
* wcsmbs/tst-mbrtowc.c: New file.
* wcsmbs/tst-wcrtomb.c: New file.
Ulrich Drepper [Sat, 18 Nov 2000 17:47:35 +0000 (17:47 +0000)]
Update.
2000-11-16 Andreas Jaeger <aj@suse.de>
* manual/install.texi (Tools for Compilation): Update
documentation for GCC 2.95.2.
* libio/freopen.c (freopen): Reset _mode after succesful reopening.
Ulrich Drepper [Sat, 18 Nov 2000 08:30:20 +0000 (08:30 +0000)]
Update.
2000-11-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/getaddrinfo.c (gaih_inet): Only return -EAI_AGAIN
if IPv4 and IPv6 requests timed out.
Ulrich Drepper [Sat, 18 Nov 2000 08:11:59 +0000 (08:11 +0000)]
Update.
2000-11-18 Akim Demaille <akim@epita.fr>
* malloc/obstack.h: Formatting changes.
(obstack_grow, obstack_grow0): Don't cast WHERE at all: it
prevents type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
Ulrich Drepper [Sat, 18 Nov 2000 07:48:29 +0000 (07:48 +0000)]
Update.
2000-11-17 Ulrich Drepper <drepper@redhat.com>
* scripts/config.guess: Update from upstream maintainer.
* scripts/config.sub: Likewise.
Ulrich Drepper [Fri, 17 Nov 2000 00:27:46 +0000 (00:27 +0000)]
Update.
* libio/Makefile: Add rules to build and run test-freopen.
* libio/test-freopen.c: New file.
* libio/test-freopen.sh: New file.
Ulrich Drepper [Thu, 16 Nov 2000 18:21:04 +0000 (18:21 +0000)]
Update.
Patch by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
Ulrich Drepper [Thu, 16 Nov 2000 18:20:27 +0000 (18:20 +0000)]
Update.
2000-11-16 Ulrich Drepper <drepper@redhat.com>
* libio/freopen.c (freopen): Reset _mode after succesful
reopening.
* libio/freopen64.c (freopen64): Likewise.
Patch by Yoshito Kawada <KAWADA@jp.ibm.com>.
Ulrich Drepper [Thu, 16 Nov 2000 18:15:26 +0000 (18:15 +0000)]
Update.
2000-11-15 H.J. Lu <hjl@gnu.org>
* sysdeps/generic/ldsodefs.h (DL_DT_INIT_ADDRESS): Defined if
ELF_FUNCTION_PTR_IS_SPECIAL is not defined.
(DL_DT_FINI_ADDRESS): Likewise.
* sysdeps/ia64/dl-lookupcfg.h (_dl_lookup_address): Set the
return type to ElfW(Addr).
(_dl_function_address): New prototype.
(DL_FUNCTION_ADDRESS): Defined.
(DL_DT_INIT_ADDRESS): Defined as DL_FUNCTION_ADDRESS.
(DL_DT_FINI_ADDRESS): Likewise.
* sysdeps/ia64/Versions (GLIBC_2.2): Add _dl_function_address.
* sysdeps/ia64/dl-machine.h (_dl_start_address): Removed.
(ELF_MACHINE_START_ADDRESS): Changed to DL_FUNCTION_ADDRESS.
* sysdeps/ia64/dl-symaddr.c (_dl_start_address): Renamed to ...
(_dl_function_address): This.
* elf/dl-fini.c (_dl_fini): Use DL_DT_FINI_ADDRESS to get the
function pointer for DT_FINI.
* elf/dl-close.c (_dl_close): Likewise.
* elf/dl-init.c (_dl_init): Use DL_DT_INIT_ADDRESS to get the
function pointer for DT_INIT.
2000-11-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/printf_fphex.c (__printf_fphex): Compute correctly
end of wexpbuf buffer.
Ulrich Drepper [Thu, 16 Nov 2000 18:05:01 +0000 (18:05 +0000)]
(__printf_fphex): Compute correctly end of wexpbuf buffer.
Andreas Jaeger [Thu, 16 Nov 2000 13:42:49 +0000 (13:42 +0000)]
Update.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove duplicate
definition of F_GETLK, F_SETLK, F_SETLKW.
2000-11-16 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Thu, 16 Nov 2000 07:41:21 +0000 (07:41 +0000)]
Update.
2000-11-16 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/dl-cache.c (_DL_PLATFORMS_COUNT): Define to 0 if
it's not defined.
Andreas Jaeger [Thu, 16 Nov 2000 07:41:03 +0000 (07:41 +0000)]
(_DL_PLATFORMS_COUNT): Define to 0 if it's not defined.
Ulrich Drepper [Thu, 16 Nov 2000 02:17:26 +0000 (02:17 +0000)]
Update.
2000-11-15 Jakub Jelinek <jakub@redhat.com>
* dlfcn/default.c (main): Add test for dladdr of main returning
argv[0] in dli_fname field.
2000-11-15 Jakub Jelinek <jakub@redhat.com>
* Makeconfig (run-program-prefix): Move test-static test into the
variable.
* sysdeps/alpha/dl-machine.h (RTLD_START): Update _dl_argv.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise,
schedule instructions.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise,
schedule instructions, fix a bug in copying auxiliary data.
* manual/startup.texi (Program Arguments): Fix type of main's envp
parameter.
Reported by Raúl Núñez de Arenas Coronado <dervishd@linuxfreak.com>.
Ulrich Drepper [Thu, 16 Nov 2000 01:59:23 +0000 (01:59 +0000)]
Update.
* iconvdata/gconv-modules: Add CP950 alias.
2000-11-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/Makefile: Allow ports to override
syscall-list.h goal.
* sysdeps/unix/sysv/linux/sparc/Makefile: New file.
2000-11-15 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 15 Nov 2000 23:56:34 +0000 (23:56 +0000)]
Update.
2000-11-15 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile: tst-gettext2.sh does not need a third parameter.
* intl/tst-gettext2.sh: Copy locale data. Adjust LOCPATH. Verify
output of program.
* intl/tst-gettext2.c: Set C locale if setting other locale
failed. Use gettext() not _().
* locale/setlocale.c: Increment _nl_msg_cat_cntr whenever we
successfully loaded a new locale.
2000-11-13 Andreas Jaeger <aj@suse.de>
* configure.in: Require gcc 2.95 or newer.
2000-11-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/paths.h: Adjust for FHS.
Patch by Arkadiusz Miskiewicz <misiek@pld.ORG.PL>.
2000-11-11 Jim Meyering <meyering@lucent.com>
* string/strndup.c (strndup): Cast return value to `char *'.
2000-11-15 Jim Meyering <meyering@ascend.com>
* sysdeps/generic/memchr.c: Remove some useless parentheses.
[HAVE_STDLIB_H || defined _LIBC]: Include <stdlib.h>.
[HAVE_BP_SYM_H || defined _LIBC]: Guard inclusion of bp-sym.h.
[! (HAVE_BP_SYM_H || defined _LIBC)] (BP_SYM): Define as no-op.
Also #undef __memchr.
Use `weak_alias' only if it's defined.
2000-11-10 H.J. Lu <hjl@gnu.org>
* Makefile.in (install): Set LANGUAGE=C LC_ALL=C.
Ulrich Drepper [Wed, 15 Nov 2000 23:01:14 +0000 (23:01 +0000)]
Changed LC_IDENTIFICATION territory field to Republic of Korea. Streamlined and extend(include all Hangul syllables) hangul and hanja class definition in LC_CTYPE and hangul portion of LC_COLLATE. Several changes in LC_TIME. Added tel_dom_fmt to LC_TELEPHONE.
Andreas Jaeger [Wed, 15 Nov 2000 09:41:20 +0000 (09:41 +0000)]
Update.
* elf/chroot_canon.c: Include <stdint.h>.
Andreas Jaeger [Wed, 15 Nov 2000 08:48:14 +0000 (08:48 +0000)]
Update.
(_dl_platform_string): New.
Andreas Jaeger [Wed, 15 Nov 2000 08:46:30 +0000 (08:46 +0000)]
Update.
2000-11-15 Andreas Jaeger <aj@suse.de>
* elf/cache.c (struct cache_entry): Use uint64_t for hwcap.
(print_entry): Likewise.
(add_to_cache): Likewise.
* elf/ldconfig.h (add_to_cache): Change prototype for hwcap change.
* elf/ldconfig.c (struct lib_entry): Use uint64_t for hwcap.
(path_hwcap): Likewise.
(search_dir): Likewise.
* sysdeps/generic/dl-cache.c (HWCAP_CHECK): Handle platform.
* elf/cache.c (add_to_cache): Handle 64 bit hwcap entry.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h
(_dl_platform_string): New.
(_DL_HWCAP_PLATFORM): New.
(_dl_string_platform): New.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
* sysdeps/generic/dl-procinfo.h (_DL_HWCAP_COUNT): New.
(_dl_string_platform): New.
(_DL_HWCAP_PLATFORM): New.
(_dl_platform_string): New.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Added x86 platform
recognition.
(_DL_HWCAP_COUNT): New.
(_dl_string_platform): New.
(_DL_HWCAP_PLATFORM): New.
(_dl_platform_string): New.
Andreas Jaeger [Wed, 15 Nov 2000 08:42:13 +0000 (08:42 +0000)]
(struct cache_entry): Use uint64_t for hwcap. (print_entry): Likewise. (add_to_cache): Likewise.
Ulrich Drepper [Wed, 15 Nov 2000 07:43:51 +0000 (07:43 +0000)]
Update.
2000-11-14 Ulrich Drepper <drepper@redhat.com>
* iconvdata/gconv-modules: Add CP936 as alias for GBK.
Ulrich Drepper [Wed, 15 Nov 2000 07:42:41 +0000 (07:42 +0000)]
Add CP936 as alias for GBK.
Andreas Jaeger [Tue, 14 Nov 2000 14:56:05 +0000 (14:56 +0000)]
Update.
2000-11-14 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/dl-cache.c (HWCAP_CHECK): Fix access to
_dl_hwcap.
Andreas Jaeger [Tue, 14 Nov 2000 14:55:49 +0000 (14:55 +0000)]
(HWCAP_CHECK): Fix access to _dl_hwcap.
Roland McGrath [Mon, 13 Nov 2000 21:31:24 +0000 (21:31 +0000)]
* hurd/get-host.c (_hurd_get_host_config): Fix last change.
Roland McGrath [Mon, 13 Nov 2000 21:31:17 +0000 (21:31 +0000)]
2000-11-13 Roland McGrath <roland@frob.com>
* hurd/get-host.c (_hurd_get_host_config): Fix last change.
Mark Kettenis [Mon, 13 Nov 2000 20:15:25 +0000 (20:15 +0000)]
* hurd/get-host.c (_hurd_get_host_config): Fix possible buffer underrun and make sure the result is null terminated even if there is no trailing newline.
2000-11-13 Marcus Brinkmann <marcus@gnu.org>
* hurd/get-host.c (_hurd_get_host_config): Fix possible buffer
underrun and make sure the result is null terminated even if there
is no trailing newline.
Andreas Jaeger [Mon, 13 Nov 2000 16:54:10 +0000 (16:54 +0000)]
Update.
2000-11-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/libm-test-ulps: Update.
2000-11-10 H.J. Lu <hjl@gnu.org>
* sysdeps/ia64/fpu/libm-test-ulps: Updated.
Andreas Jaeger [Fri, 10 Nov 2000 14:06:26 +0000 (14:06 +0000)]
Update.
2000-11-10 Andreas Jaeger <aj@suse.de>
* elf/ldconfig.c (create_links): Fix alloca calculation.
Patch by Ben Collins <bcollins@debian.org>.
Andreas Jaeger [Fri, 10 Nov 2000 14:06:06 +0000 (14:06 +0000)]
(create_links): Fix alloca calculation. Patch by Ben Collins <bcollins@debian.org>.
Ulrich Drepper [Fri, 10 Nov 2000 06:25:30 +0000 (06:25 +0000)]
(GLIBC_2.1): Move getitimer to sysdeps/unix/sysv/linux/alpha/Versions.
Ulrich Drepper [Fri, 10 Nov 2000 05:03:23 +0000 (05:03 +0000)]
Update.
2000-11-09 Ulrich Drepper <drepper@redhat.com>
* inet/getnameinfo.c (getnameinfo): Use correct destination
parameter for if_indextoname.
Patch by Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>.
Ulrich Drepper [Fri, 10 Nov 2000 05:00:25 +0000 (05:00 +0000)]
Update.
2000-11-09 H.J. Lu <hjl@gnu.org>
* sunrpc/Versions (GLIBC_2.1): Remove xdr_cryptkeyarg,
xdr_cryptkeyarg2, xdr_cryptkeyres, xdr_des_block,
xdr_key_netstarg, xdr_key_netstres, xdr_keybuf and
xdr_keystatus.
* time/Versions (GLIBC_2.1): Move getitimer to...
* sysdeps/unix/sysv/linux/alpha/Versions (GLIBC_2.1): ...here.
2000-11-03 Bruno Haible <haible@clisp.cons.org>
* manual/install.texi: Recommend to set LANGUAGE=C LC_ALL-C during
"make install", to work around a binary incompatibility between
glibc 2.1 and glibc 2.2 gconv modules.
2000-11-09 Ulrich Drepper <drepper@redhat.com>
* intl/locale.alias: Add thai.
Patch by Chanop Silpa-Anan <chanop@syseng.anu.edu.au>.
Ulrich Drepper [Fri, 10 Nov 2000 04:21:10 +0000 (04:21 +0000)]
Update.
2000-11-07 Akim Demaille <akim@epita.fr>
* malloc/obstack.c (obstack_grow, obstack_grow0): Rename the second
argument `data' for consistency with the prototypes.
Qualify it `const'.
(obstack_copy, obstack_copy0): Rename the second argument as
`address' for consistency. Qualify it `const'.
* malloc/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
(obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
`const' their input argument (`data' or `address').
Adjust the corresponding macros to include `const' in casts.
Ulrich Drepper [Fri, 10 Nov 2000 04:15:55 +0000 (04:15 +0000)]
Update.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Clean-up: define family to hold
target family.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Loosen protocol check to ease raw
socket creation.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Ensure to fill ai_socktype and
ai_protocol by internal table if service was not given.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Don't raise an error even if
numerical port was specified with protocol without socktype.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Ensure to check if protocol is ok.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* inet/getnameinfo.c: getnameinfo() NI_xxx flag validation.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* sysdeps/posix/getaddrinfo.c: Ensure not to fill garbage value in
sin6_scope_id field.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* inet/getnameinfo.c: Repair getnameinfo() sin6_socpe_id support.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* inet/getnameinfo.c: Repair NI_NOFQDN flag support.
2000-11-06 Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
* inet/getnameinfo.c: Wake-up sin6_scope_id support in
getnameinfo(): check for whether sin6_socpe_id exist was wrong.
2000-11-09 Martin Schwidefsky <mschwide@nc.boeblingen.de.ibm.com>
* sysdeps/unix/sysv/linux/s390/mmap.S: Use mmap2 if it is present.
* sysdeps/unix/sysv/linux/s390/mmap64.S: New file.
Ulrich Drepper [Fri, 10 Nov 2000 03:30:36 +0000 (03:30 +0000)]
Update.
* io/Versions (GLIBC_2.1.1): Remove lockf64.
See ChangeLog.11 for earlier changes.
Ulrich Drepper [Thu, 9 Nov 2000 23:17:20 +0000 (23:17 +0000)]
Update.
(tst-chmod-ARGS): Likewise.
Ulrich Drepper [Thu, 9 Nov 2000 19:22:09 +0000 (19:22 +0000)]
Update.
2000-11-09 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.2.
(RELEASE): Set to stable.
* posix/Makefile (tst-dir-ARGS): Fix problem with compiling in
source directory.
Ulrich Drepper [Thu, 9 Nov 2000 18:28:29 +0000 (18:28 +0000)]
Update.
2000-11-09 H.J. Lu <hjl@gnu.org>
* io/Versions (GLIBC_2.2): Add __open64.
Ulrich Drepper [Thu, 9 Nov 2000 17:12:56 +0000 (17:12 +0000)]
Update.
2000-11-09 Jakub Jelinek <jakub@redhat.com>
* locale/C-time.c (_nl_C_LC_TIME): Fix value for _NL_TIME_WEEK_1STWEEK.
2000-11-09 Jakub Jelinek <jakub@redhat.com>
* locale/programs/ld-paper.c (paper_output): Fix offset into width
field.
Ulrich Drepper [Wed, 8 Nov 2000 23:08:32 +0000 (23:08 +0000)]
Update.
2000-10-27 Bruno Haible <haible@clisp.cons.org>
* locale/programs/charmap.c (charmap_read): Verify ASCII
compatibility of charmap.
Ulrich Drepper [Wed, 8 Nov 2000 21:20:06 +0000 (21:20 +0000)]
Update.
* catgets/gencat.c (main): Don't use exit() to avoid warnings with
broken compilers.
* include/features.h (__STDC_ISO_10646__): Correct value to be
200009L. Patch by Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk>.
2000-11-08 H.J. Lu <hjl@gnu.org>
* pwd/Versions (GLIBC_2.1.2): Add getpwnam_r.
2000-11-08 Jakub Jelinek <jakub@redhat.com>
* string/bits/string2.h: Check if _USE_STRING_ARCH_ macros are
defined, not _HAVE_STRING_ARCH_.
* sysdeps/i386/bits/string.h (_USE_STRING_ARCH_memset,
_USE_STRING_ARCH_strchr): Define.
* sysdeps/i386/i486/bits/string.h (_USE_STRING_ARCH_memset,
_USE_STRING_ARCH_strchr): Define.
* sysdeps/sparc/bits/string.h: New file.
2000-11-08 Bruno Haible <haible@clisp.cons.org>
* locale/C-translit.h.in: Tweak <U2014> result.
* locale/C-translit.h: Regenerated.
2000-11-08 Ulrich Drepper <drepper@redhat.com>
* posix/unistd.h: Add attribute((const)) to sysconf prototype.
Ulrich Drepper [Wed, 8 Nov 2000 08:08:09 +0000 (08:08 +0000)]
Update.
2000-11-08 Ulrich Drepper <drepper@redhat.com>
* iconvdata/euc-kr.c (euckr_from_ucs4): Map 0x20a9 to \xa3dc.
(BODY from direction): Remove special handling of \x5c.
* iconvdata/EUC-KR.irreversible: Adjust for this change.
* iconvdata/testdata/EUC-KR..UTF8: Likewise.
Reported by Jungshik Shin <jshin@pantheon.yale.edu>.
Ulrich Drepper [Wed, 8 Nov 2000 07:03:52 +0000 (07:03 +0000)]
Update.
* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Skip FPU fields.
Ulrich Drepper [Tue, 7 Nov 2000 16:49:35 +0000 (16:49 +0000)]
Update.
2000-11-07 Kazumoto Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/bits/setjmp.h: Move to...
* sysdeps/sh/sh4/bits/setjmp.h: ...here.
* sysdeps/sh/sh3/bits/setjmp.h: New file.
Ulrich Drepper [Tue, 7 Nov 2000 00:43:08 +0000 (00:43 +0000)]
Update.
2000-11-06 Ulrich Drepper <drepper@redhat.com>
* iconvdata/big5.c: Regenerated after BIG5 charmap change.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Fix typo in
comparison with new cache magic bytes.
Patch by Denis Zaitsev <zzz@cd-club.ru>.
2000-11-03 Bruno Haible <haible@clisp.cons.org>
* locale/C-translit.h.in: Update from translit_neutral.
* locale/C-translit.h: Regenerated.
* intl/tst-translit.c: Update.
Ulrich Drepper [Tue, 7 Nov 2000 00:26:45 +0000 (00:26 +0000)]
* charmaps/BIG5: Add mapping for <U20AC> back.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
Ulrich Drepper [Tue, 7 Nov 2000 00:05:01 +0000 (00:05 +0000)]
Update.
2000-11-03 Bruno Haible <haible@clisp.cons.org>
* locales/translit_neutral: Add more entries. Mostly from Markus Kuhn.
* locales/translit_compat: Add a few ligatures.
* locales/translit_combining: Add a few plain ASCII alternatives.
* locales/translit_fraction: Likewise. Surround with spaces.
Ulrich Drepper [Tue, 7 Nov 2000 00:03:47 +0000 (00:03 +0000)]
Add more entries.
Andreas Jaeger [Mon, 6 Nov 2000 07:26:10 +0000 (07:26 +0000)]
Regenerated.
Andreas Jaeger [Mon, 6 Nov 2000 07:25:55 +0000 (07:25 +0000)]
Fixed toc.
Mark Kettenis [Sat, 4 Nov 2000 22:21:19 +0000 (22:21 +0000)]
* sysdeps/mach/hurd/Dist: Remove clk_tck.c.
* sysdeps/mach/hurd/Dist: Remove clk_tck.c.
Mark Kettenis [Sat, 4 Nov 2000 21:26:25 +0000 (21:26 +0000)]
* sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): Remove clk_tck. * sysdeps/mach/hurd/clk_tck.c: Removed. * sysdeps/mach/hurd/getclktck.c: New file. * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use __getclktck instead of __libc_clk_tck. * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead of __libc_clk_tck. * sysdeps/mach/hurd/i386/bits/time.h: Likewise.
2000-11-04 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove
__libc_clk_tck.
* sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines):
Remove clk_tck.
* sysdeps/mach/hurd/clk_tck.c: Removed.
* sysdeps/mach/hurd/getclktck.c: New file.
* sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use
__getclktck instead of __libc_clk_tck.
* sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead
of __libc_clk_tck.
* sysdeps/mach/hurd/i386/bits/time.h: Likewise.
Ulrich Drepper [Sat, 4 Nov 2000 03:29:28 +0000 (03:29 +0000)]
Update.
2000-11-03 Ulrich Drepper <drepper@redhat.com>
* posix/Versions: Export __sysconf.
Ulrich Drepper [Fri, 3 Nov 2000 01:24:42 +0000 (01:24 +0000)]
Update.
* iconvdata/Makefile (distribute): Add viscii.c.
* elf/Makefile (distribute): Add tst-pathopt.sh.
Ulrich Drepper [Fri, 3 Nov 2000 00:45:23 +0000 (00:45 +0000)]
Update.
* version.h (VERSION): Bump to 2.1.97.
Ulrich Drepper [Fri, 3 Nov 2000 00:30:48 +0000 (00:30 +0000)]
Update.
* sysdeps/i386/i486/bits/string.h (strcmp): Cast arguments to
__strcmp_cc, __strcmp_cg, and __strcmp_gc to unsigned char *.
(__strcmp_cc, __strcmp_cg, __strcmp_gc): Remove casts of values here.
Reported by Denis Zaitsev <zzz@cd-club.ru>.
Ulrich Drepper [Thu, 2 Nov 2000 22:16:22 +0000 (22:16 +0000)]
Update.
2000-11-02 Ulrich Drepper <drepper@redhat.com>
* iconvdata/utf-16.c (PREPARE_LOOP): Correct typo preventing BOM from
being written.
* manual/socket.texi (Local Namespace Concepts): Don't mention what
permissions are necessary to connect to a socket.
Reported by Peter Eisentraut <peter_e@gmx.net>.
* sysdeps/generic/backtracesyms.c (__backtrace_symbols): Fix
computation of total for 64-bit machines.
Patch by Byron Stanoszek <gandalf@winds.org>.
* manual/arith.texi (Rounding): Correct description of fesetround
return value. Patch by Conrado Badenas <Conrado.Badenas@uv.es>.
Ulrich Drepper [Thu, 2 Nov 2000 21:52:42 +0000 (21:52 +0000)]
(Rounding): Correct description of fesetround return value.
Andreas Jaeger [Thu, 2 Nov 2000 09:32:58 +0000 (09:32 +0000)]
Update.
2000-10-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* sysdeps/mips/dl-machine.h (elf_machine_rel): Add the symbol's
value plus the run-time displacement to the relocation for non-GOT
symbols. Set the relocation to the GOT entry for GOT symbols.
Andreas Jaeger [Thu, 2 Nov 2000 09:32:30 +0000 (09:32 +0000)]
(elf_machine_rel): Add the symbol's value plus the run-time displacement to the relocation for non-GOT symbols. Set the relocation to the GOT entry for GOT symbols.
Ulrich Drepper [Thu, 2 Nov 2000 09:19:50 +0000 (09:19 +0000)]
Update.
2000-11-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/s390/bits/time.h: Removed.
of unary ~ to size_t.
skip the entire translit section, not only one line. Remove dead test
for tok_translit_end. Enqueue include statements into a list.
* intl/Makefile: Add rules to build, run and, distribute tst-gettext2.
Ulrich Drepper [Thu, 2 Nov 2000 07:51:38 +0000 (07:51 +0000)]
Update.
* iconvdata/TESTS: Add entries for IBM856, IBM930, IBM933, IBM935,
IBM937, IBM939, and IBM1046.
* iconvdata/testdata/IBM1046: New file.
* iconvdata/testdata/IBM930..UTF8: New file.
* iconvdata/testdata/IBM1046..UTF8: New file.
* iconvdata/testdata/IBM933: New file.
* iconvdata/testdata/IBM935: New file.
* iconvdata/testdata/IBM937: New file.
* iconvdata/testdata/IBM856..UTF8: New file.
* iconvdata/testdata/IBM939: New file.
* iconvdata/testdata/IBM933..UTF8: New file.
* iconvdata/testdata/IBM935..UTF8: New file.
* iconvdata/testdata/IBM930: New file.
* iconvdata/testdata/IBM856: New file.
* iconvdata/testdata/IBM937..UTF8: New file.
* iconvdata/testdata/IBM939..UTF8: New file.
Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>.
2000-11-01 Martin Buchholz <martin@xemacs.org>
* manual/memory.texi (Hooks for Malloc): Fix `caller' arg docs to
agree with implementation.
2000-11-01 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 1 Nov 2000 21:01:34 +0000 (21:01 +0000)]
Update.
* sysdeps/unix/sysv/linux/bits/time.h (CLK_TCK): Cast sysconf result
to __clock_t.
* 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.
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
Ulrich Drepper [Wed, 1 Nov 2000 19:31:30 +0000 (19:31 +0000)]
Update.
of unary ~ to size_t.Update.
Ulrich Drepper [Wed, 1 Nov 2000 19:15:39 +0000 (19:15 +0000)]
Update.
* sysdeps/unix/sysv/linux/bits/socket.h (CMSG_ALIGN): Cast result
of unary ~ to size_t.
* stdlib/strtod.c: Make gcc shut up about SWAP use.
Ulrich Drepper [Wed, 1 Nov 2000 17:55:36 +0000 (17:55 +0000)]
Update.
* sysdeps/i386/fpu/bits/mathinline.h: Add support for builtin
unordered compare functions to gcc 2.97 and up.
Ulrich Drepper [Wed, 1 Nov 2000 16:39:15 +0000 (16:39 +0000)]
Update.
* string/bits/string2.h: Disable strstr optimizations for newer
gcc versions. Patch by Joseph S. Myers <jsm28@cam.ac.uk>.
Ulrich Drepper [Wed, 1 Nov 2000 16:33:25 +0000 (16:33 +0000)]
Update.
2000-11-01 Ulrich Drepper <drepper@redhat.com>
* configure.in (with_cvs): Test for pserver access.
Ulrich Drepper [Wed, 1 Nov 2000 09:06:22 +0000 (09:06 +0000)]
Update.
* sunrpc/clnt_tcp.c (clnt_call): Don't use timeout in tests with zero,
use ct->ct_wait.
* sunrpc/clnt_unix.c (clnt_call): Likewise.
Ulrich Drepper [Wed, 1 Nov 2000 08:10:10 +0000 (08:10 +0000)]
Update.
* elf/Versions [ld] (GLIBC_2.2): Export _dl_clktck and _dl_pagesize.
* elf/dl-load.c: Define _dl_clktck.
* elf/elf.h: Define AT_CLKTCK.
* include/time.h: Declare __getclktck.
* misc/Makefile (routines): Add getclktck.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Handle AT_CLKTCK.
(_dl_show_auxv): Show AT_CLKTCK value.
* sysdeps/generic/getclktck.c: New file.
* sysdeps/unix/sysv/linux/getclktck.c: New file.
* sysdeps/unix/sysv/linux/alpha/getclktck.c: New file.
* sysdeps/unix/sysv/linux/ia64/getclktck.c: New file.
* sysdeps/posix/sysconf.c: Use __getclktck to handle _SC_CLK_TCK.
* sysdeps/unix/sysv/linux/getpagesize.c: New file.
* sysdeps/unix/sysv/linux/bits/time.h: Use __sysconf to for CLK_TCK.
* 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.
* sysdeps/unix/sysv/linux/s390/bits/time.h: Likewise.
Ulrich Drepper [Wed, 1 Nov 2000 04:28:16 +0000 (04:28 +0000)]
Update.
2000-10-31 Ulrich Drepper <drepper@redhat.com>
* sunrpc/clnt_gen.c (clnt_create): Don't set timeout with
clnt_control for any protocol. This would make it impossible for
the user to provide one in clnt_call().
Reported by Hitoshi Guutara Maruyama <maruyama@sh.rim.or.jp>.
Ulrich Drepper [Wed, 1 Nov 2000 02:59:43 +0000 (02:59 +0000)]
Update.
2000-10-31 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/fpu/s_isinfl.S: New file, - assembly based
implementation based on suggestion by Richard Henderson.
* sysdeps/ia64/fpu/s_isinfl.c: Removed.
2000-10-30 Jes Sorensen <jes@linuxcare.com>
* sysdeps/ia64/fpu/s_isnanl.S: New file - assembly based
implementation based on suggestion by Richard Henderson.
* sysdeps/ia64/fpu/s_isnanl.c: Removed.
Ulrich Drepper [Tue, 31 Oct 2000 17:44:49 +0000 (17:44 +0000)]
Update.
* locale/programs/locale.c (print_item): Fix one more problem with
string lists. Patch by Chen Xiangyang <chenxy@opencjk.org>.
* locale/categories.def: Add number of arguments to ctype-map-names
and ctype-class-names entries. Mark era as stringlist.
Ulrich Drepper [Tue, 31 Oct 2000 08:27:15 +0000 (08:27 +0000)]
Update.
* iconvdata/ibm1046.c: New file.
* iconvdata/ibm1046.h: New file.
* iconvdata/ibm856.c: New file.
* iconvdata/ibm856.h: New file.
* iconvdata/ibm930.c: New file.
* iconvdata/ibm930.h: New file.
* iconvdata/ibm933.c: New file.
* iconvdata/ibm933.h: New file.
* iconvdata/ibm935.c: New file.
* iconvdata/ibm935.h: New file.
* iconvdata/ibm937.c: New file.
* iconvdata/ibm937.h: New file.
* iconvdata/ibm939.c: New file.
* iconvdata/ibm939.h: New file.
Ulrich Drepper [Tue, 31 Oct 2000 08:24:06 +0000 (08:24 +0000)]
Update.
2000-10-31 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
IBM937, IBM939, and IBM1046.
(distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
ibm939.h, and ibm1046.h.
* iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
IBM935, IBM937, IBM939, and IBM1046.
Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.
Ulrich Drepper [Tue, 31 Oct 2000 06:06:35 +0000 (06:06 +0000)]
Update.
* locale/localeinfo.h (enum value_type): Add wstring, wstringarray,
and wstringlist.
* locale/categories.def: Mark wide char strings as wstring or
stringarray.
* locale/programs/locale.c (show_info): Handle wstring, wstringarray,
and wstringlist. Print keywords only if there is real output.
Reported by Chen Xiangyang <chenxy@opencjk.org>.
* sysdeps/sparc/fpu/bits/mathinline.h: Add __THROW where necessary.
Patch by Ben Collins <bcollins@debian.org>.
Ulrich Drepper [Tue, 31 Oct 2000 05:20:53 +0000 (05:20 +0000)]
Update.
* stdio-common/Makefile (tests): Add tst-fmemopen.
* stdio-common/tst-fmemopen.c: New file.
Test case by Ben Collins <bcollins@debian.org>.
* libio/iofopncook.c (_IO_cookie_seek): Correct test for error.
* libio/fmemopen.c (fmemopen_read): Return 0 at end of buffer.
(fmemopen_write): Set errno at end of buffer.
Ulrich Drepper [Tue, 31 Oct 2000 04:38:55 +0000 (04:38 +0000)]
Update.
* posix/runtests.c (main): Don't use exit() to avoid warning with
broken compilers.
* string/bug-strncat1.c: Undefine __USE_STRING_INLINES before
defining it again to avoid warning.
* string/bug-strpbrk1.c: Likewise.
* string/bug-strspn1.c: Likewise.
2000-10-29 Bruno Haible <haible@clisp.cons.org>
* locale/C-translit.h.in: Include more rules from translit_neutral.
Remove a few German and Danish specific rules.
* locale/gen-translit.pl: Avoid an error when printing a string
containing a '%' character.
* locale/C-translit.h: Regenerated.
* intl/translit.po: Choose different translations.
* intl/tst-translit.c: Update.
2000-10-29 Bruno Haible <haible@clisp.cons.org>
* locale/programs/ld-ctype.c (translit_include_t): New type.
(locale_ctype_t): Remove translit_copy_locale, translit_copy_repertoire
fields, add translit_include field.
(ctype_read): After seeing "translit_start" in ignore_content mode,
skip the entire translit section, not only one line. Remove dead test
for tok_translit_end. Enqueue include statements into a list.
Signal error if tok_eof seen before tok_translit_end.
(translit_flatten): New function.
(allocate_arrays): Call translit_flatten.
2000-10-30 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Tue, 31 Oct 2000 03:10:13 +0000 (03:10 +0000)]
Update.
* locale/findlocale.c (free_mem): We can remove NODELETE marked
data, just not the C locale data.
* intl/tst-gettext.c: Use setlocale() in addition to setting envvar.
* intl/tst-gettext.sh: Copy locale data if necessary.
* intl/Makefile (generated-dirs): Add localedir.
* intl/dcigettext.c (guess_category_value): For libc always use
the setlocale() method.
* intl/Makefile: Add rules to build, run and, distribute tst-gettext2.
* intl/tst-gettext2.c: New file.
* intl/tst-gettext2.sh: New file.
* intl/tstlang1.po: New file.
* intl/tstlang2.po: New file.
Patch by Andreas Jaeger <aj@suse.de>.
2000-10-26 GOTO Masanori <gotom@debian.or.jp>
* intl/locale.alias: Add ja_JP.ujis alias.
2000-10-30 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Mon, 30 Oct 2000 08:53:51 +0000 (08:53 +0000)]
Update.
2000-10-30 Ulrich Drepper <drepper@redhat.com>
* locale/findlocale.c (_nl_find_locale): Don't store normalized
name in *NAME.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:54 +0000 (07:39 +0000)]
Update.
* attr.c (__pthread_attr_setguardsize): Don't round guardsize
here. Reported by Bruce <bruce@puremagic.com>.
Ulrich Drepper [Mon, 30 Oct 2000 07:39:06 +0000 (07:39 +0000)]
(__pthread_attr_setguardsize): Don't round guardsize here.
Andreas Jaeger [Mon, 30 Oct 2000 06:48:05 +0000 (06:48 +0000)]
Update.
2000-10-29 Ben Collins <bcollins@debian.org>
* sysdeps/generic/lockf64.c: In the case of F_TEST, set l_type to
F_RDLCK explicitly.
* sysdeps/unix/sysv/linux/i386/lockf64.c: Likewise.
Andreas Jaeger [Mon, 30 Oct 2000 06:47:34 +0000 (06:47 +0000)]
In the case of F_TEST, set l_type to F_RDLCK explicitly.
Ulrich Drepper [Mon, 30 Oct 2000 05:19:41 +0000 (05:19 +0000)]
Update.
2000-10-29 Ulrich Drepper <drepper@redhat.com>
* iconvdata/big5.c: Update.
Patch by Tung-Han Hsieh <thhsieh@twcpro.phys.ntu.edu.tw>.
* iconvdata/Makefile (distribute): Add BIG5.irreversible.
* iconvdata/BIG5.irreversible: New file.
Ulrich Drepper [Mon, 30 Oct 2000 04:18:33 +0000 (04:18 +0000)]
Update.
2000-10-29 Greg Louis <glouis@dynamicro.on.ca>
* posix/regex.h (__restrict_arr): Move definition out of #ifndef block.
Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but
doesn't define __restrict_arr.
* manual/search.texi: Correct description if VISIT values.
Patch by Ben Collins <bcollins@debian.org>.
Ulrich Drepper [Mon, 30 Oct 2000 04:08:58 +0000 (04:08 +0000)]
Update.
* string/bits/string2.h (strspn): Evaluate first argument if
second is "".
(strpbrk): Likewise.
* sysdeps/i386/i486/bits/string.h: Likewise.
* string/Makefile (tests): Add bug-strspn1 and bug-strpbrk1.
* string/bug-strspn1.c: New file.
* string/bug-strpbrk1.c: New file.
Test cases by Joseph S. Myers <jsm28@cam.ac.uk>.
* string/bits/string2.h (strncat): Terminate string correctly.
* sysdeps/i386/i486/bits/string.h (strncat): Likewise.
* string/Makefile (tests): Add bug-strncat1.
* string/bug-strncat1.c: New file.
Test case by Joseph S. Myers <jsm28@cam.ac.uk>.
2000-10-27 Ben Collins <bcollins@debian.org>
* sysdeps/generic/lockf.c (lockf): Set l_type to F_RDLCK before
calling for F_GETLK.
2000-10-29 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Mon, 30 Oct 2000 03:21:39 +0000 (03:21 +0000)]
Update.
* elf/dl-load.c (open_path): Don't exit loop early if we didn't
use a directory at all.
Ulrich Drepper [Mon, 30 Oct 2000 00:13:29 +0000 (00:13 +0000)]
Update.
* elf/Makefile: Add rules to build and run tst-pathopt.
* elf/tst-pathopt.c: New file.
* elf/tst-pathopt.sh: New file.
* elf/pathoptobj.c: New file.
Ulrich Drepper [Sun, 29 Oct 2000 17:30:30 +0000 (17:30 +0000)]
Update.
2000-10-29 Ulrich Drepper <drepper@redhat.com>
* elf/elf.h (SHN_XINDEX): Define.
Ulrich Drepper [Sun, 29 Oct 2000 02:17:56 +0000 (02:17 +0000)]
Update.
* io/Makefile (tests): Add test-stat2.
(test-stat2-ARS): New variable.
* io/test-stat2.c: New file.
Ulrich Drepper [Sat, 28 Oct 2000 20:20:17 +0000 (20:20 +0000)]
Update.
* Makeconfig (ETAGS): Remove -T flag.
Ulrich Drepper [Sat, 28 Oct 2000 09:16:32 +0000 (09:16 +0000)]
Update.
2000-10-28 Ulrich Drepper <drepper@redhat.com>
* elf/dl-load.c (open_verify): Only try to load ET_DYN and ET_EXEC
objects. Reject all other types.
(_dl_map_object_from_fd): Optimize a bit.