aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-01-07Update.Ulrich Drepper
2001-01-05 Ben Collins <bcollins@debian.org> * manual/string.texi (Finding Tokens in a String): Document XPG basename() and dirname(), as well as GNU basename(). 2001-01-05 Jakub Jelinek <jakub@redhat.com> * Makeconfig (preprocess-version): Replace -traditional with -x assembler-with-cpp. 2001-01-05 Joseph S. Myers <jsm28@cam.ac.uk> * math/bits/cmathcalls.h: Don't define inline cimag, creal or conj for GCC 2.97 or later. 2001-01-05 Ben Collins <bcollins@debian.org> * manual/stdio.texi (getline): Clarify the return value in the case of EOF being reached before a newline. 2001-01-04 Jakub Jelinek <jakub@redhat.com> * sunrpc/pmap_clnt.c (__get_myaddress): Return TRUE if successful, FALSE otherwise. (pmap_set, pmap_unset): Check __get_myaddress return value. 2001-01-05 Mark Kettenis <kettenis@gnu.org> * sysdeps/generic/netinet/if_ether.h: Include <sys/types.h>. (struct ether_addr): Declare ether_addr_octet member as `u_int8_t'. Add __attribute__ ((__packed__)).
2001-01-07(preprocess-version): Replace -traditional with -x assembler-with-cpp.Ulrich Drepper
2001-01-07* sysdeps/mach/hurd/readdir64.c: New file. * ↵Mark Kettenis
sysdeps/mach/hurd/readdir64_r.c: New file. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file.
2001-01-07* sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' ↵Mark Kettenis
and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about `struct statfs' and `struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise.
2001-01-07* sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: ↵Mark Kettenis
New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-06 Mark Kettenis <kettenis@gnu.org> * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c.
2001-01-06(Finding Tokens in a String): Document XPG basename() and dirname(), aswell ↵Ulrich Drepper
as GNU basename().
2001-01-06Update.Ulrich Drepper
2001-01-06 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c: Reset outbuf for next round of the loop. Reported by Owen Taylor <otaylor@redhat.com>. * iconv/Makefile (tests): Add tst-iconv3. * iconv/tst-iconv3.c: New file. * iconvdata/ibm930.c: Fix handling of state. Optimize a bit. * iconvdata/ibm933.c: Likewise. * iconvdata/ibm935.c: Likewise. * iconvdata/ibm937.c: Likewise. * iconvdata/ibm939.c: Likewise. * iconvdata/ibm930.h: Adjust single byte table for optimization. * iconvdata/ibm933.h: Likewise. * iconvdata/ibm935.h: Likewise. * iconvdata/ibm939.h: Likewise. * iconvdata/testdata/IBM930: Add misssing SI. * iconvdata/testdata/IBM933: Likewise. * iconvdata/testdata/IBM935: Likewise. * iconvdata/testdata/IBM937: Likewise. * iconvdata/testdata/IBM939: Likewise. * configure.in: Check for old add-ons that shouldn't be used with current glibc anymore.
2001-01-06Fix matching of addresses.Ulrich Drepper
2001-01-06 * configure.in: Check for old add-ons that shouldn't be used with ↵Andreas Jaeger
current glibc anymore. 2001-01-06 Andreas Jaeger <aj@suse.de> * configure.in: Check for old add-ons that shouldn't be used with current glibc anymore.
2001-01-06* sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead ↵Mark Kettenis
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>
2001-01-06* sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy ↵Mark Kettenis
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.
2001-01-05Update.Ulrich Drepper
* 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.
2001-01-05Update.Ulrich Drepper
* 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.
2001-01-05Update.Ulrich Drepper
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.
2001-01-05UpdateUlrich Drepper
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.
2001-01-05Update.Ulrich Drepper
2001-01-04 Ulrich Drepper <drepper@redhat.com> * intl/plural.y (yylex): Minimal improvement in number scanner.
2001-01-05Update.Ulrich Drepper
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>.
2001-01-05Update.Ulrich Drepper
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>.
2001-01-05Update.Ulrich Drepper
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.
2001-01-04(__socket): Fix error code handling.Ulrich Drepper
2001-01-04Update.Andreas Jaeger
2001-01-04 Andreas Jaeger <aj@suse.de> * nss/nsswitch.c: Include files for missing prototypes, remove buggy declaration of prototypes.
2001-01-03Update.Andreas Jaeger
* sysdeps/sparc/sparc64/soft-fp/Versions: Likewise.
2001-01-03Update.Andreas Jaeger
2001-01-03 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * resolv/Versions: Fix bracing. * sysdeps/powerpc/soft-fp/Versions: Likewise.
2001-01-03* resolv/Versions: Fix bracing. Andreas Jaeger
* sysdeps/powerpc/soft-fp/Versions: Likewise.
2001-01-03Update.Ulrich Drepper
2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/powerpc/dl-machine.c (__process_machine_rela): Fix typo.
2001-01-03Update.Ulrich Drepper
* 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>
2001-01-03Update.Ulrich Drepper
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.
2001-01-03(guess_category_value): Rewrite so that LANGUAGE value is ignored if the ↵Ulrich Drepper
selected locale is the C locale.
2001-01-02Update.Andreas Jaeger
* 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.
2001-01-02Update.Andreas Jaeger
2001-01-02 Andreas Jaeger <aj@suse.de> * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Make constant unsigned.
2001-01-01Update.Andreas Jaeger
2001-01-01 Andreas Jaeger <aj@suse.de> * inet/rcmd.c (rcmd_af): Use socklen_t for len.
2001-01-01(rcmd_af): Use socklen_t for len.Andreas Jaeger
2001-01-01Update.Ulrich Drepper
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.
2001-01-01Update.Ulrich Drepper
2000-12-31 H.J. Lu <hjl@gnu.org> * manager.c (pthread_allocate_stack): Fix a typo.
2001-01-01(pthread_allocate_stack): Fix a typo.Ulrich Drepper
2000-12-31Update.Andreas Jaeger
* include/libc-internal.h: Add prototype for __libc_freeres. * malloc/mtrace.c: Likewise. * malloc/set-freeres.c: Likewise.
2000-12-31Update.Andreas Jaeger
* 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.
2000-12-31Update.Andreas Jaeger
* 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.
2000-12-31(main): Use return instead of exit to avoid warning.Andreas Jaeger
2000-12-31 Andreas Jaeger <aj@suse.de> * tst-fmon.c (main): Use return instead of exit to avoid warning.
2000-12-31Update.Andreas Jaeger
* 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.
2000-12-31Update.Andreas Jaeger
* 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.
2000-12-31Update.Andreas Jaeger
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.
2000-12-31* malloc/memusagestat.c (main): Use return instead of exit to Andreas Jaeger
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.
2000-12-31Update.Ulrich Drepper
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.
2000-12-31Update.Ulrich Drepper
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.
2000-12-31Update.Ulrich Drepper
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.
2000-12-29Update.Ulrich Drepper
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.
2000-12-29(__attribute_format_strfmon__): Define.Ulrich Drepper
2000-12-28* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment afterRoland McGrath
__mempcpy does it for us.
2000-12-282000-12-28 Roland McGrath <roland@frob.com>Roland McGrath
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after __mempcpy does it for us.