Mark Kettenis [Sat, 6 Jan 2001 12:31:35 +0000 (12:31 +0000)]
* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory.
* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number
instead of -1 on failure. Don't forget to copy file name into
*ENTRY if successful. Set *RESULT to NULL upon reaching the end
of the directory.
2001-01-06 Mark Kettenis <kettenis@gnu.org>
Mark Kettenis [Sat, 6 Jan 2001 01:52:03 +0000 (01:52 +0000)]
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member.
2001-01-06 Mark Kettenis <kettenis@gnu.org>
* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to
copy st_atime member.
Ulrich Drepper [Fri, 5 Jan 2001 18:10:10 +0000 (18:10 +0000)]
Update.
* io/ftw.c (ftw_dir): Don't add a second slash at the beginning
for searches from the root directory.
Reported by loris <loris@iol.it> [PR libc/1991].
* io/Makefile (tests): Add bug-ftw1.
* io/bug-ftw1.c: New file.
Ulrich Drepper [Fri, 5 Jan 2001 16:27:04 +0000 (16:27 +0000)]
Update.
* elf/dl-support.c (non_dynamic_init): Don't define DL_FIND_AUXV
if it is not available. Instead use it only if it is available.
* sysdeps/unix/sysv/linux/ldsodefs.h: New file.
Ulrich Drepper [Fri, 5 Jan 2001 08:10:28 +0000 (08:10 +0000)]
Update.
2001-01-05 Ulrich Drepper <drepper@redhat.com>
* iconv/gconv_simple.c (internal_ics4_loop): Correct test for
overflowing output buffer.
(internal_ucs4_loop_unaligned): Likewise.
(ucs4_internal_loop): Likewise.
(ucs4_internal_loop_unaligned): Likewise.
(internal_ucs4le_loop): Likewise.
(internal_ucs4le_loop_unaligned): Likewise.
(ucs4le_internal_loop): Likewise.
(ucs4le_internal_loop_unaligned): Likewise.
Reported by Owen Taylor <otaylor@redhat.com>.
* iconv/Makefile (tests): Add tst-iconv2.
* iconv/tst-iconv2.c: New file.
Ulrich Drepper [Fri, 5 Jan 2001 06:43:17 +0000 (06:43 +0000)]
Update
2001-01-04 H.J. Lu <hjl@gnu.org>
* elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined.
(_dl_clktck): Declared.
(non_dynamic_init): Take 3 arguments.
Set _dl_pagesize, _dl_platform and _dl_clktck from AUX.
2001-01-01 Bruno Haible <haible@clisp.cons.org>
Finish implementation of plural form handling.
* intl/dcigettext.c (known_translation_t): Rename 'domain' field to
'domainname'. Remove 'plindex' field. Add 'domain' and
'translation_length' fields.
(transcmp): Don't compare 'plindex' fields.
(plural_lookup): New function.
(DCIGETTEXT): Change cache handing in the plural case. Don't call
plural_eval before the translation and its catalog file have been
found. Remove plindex from cache key. Add 'translation_length' and
'domain' to cache result.
(_nl_find_msg): Remove index argument, return length of translation
to the caller instead. Weaken comparison of string lengths, to account
for plural entries. Call iconv() on the entire result string, not
only on the portion needed so far.
* intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp
argument.
* intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
Ulrich Drepper [Fri, 5 Jan 2001 06:18:46 +0000 (06:18 +0000)]
Update.
2001-01-04 Ulrich Drepper <drepper@redhat.com>
* intl/plural.y (yylex): Minimal improvement in number scanner.
Ulrich Drepper [Fri, 5 Jan 2001 05:52:11 +0000 (05:52 +0000)]
Update.
2000-07-31 Bruno Haible <haible@clisp.cons.org>
* intl/plural.y: Include config.h. Needed to define 'inline' away for
C compilers that don't support it.
(yylex): Don't use gcc specific case range syntax.
* intl/loadmsgcat.c (INIT_GERMANIC_PLURAL): New macro, for old
compilers.
2000-10-12 Bruno Haible <haible@clisp.cons.org>
* intl/finddomain.c: Remove unneeded includes.
2000-10-12 Bruno Haible <haible@clisp.cons.org>
* intl/localealias.c (memcpy): Return first argument, just like the
real memcpy function does.
* intl/bindtextdom.c (memcpy): Likewise.
* intl/finddomain.c (memcpy): Likewise.
* intl/l10nflist.c (memcpy): Likewise.
* intl/textdomain.c (memcpy): Likewise.
From Paul Eggert <eggert@twinsun.com>.
Ulrich Drepper [Fri, 5 Jan 2001 02:36:27 +0000 (02:36 +0000)]
Update.
2001-01-03 Jakub Jelinek <jakub@redhat.com>
* resolv/resolv.h (struct __res_state): Add nsinit field.
* resolv/res_send.c (res_nsend): Use it instead of nscount.
* resolv/res_init.c (__res_vinit): Initialize it.
(res_nclose): Clear it instead of nscount.
* malloc/mtrace.pl: Fix matching of addresses.
Patch by Aharon Robbins <arnold@skeeve.com>.
Ulrich Drepper [Fri, 5 Jan 2001 01:01:31 +0000 (01:01 +0000)]
Update.
2001-01-04 Ulrich Drepper <drepper@redhat.com>
* Versions.def (ld): Add GLIBC_2.2.
* catgets/gencat.c: Copyright 2001.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldconfig.c: Likewise.
* elf/sprof.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* locale/locale.c: Likewise.
* locale/localedef.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* nscd/nscd.c: Likewise.
* posix/getconf.c: Likewise.
2001-01-04 Mark Kettenis <kettenis@gnu.org>
* include/stdio.h: Only provide __getwc_unlocked prototype if
USE_IN_LIBIO is defined.
2001-01-04 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/socket.S (__socket): Fix error code
handling.
2001-01-03 Andreas Schwab <schwab@suse.de>
* sysdeps/generic/strtoll.c: Remove unused __strtoq_internal alias.
* sysdeps/generic/strtoull.c: Remove unused __strtouq_internal alias.
* sysdeps/wordsize-64/strtol.c: Add strtoq alias and fix strtoll alias.
* sysdeps/wordsize-64/strtoul.c: Add strtouq alias and fix
strtoull alias.
* sysdeps/wordsize-64/wcstol.c: Add wcstoq alias and fix wcstoll alias.
* sysdeps/wordsize-64/wcstoul.c: Add wcstouq alias and fix
wcstoull alias.
* sysdeps/generic/strtoul.c: Make sure we find strtol.c in this
directory.
* sysdeps/generic/strtol_l.c: Likewise.
* sysdeps/generic/strtoul_l.c: Likewise.
* sysdeps/generic/wcstoul.c: Likewise, for wcstol.c.
* sysdeps/wordsize-64/strtol_l.c: Fix alias.
* sysdeps/wordsize-64/strtoul_l.c: Likewise.
* sysdeps/wordsize-64/wcstol_l.c: Fix alias.
* sysdeps/wordsize-64/wcstoul_l.c: Likewise.
Ulrich Drepper [Thu, 4 Jan 2001 23:46:35 +0000 (23:46 +0000)]
(__socket): Fix error code handling.
Andreas Jaeger [Thu, 4 Jan 2001 17:07:06 +0000 (17:07 +0000)]
Update.
2001-01-04 Andreas Jaeger <aj@suse.de>
* nss/nsswitch.c: Include files for missing prototypes, remove
buggy declaration of prototypes.
Andreas Jaeger [Wed, 3 Jan 2001 19:59:47 +0000 (19:59 +0000)]
Update.
* sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
Andreas Jaeger [Wed, 3 Jan 2001 17:23:49 +0000 (17:23 +0000)]
Update.
2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* resolv/Versions: Fix bracing.
* sysdeps/powerpc/soft-fp/Versions: Likewise.
Andreas Jaeger [Wed, 3 Jan 2001 17:23:22 +0000 (17:23 +0000)]
* resolv/Versions: Fix bracing.
* sysdeps/powerpc/soft-fp/Versions: Likewise.
Ulrich Drepper [Wed, 3 Jan 2001 16:13:16 +0000 (16:13 +0000)]
Update.
2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
Ulrich Drepper [Wed, 3 Jan 2001 04:50:22 +0000 (04:50 +0000)]
Update.
* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
Suggested by Minko Markov <mmarkov@home.com>.
2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/elf/start.S (__data_start): Make it global.
* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
the failing symbol.
(__process_machine_rela): Pass symbol to dl_reloc_overflow().
2001-01-02 Ben Collins <bcollins@debian.org>
* time/tzset.c (tzset_internal): Make sure we fall back to UTC
if TZ is not set and TZDEFAULT is not present.
2001-01-01 Ben Collins <bcollins@debian.org>
* string/strings.h: Make sure we declare our functions even if
string.h is already included, based on whether or not __USE_BSD is
defined.
2001-01-02 Ulrich Drepper <drepper@redhat.com>
* dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
other dlopen() and dlsym().
Based on a patch by Ben Collins <bcollins@debian.org>.
2001-01-02 Andreas Jaeger <aj@suse.de>
* dlfcn/errmsg1.c (main): Call dlerror initially.
Reported by Ben Collins <bcollins@debian.org>.
2001-01-02 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 3 Jan 2001 04:02:46 +0000 (04:02 +0000)]
Update.
2001-01-02 Ulrich Drepper <drepper@redhat.com>
* intl/dcigettext.c (guess_category_value): Rewrite so that LANGUAGE
value is ignored if the selected locale is the C locale.
* intl/tst-gettext.c: Set locale for above change.
* intl/tst-translit.c: Likewise.
Ulrich Drepper [Wed, 3 Jan 2001 04:01:43 +0000 (04:01 +0000)]
(guess_category_value): Rewrite so that LANGUAGE value is ignored if the selected locale is the C locale.
Andreas Jaeger [Tue, 2 Jan 2001 17:02:20 +0000 (17:02 +0000)]
Update.
* libio/wgenops.c (_IO_wdoallocbuf): Use correct wide access macro.
(_IO_switch_to_wget_mode): Likewise.
(_IO_sputbackwc): Likewise.
(_IO_sungetwc): Use wint_t for result.
* stdio-common/vfscanf.c (__vfscanf): Use WINT_T for done.
* sysdeps/generic/strtol.c (strtol): Make cnt size_t for correct
signedness.
* sysdeps/generic/printf_fphex.c (putc): Cast _IO_putwc_unlocked
to (int) to avoid warnings.
* stdio-common/printf_fp.c (putc): Likewise.
* stdio-common/printf_size.c (putc): Likewise.
Andreas Jaeger [Tue, 2 Jan 2001 15:05:08 +0000 (15:05 +0000)]
Update.
2001-01-02 Andreas Jaeger <aj@suse.de>
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make
constant unsigned.
Andreas Jaeger [Mon, 1 Jan 2001 14:53:18 +0000 (14:53 +0000)]
Update.
2001-01-01 Andreas Jaeger <aj@suse.de>
* inet/rcmd.c (rcmd_af): Use socklen_t for len.
Andreas Jaeger [Mon, 1 Jan 2001 14:53:05 +0000 (14:53 +0000)]
(rcmd_af): Use socklen_t for len.
Ulrich Drepper [Mon, 1 Jan 2001 04:49:02 +0000 (04:49 +0000)]
Update.
2000-12-31 Ulrich Drepper <drepper@redhat.com>
* manager.c (pthread_alloca_stack): Remove MAP_FIXED from mmap calls.
(pthread_free): Always unmap the stack. It's safe now that we don't
use MAP_FIXED to allocate stacks.
Ulrich Drepper [Mon, 1 Jan 2001 04:36:28 +0000 (04:36 +0000)]
Update.
2000-12-31 H.J. Lu <hjl@gnu.org>
* manager.c (pthread_allocate_stack): Fix a typo.
Ulrich Drepper [Mon, 1 Jan 2001 04:35:39 +0000 (04:35 +0000)]
(pthread_allocate_stack): Fix a typo.
Andreas Jaeger [Sun, 31 Dec 2000 19:13:04 +0000 (19:13 +0000)]
Update.
* include/libc-internal.h: Add prototype for __libc_freeres.
* malloc/mtrace.c: Likewise.
* malloc/set-freeres.c: Likewise.
Andreas Jaeger [Sun, 31 Dec 2000 18:24:24 +0000 (18:24 +0000)]
Update.
* sysdeps/unix/sysv/linux/init-first.c: Include <libc-internals.h>
for prototypes, remove redundant prototypes.
* gmon/gmon.c: Likewise.
* sysdeps/unix/i386/i586/clock_getres.c: Likewise.
* sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
* sysdeps/generic/enbl-secure.c: Include <libc-internals.h> for
prototypes.
* elf/soinit.c: Likewise.
* sysdeps/generic/prof-freq.c: Likewise.
* sysdeps/mach/hurd/profil.c: Likewise.
* debug/noophooks.c: Likewise.
* debug/pcprofile.c: Likewise.
* sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
* sysdeps/generic/get_clockfreq.c: Likewise.
* locale/localeinfo.h: Add internal prototypes.
* elf/rtld.c (dl_main): Fix prototype.
Andreas Jaeger [Sun, 31 Dec 2000 16:56:12 +0000 (16:56 +0000)]
Update.
* iconvdata/tst-table-to.c (main): Use return instead of exit to
avoid warning.
* nis/rpcsvc/yp_prot.h: Remove __P.
* nis/rpcsvc/ypupd.h: Likewise.
* nis/rpcsvc/yp.h: Likewise.
Andreas Jaeger [Sun, 31 Dec 2000 16:56:02 +0000 (16:56 +0000)]
(main): Use return instead of exit to avoid warning.
2000-12-31 Andreas Jaeger <aj@suse.de>
* tst-fmon.c (main): Use return instead of exit to avoid warning.
Andreas Jaeger [Sun, 31 Dec 2000 15:43:43 +0000 (15:43 +0000)]
Update.
* sunrpc/rpc_main.c: Add noreturn attributes.
* sunrpc/rpc_scan.h: Likewise.
* sunrpc/rpc_hout.c (storexdrfuncdecl): Make static.
* sunrpc/rpcinfo.c: Add noreturn attribute to brdcst.
* sunrpc/proto.h: Add noreturn attributes to error and crash.
Andreas Jaeger [Sun, 31 Dec 2000 15:34:47 +0000 (15:34 +0000)]
Update.
* posix/bsd-getpgrp.c: Add prototype to avoid warning.
* sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes.
* sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes.
* include/rpc/rpc_msg.h: Add prototypes for some functions.
* include/rpc/auth.h: Likewise.
* include/rpc/auth_des.h: Likewise.
* include/rpc/clnt.h: Likewise.
* include/rpc/rpc.h: Likewise.
* include/rpc/svc.h: Likewise.
* include/rpc/svc_auth.h: Likewise.
* include/rpc/des_crypt.h: New file.
Andreas Jaeger [Sun, 31 Dec 2000 10:52:40 +0000 (10:52 +0000)]
Update.
2000-12-31 Andreas Jaeger <aj@suse.de>
* malloc/memusagestat.c (main): Use return instead of exit to
avoid warning.
* io/pwd.c (main): Likewise.
* iconvdata/tst-table-from.c (main): Likewise.
* ctype/test_ctype.c (main): Likewise.
* setjmp/tst-setjmp.c (main): Likewise.
* signal/tst-signal.c (main): Likewise.
* stdlib/tst-strtol.c (main): Likewise.
* stdlib/tst-strtod.c (main): Likewise.
* stdlib/tst-strtoll.c (main): Likewise.
* stdlib/tst-xpg-basename.c (main): Likewise.
* dirent/tst-seekdir.c (main): Likewise.
* grp/testgrp.c (main): Likewise.
* inet/test_ifindex.c (main): Likewise.
* io/test-utime.c (main): Likewise.
* posix/test-vfork.c (main): Likewise.
* posix/testfnm.c (main): Likewise.
* stdio-common/temptest.c (main): Likewise.
* stdio-common/test_rdwr.c (main): Likewise.
* stdio-common/tst-fileno.c (main): Likewise.
* stdio-common/tst-sscanf.c (main): Likewise.
* stdio-common/tstscanf.c (main): Likewise.
* string/bug-strncat1.c (main): Likewise.
* string/bug-strpbrk1.c (main): Likewise.
* string/bug-strspn1.c (main): Likewise.
* string/test-ffs.c (main): Likewise.
* string/tst-inlcall.c (main): Likewise.
* string/tst-svc.c (main): Likewise.
* timezone/test-tz.c (main): Likewise.
* wctype/test_wcfuncs.c (main): Likewise.
* wctype/test_wctype.c (main): Likewise.
* stdlib/tst-random.c: Add attribute noreturn to fail.
Andreas Jaeger [Sun, 31 Dec 2000 10:52:32 +0000 (10:52 +0000)]
* malloc/memusagestat.c (main): Use return instead of exit to
avoid warning.
* io/pwd.c (main): Likewise.
* iconvdata/tst-table-from.c (main): Likewise.
* ctype/test_ctype.c (main): Likewise.
* setjmp/tst-setjmp.c (main): Likewise.
* signal/tst-signal.c (main): Likewise.
* stdlib/tst-strtol.c (main): Likewise.
* stdlib/tst-strtod.c (main): Likewise.
* stdlib/tst-strtoll.c (main): Likewise.
* stdlib/tst-xpg-basename.c (main): Likewise.
* dirent/tst-seekdir.c (main): Likewise.
* grp/testgrp.c (main): Likewise.
* inet/test_ifindex.c (main): Likewise.
* io/test-utime.c (main): Likewise.
* posix/test-vfork.c (main): Likewise.
* posix/testfnm.c (main): Likewise.
* stdio-common/temptest.c (main): Likewise.
* stdio-common/test_rdwr.c (main): Likewise.
* stdio-common/tst-fileno.c (main): Likewise.
* stdio-common/tst-sscanf.c (main): Likewise.
* stdio-common/tstscanf.c (main): Likewise.
* string/bug-strncat1.c (main): Likewise.
* string/bug-strpbrk1.c (main): Likewise.
* string/bug-strspn1.c (main): Likewise.
* string/test-ffs.c (main): Likewise.
* string/tst-inlcall.c (main): Likewise.
* string/tst-svc.c (main): Likewise.
* timezone/test-tz.c (main): Likewise.
* wctype/test_wcfuncs.c (main): Likewise.
* wctype/test_wctype.c (main): Likewise.
* stdlib/tst-random.c: Add attribute noreturn to fail.
Ulrich Drepper [Sun, 31 Dec 2000 08:26:04 +0000 (08:26 +0000)]
Update.
2000-12-31 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/pspinlock.c: Don't include pt-machine.h here.
* manager.c (pthread_allocate_stack): Prepare for removal of MAP_FIXED.
Ulrich Drepper [Sun, 31 Dec 2000 07:39:50 +0000 (07:39 +0000)]
Update.
2000-12-28 Wolfram Gloger <wg@malloc.de>
* malloc/malloc.c (MALLOC_COPY): Handle case if source and
destination overlap. Assume dest is always below source if
overlapping.
Ulrich Drepper [Sun, 31 Dec 2000 06:09:08 +0000 (06:09 +0000)]
Update.
2000-12-30 Ulrich Drepper <drepper@redhat.com>
* elf/dl-close.c (_dl_close): We can ignore the NODELETE flag if the
object was not yet initialized.
2000-12-28 H.J. Lu <hjl@gnu.org>
* elf/dl-deps.c (_dl_map_object_deps): Make sure the DSO state
is always consistent even if its dependency is failed.
* elf/dl-open.c (_dl_open): Increment the open count before
calling _dl_close () in case of failure.
* elf/neededtest4.c: New file.
* elf/neededobj5.c: New file.
* elf/neededobj6.c: New file.
* elf/Makefile (distribute): Add neededobj5.c and neededobj6.c.
(tests): Add neededtest4.
(modules-names): Add neededobj5 and neededobj6.
($(objpfx)neededobj6.so): New target.
($(objpfx)neededtest4): New target.
($(objpfx)neededtest4.out): New target.
Ulrich Drepper [Fri, 29 Dec 2000 22:21:02 +0000 (22:21 +0000)]
Update.
2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
* misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
* stdlib/monetary.h: Add strfmon format attributes.
Ulrich Drepper [Fri, 29 Dec 2000 22:19:07 +0000 (22:19 +0000)]
(__attribute_format_strfmon__): Define.
Roland McGrath [Thu, 28 Dec 2000 20:44:54 +0000 (20:44 +0000)]
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
__mempcpy does it for us.
Roland McGrath [Thu, 28 Dec 2000 20:44:11 +0000 (20:44 +0000)]
2000-12-28 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
__mempcpy does it for us.
Andreas Jaeger [Thu, 28 Dec 2000 15:08:51 +0000 (15:08 +0000)]
Update.
Andreas Jaeger [Thu, 28 Dec 2000 14:22:22 +0000 (14:22 +0000)]
Update.
* sysdeps/generic/dl-environ.c: Add prototype for unsetenv.
* sysdeps/unix/sysv/linux/i386/setrlimit.c: Add prototype for
__new_setrlimit.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Add prototype for
__old_getrlimit64.
* sysdeps/unix/sysv/linux/i386/getrlimit.c: Add prototype for
__new_getrlimit.
* sysdeps/unix/sysv/linux/i386/chown.c: Add prototypes for
__chown_is_lchown and __real_chown.
Andreas Jaeger [Thu, 28 Dec 2000 10:35:17 +0000 (10:35 +0000)]
Update.
* sysdeps/generic/ldsodefs.h: Add noreturn attribute to
_dl_reloc_bad_type.
Andreas Jaeger [Thu, 28 Dec 2000 10:21:29 +0000 (10:21 +0000)]
Update.
2000-12-28 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_hout.c (print_funcdef): Add break statement to shut
up GCC's warning about "deprecated use of label at end of compound
statement."
* sunrpc/rpc_cout.c (emit_inline): Likewise.
* include/argp.h (_argp_unlock_xxx): Add declaration.
* gmon/bb_exit_func.c: Include <sys/gmon.h> for internal
prototypes.
Remove struct bb and __bb_head since those are declared by
sys/gmon.h.
Andreas Jaeger [Thu, 28 Dec 2000 08:40:59 +0000 (08:40 +0000)]
Update.
2000-12-22 Ben Collins <bcollins@debian.org>
* manual/charset.texi: Fix typo in description of WCHAR_MAX.
* manual/argp.texi: Document argp_domain as part of struct argp.
Andreas Jaeger [Thu, 28 Dec 2000 08:35:40 +0000 (08:35 +0000)]
Update.
* catgets/Makefile (generated): Add sample.SJIS.cat.
Andreas Jaeger [Thu, 28 Dec 2000 08:28:43 +0000 (08:28 +0000)]
Update.
* sunrpc/rpc_dtable.c: Include rpc/clnt.h for prototypes.
Andreas Jaeger [Thu, 28 Dec 2000 07:58:08 +0000 (07:58 +0000)]
Update.
* elf/dl-minimal.c: Add prototypes.
* include/locale.h: Add internal prototypes.
* include/sys/gmon.h: Likewise.
Andreas Jaeger [Thu, 28 Dec 2000 06:58:51 +0000 (06:58 +0000)]
Update.
2000-12-28 Andreas Jaeger <aj@suse.de>
* dlfcn/errmsg1mod.c: Add prototype for foo to shut up GCC.
Andreas Jaeger [Thu, 28 Dec 2000 06:57:34 +0000 (06:57 +0000)]
Add prototype for foo to shut up GCC.
Ulrich Drepper [Thu, 28 Dec 2000 04:19:14 +0000 (04:19 +0000)]
Update.
2000-12-27 Ben Collins <bcollins@debian.org>
* elf/dl-open.c (_dl_open): Correctly set the new objname pointer
when reallocating the error strings.
Reported by Kalle Olavi Niemitalo <kon@iki.fi>
Ulrich Drepper [Thu, 28 Dec 2000 03:59:21 +0000 (03:59 +0000)]
Update.
* dlfcn/Makefile (tests): Add errmsg1.
(modules-names): Add errmsg1mod.
Add rules to run errmsg1.
* dlfcn/errmsg1.c: New file.
* dlfcn/errmsg1mod.c: New file.
Ulrich Drepper [Thu, 28 Dec 2000 00:48:48 +0000 (00:48 +0000)]
Update.
* dlfcn/dlerror.c (dlerror): Always create output string which
includes object file name.
Ulrich Drepper [Wed, 27 Dec 2000 23:38:53 +0000 (23:38 +0000)]
Update.
2000-12-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/alpha/alphaev6/memcpy.S: Don't go through unrolled loop
if we would go through it only once.
Patch by Rick Gorton <rick.gorton@api-networks.com>.
* sysdeps/alpha/alphaev67/strncat.S: Fix handling of numeric parameter.
Patch by Richard Henderson <rth@redhat.com>.
2000-12-27 Jakub Jelinek <jakub@redhat.com>
* malloc/malloc.c (memmove): Add prototypes.
(MALLOC_MEMMOVE): Define.
(chunk_realloc): Use it instead of MALLOC_COPY if source and
destination might overlap.
Ulrich Drepper [Wed, 27 Dec 2000 23:27:22 +0000 (23:27 +0000)]
(memmove): Add prototypes. (MALLOC_MEMMOVE): Define. (chunk_realloc): Use it instead of MALLOC_COPY if source and destination might overlap.
Andreas Jaeger [Wed, 27 Dec 2000 20:26:07 +0000 (20:26 +0000)]
Make local functions static.
Andreas Jaeger [Wed, 27 Dec 2000 20:25:30 +0000 (20:25 +0000)]
Update.
* include/setjmp.h: Likewise.
Andreas Jaeger [Wed, 27 Dec 2000 20:19:23 +0000 (20:19 +0000)]
Update.
2000-12-27 Andreas Jaeger <aj@suse.de>
* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
function.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* locale/programs/locale.c (show_locale_vars): Likewise.
(show_info): Likewise.
* locale/programs/ld-collate.c (collate_output): Likewise.
* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* stdlib/rpmatch.c (rpmatch): Likewise.
* setjmp/tst-setjmp.c: Make local functions static.
* setjmp/jmpbug.c: Likewise.
* signal/tst-signal.c: Likewise.
* stdio-common/tfformat.c: Likewise.
* string/tst-svc.c: Likewise.
* time/clocktest.c: Likewise.
* time/tst-getdate.c: Likewise.
* dirent/list.c: Likewise.
* dirent/opendir-tst1.c: Likewise.
* posix/runtests.c: Likewise.
* posix/tst-getaddrinfo.c: Likewise.
* posix/tst-chmod.c: Likewise.
* posix/wordexp-test.c: Likewise.
* misc/tst-efgcvt.c: Likewise.
* timezone/tst-timezone.c: Likewise.
* rt/tst-clock.c: Likewise.
* rt/tst-shm.c: Likewise.
* rt/tst-aio2.c: Likewise.
* rt/tst-aio3.c: Likewise.
* rt/tst-aio4.c: Likewise.
* rt/tst-aio5.c: Likewise.
* dlfcn/failtest.c: Add prototype for foo.
* dlfcn/glrefmain.c: Add prototype for do_test.
* dlfcn/tst-dladdr.c: Add prototype for do_test.
* string/test-ffs.c (main): Add prototype for nested function.
* sunrpc/des_soft.c: Include rpc/des_crypt.h for prototype.
* nss/XXX-lookup.c: Add prototype to shut up GCC.
* include/netinet/ether.h (DECLARE_NSS_PROTOTYPES): Fix
setetherent prototype.
Add internal interfaces.
* nis/nss_nis/nis-ethers.c (_nss_nis_setetherent): Likewise.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent): Likewise.
* resolv/res_data.c: Don't add (conflicting) prototypes for _LIBC.
* nis/nis_intern.h: Add prototype for __pmap_getnisport.
* nss/nss_files/files-ethers.c: Include netinet/ether.h to get
prototypes, remove struct etherent since it's declared in ether.h.
Fix ntohost declaration.
* elf/dl-profile.c (_dl_mcount): Add empty statement to shut up GCC.
* include/getopt.h: Add internal interfaces.
* include/termios.h: Likewise.
* include/resolv.h: Likewise.
* include/netdb.h: Likewise.
* include/grp.h: Likewise.
* include/pwd.h: Likewise.
* include/shadow.h: Likewise.
* include/rpc/netdb.h: Likewise.
* include/stdio.h: Add prototypes for compatibility functions.
* include/grp.h: Likewise.
* include/pwd.h: Likewise.
* include/shadow.h: Likewise.
* include/fenv.h: Define internal interfaces.
Andreas Jaeger [Wed, 27 Dec 2000 20:18:52 +0000 (20:18 +0000)]
* stdio-common/printf_fp.c (__printf_fp): Add prototype for nested
function.
* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
* locale/programs/locale.c (show_locale_vars): Likewise.
(show_info): Likewise.
* locale/programs/ld-collate.c (collate_output): Likewise.
* locale/programs/ld-ctype.c (set_class_defaults): Likewise.
* elf/dl-deps.c (_dl_map_object_deps): Likewise.
* stdlib/rpmatch.c (rpmatch): Likewise.
Ulrich Drepper [Wed, 27 Dec 2000 20:01:49 +0000 (20:01 +0000)]
Update.
2000-12-27 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/byteswap.h (__bswap_64): Handle constant
argument case separately.
* sysdeps/i386/bits/byteswap.h (__bswap_64): Likewise.
Ulrich Drepper [Wed, 27 Dec 2000 20:01:21 +0000 (20:01 +0000)]
(__bswap_64): Handle constant argument case separately.
Andreas Jaeger [Wed, 27 Dec 2000 19:58:36 +0000 (19:58 +0000)]
Add prototype for foo.
Andreas Jaeger [Wed, 27 Dec 2000 17:18:07 +0000 (17:18 +0000)]
Update.
* include/sys/wait.h: Add some prototypes.
* Rules (dummy.c): Create also prototype to shut up GCC.
2000-12-27 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 27 Dec 2000 17:14:56 +0000 (17:14 +0000)]
* Examples/ex13.c: Make local functions static.
* ecmutex.c: Likewise.
* Examples/ex14.c: Likewise.
* Examples/ex2.c: Make local functions static; reformat.
* Examples/ex1.c: Likewise.
* Examples/ex4.c: Likewise.
* Examples/ex5.c: Likewise.
* Examples/ex7.c: Likewise.
CVS ----------------------------------------------------------------------
Ulrich Drepper [Wed, 27 Dec 2000 08:33:07 +0000 (08:33 +0000)]
Update.
* attr.c (__pthread_attr_setstack): Fix setting of __stackaddr element.
(__pthread_attr_getstack): Return correct address.
Add warnings for using pthread_attr_getstackaddr and
Ulrich Drepper [Wed, 27 Dec 2000 08:32:00 +0000 (08:32 +0000)]
(__pthread_attr_getstack): Return correct address.
Andreas Jaeger [Wed, 27 Dec 2000 08:14:29 +0000 (08:14 +0000)]
Update.
2000-12-27 Andreas Jaeger <aj@suse.de>
* sysdeps/mach/hurd/if_index.c (__protocol_available): Uncomment,
it's not needed at the moment.
* sysdeps/generic/if_index.c (__protocol_available): Likewise.
* sysdeps/unix/sysv/linux/if_index.c (__protocol_available): Likewise.
Andreas Jaeger [Wed, 27 Dec 2000 08:14:22 +0000 (08:14 +0000)]
(__protocol_available): Uncomment, it's not needed at the moment.
Ulrich Drepper [Wed, 27 Dec 2000 08:05:27 +0000 (08:05 +0000)]
Update.
2000-12-27 Ulrich Drepper <drepper@redhat.com>
* attr.c (__pthread_attr_setstack): Fix setting of __stackaddr
element. Add warnings for using pthread_attr_getstackaddr and
pthread_attr_setstackaddr.
Ulrich Drepper [Wed, 27 Dec 2000 08:05:00 +0000 (08:05 +0000)]
(__pthread_attr_setstack): Fix setting of __stackaddr element. Add warnings for using pthread_attr_getstackaddr and pthread_attr_setstackaddr.
Andreas Jaeger [Wed, 27 Dec 2000 07:56:28 +0000 (07:56 +0000)]
Update.
2000-12-26 Andreas Jaeger <aj@suse.de>
* libio/getc_u.c: Include stdio.h via system path to get internal
prototypes.
* libio/getwc_u.c: Likewise.
* stdlib/strfmon.c: Fix prototype of __printf_fp.
* stdio-common/vfprintf.c (process_arg): Move __printf_fphex and
__printf_fp prototypes to ...
* include/printf.h: ...here.
* include/stdio.h: Add some internal prototypes to shut up GCC.
* include/stdlib.h: Likewise.
* sysdeps/posix/sigpause.c (__sigpause): Use ISO C prototype
declaration.
* include/signal.h: Add prototypes for internal sigpause
interfaces.
Andreas Jaeger [Wed, 27 Dec 2000 07:54:56 +0000 (07:54 +0000)]
Add prototypes for internal sigpause interfaces.
Ulrich Drepper [Wed, 27 Dec 2000 06:53:38 +0000 (06:53 +0000)]
Update.
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* Examples/ex6.c (test_thread): Make static.
* Examples/ex12.c (test_thread): Make static and add noreturn
attribute.
Ulrich Drepper [Wed, 27 Dec 2000 04:41:52 +0000 (04:41 +0000)]
Update.
* string/Makefile (tests): Add tst-bswap.
* string/tst-bswap.c: New file.
Ulrich Drepper [Wed, 27 Dec 2000 04:24:10 +0000 (04:24 +0000)]
Update.
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/byteswap.h (__bswap_64): Make it usable for
64bit platforms. Reported by Dave Gilbert <gilbertd@treblig.org>.
Ulrich Drepper [Wed, 27 Dec 2000 03:30:43 +0000 (03:30 +0000)]
Update.
2000-12-11 Bruno Haible <haible@clisp.cons.org>
* Makefile ($(inst_includedir)/gnu/stubs.h): Sort in the C locale.
2000-12-26 Ulrich Drepper <drepper@redhat.com>
* sunrpc/Makefile (rpcgen-cmd): Use single quotes in sed call.
Patch by Ed Connell <Ed.Connell@sas.com>.
Ulrich Drepper [Mon, 25 Dec 2000 01:11:15 +0000 (01:11 +0000)]
Upda.te
2000-12-24 Ulrich Drepper <drepper@redhat.com>
* locale/iso-639.def: Correct one entry. Add two missing entries.
* locale/iso-4217.def: Change entry for Eritrea.
Reported by Daniel Yacob <yacob@geez.org>.
Ulrich Drepper [Mon, 25 Dec 2000 00:51:33 +0000 (00:51 +0000)]
Update.
2000-12-23 Ben Collins <bcollins@debian.org>
* manual/charset.texi (Extended Char Intro): Fix typo in ISO 6937
description.
* manual/stdio.texi (Dynamic Output): Document the return value of
asprintf. Also make the asprintf/snprintf examples a little
better (check for some error returns).
Ulrich Drepper [Mon, 25 Dec 2000 00:44:08 +0000 (00:44 +0000)]
(Dynamic Output): Document the return value of asprintf. Also make the asprintf/snprintf examples a little better (check for some error returns).
Andreas Jaeger [Fri, 22 Dec 2000 09:00:20 +0000 (09:00 +0000)]
Update.
2000-12-22 Andreas Jaeger <aj@suse.de>
* include/stdio.h: Add __ftrylockfile prototype.
Andreas Jaeger [Fri, 22 Dec 2000 09:00:17 +0000 (09:00 +0000)]
Add __ftrylockfile prototype.
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.