aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-04-28Update.Ulrich Drepper
* wcsmbs/wcrtomb.c (__wcrtomb): Set end of buffer correctly if s == NULL. Little optimization. * elf/dl-init.c (_dl_init): Correct typo (DT_PREINIT_ARRAY not DT_PREINIT_ARRAYSZ). Reported by Jes Sorensen <Jes.Sorensen@cern.ch>.
2000-04-28Fix typos.Ulrich Drepper
2000-04-23 Bruno Haible <haible@clisp.cons.org> 2000-04-23 Bruno Haible <haible@clisp.cons.org> 2000-04-23 Bruno Haible <haible@clisp.cons.org> after a hash collision or through binary search. Store the maximum index together with the converted message. Use iconv() when available.
2000-04-28Update.Ulrich Drepper
2000-04-27 Ulrich Drepper <drepper@redhat.com> * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups): Handle overflows in conversion from ASCII. 2000-04-26 Jakub Jelinek <jakub@redhat.com> * Makeconfig (full_config_sysdirs): Renamed from full-config-sysdirs. * Makerules (full_config_sysdirs): Likewise. * MakeTAGS (full_config_sysdirs): Likewise. 2000-04-26 Jakub Jelinek <jakub@redhat.com> * .cvsignore: Remove linuxthreads. * po/.cvsignore: Remove *.pot. * posix/glob/.cvsignore: Removed. * sysdeps/unix/bsd/osf/.cvsignore: Removed. 2000-04-25 Andreas Jaeger <aj@suse.de> * conform/Makefile (distribute): Also distribute contents of subdirectories. * Makerules (no_deps): Remove abi-versions.h. * nis/nis_print_group_entry.c: Include alloca.h for alloca prototype. 2000-04-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/elf/Dist: Remove. * sysdeps/sparc/sparc64/elf/crtbegin.S: Remove. * sysdeps/sparc/sparc64/elf/crtbeginS.S: Remove. * sysdeps/sparc/sparc64/elf/crtend.S: Remove. * sysdeps/sparc/sparc64/elf/crtendS.S: Remove. * sysdeps/sparc/sparc64/elf/Makefile: Don't build crtbegin/crtend objects. 2000-04-25 Thorsten Kukuk <kukuk@suse.de> * nscd/grpcache.c: Fix gr_name pointer [PR/1702]. 2000-04-23 Bruno Haible <clisp.cons.org> * intl/dcigettext.c: Define _GNU_SOURCE as early as possible. * intl/l10nflist.c: Likewise. 2000-04-23 Bruno Haible <clisp.cons.org> * intl/bindtextdom.c [!_LIBC]: Define __libc_rwlock_define, __libc_rwlock_wrlock, __libc_rwlock_unlock as empty. * intl/textdomain.c [!_LIBC]: Likewise. * intl/dcigettext.c [!_LIBC]: Define __libc_rwlock_define_initialized, __libc_rwlock_rdlock, __libc_rwlock_unlock as empty. * intl/loadmsgcat.c (_nl_load_domain) [!_LIBC, !HAVE_ICONV]: Avoid syntax error. 2000-04-23 Bruno Haible <clisp.cons.org> * intl/dcigettext.c (_nl_find_msg): Do the plural treatment and character set conversion also in the case the translation was found after a hash collision or through binary search. Store the maximum index together with the converted message. Use iconv() when available. In case of out of memory during conversion, return the unconverted translated string, not NULL.
2000-04-28Update.Ulrich Drepper
2000-04-25 Jes Sorensen <Jes.Sorensen@cern.ch> * shlib-versions: Rename ia64 dynamic linker to ld-linux-ia64.so.1 to avoid name clashes with the ia32 linker. 2000-04-25 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (_dl_start_user): Fix the _dl_skip_args handling. * manual/string.texi: Document strcasestr, strchrnul, strtoimax, strtoumax, strfry, and memfrob. * manual/arith.texi: Document {,u}int*_t types, and strto{i,u}max. Patch by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-27Update.Ulrich Drepper
2000-04-27 Ulrich Drepper <drepper@redhat.com> * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal if this function is available. * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for all values. <haible@clisp.cons.org>.
2000-04-27(td_thr_get_info): Set ti_state to TD_THR_ACTIVE instead of TD_THR_RUN. If ↵Ulrich Drepper
the thread is no longer running but is still joinable, set it to TD_THR_ZOMBIE. Otherwise set it to TD_THR_UNKNOWN.
2000-04-27Update.Andreas Jaeger
2000-04-27 Jakub Jelinek <jakub@redhat.com> * nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
2000-04-272000-04-27 Jakub Jelinek <jakub@redhat.com>Andreas Jaeger
* nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
2000-04-27Update.Ulrich Drepper
2000-04-27 Ulrich Drepper <drepper@redhat.com> * localedata/Makefile (test-srcs); Add tst-mbswcs3. Add rule to build tst-mbswcs3 before running tst-mbswcs.sh. * localedata/tst-mbswcs.sh: Run tst-mbswcs3. * localedata/tst-mbswcs3.c: New file.
2000-04-27Update.Ulrich Drepper
* wcsmbs/mbsnrtowcs.c: Correctly compute number of converted characters. Don't handle incomplete characters as errors. * wcsmbs/mbsrtowcs.c: Don't handle incomplete characters as errors. * localedata/Makefile (test-srcs): Add tst-mbswcs2. Add rule to build tst-mbswcs2 before running tst-mbswcs.sh. * localedata/tst-mbswcs.sh: Run tst-mbswcs2. * localedata/tst-mbswcs2.c: New file.
2000-04-27Update.Ulrich Drepper
2000-04-26 Ulrich Drepper <drepper@redhat.com> * iconv/gconv_simple.c (utf8_internal_loop): Correctly reconstruct stored character in state in UNPACK_BYTES macro. * iconv/loop.c (SINGLE(LOOPFCT)): Make it actually work. Correct test for available characters, handle result of BODY code correctly. * localedata/Makefile (test-srcs): Add tst-mbswcs1. (distribute): Add tst-mbswcs.sh. Add rule to run tst-mbswcs.sh. * localedata/tst-mbswcs.sh: New file. * localedata/tst-mbswcs1.c: New file. 2000-04-26 Jakub Jelinek <jakub@redhat.com> * nis/nis_callback.c (__nis_create_callback): Do failed memory allocation fixups centrally, fix __builtin_expect call, return NULL on failure, not NIS_NOMEMORY. 2000-04-27 Bruno Haible <haible@clisp.cons.org>
2000-04-27(utf8_internal_loop): Correctly reconstruct stored character in state in ↵Ulrich Drepper
UNPACK_BYTES macro.
2000-04-27Remove last entry again since the globtest.sh patch has been reverted.Andreas Jaeger
2000-04-27Update.Andreas Jaeger
2000-04-18 H.J. Lu <hjl@gnu.org> * posix/globtest.sh: Properly apply the patch by Ulrich Drepper <drepper@redhat.com> on 2000-04-13.
2000-04-27Update.Andreas Jaeger
2000-04-27 Bruno Haible <clisp.cons.org> * intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. * intl/loadinfo.h (internal_function): Define if not already defined. 2000-04-27 Andreas Jaeger <aj@suse.de> * intl/libintl.h: Fix typo, reported by Bruno Haible <clisp.cons.org>.
2000-04-272000-04-27 Bruno Haible <clisp.cons.org>Andreas Jaeger
* intl/ngettext.c [!_LIBC]: Fix definition of NGETTEXT. * intl/loadinfo.h (internal_function): Define if not already defined. 2000-04-27 Andreas Jaeger <aj@suse.de> * intl/libintl.h: Fix typo, reported by Bruno Haible <clisp.cons.org>.
2000-04-25Update.Ulrich Drepper
2000-04-25 Ulrich Drepper <drepper@redhat.com> * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not setting the state to GMON_PROF_BUSY.
2000-04-25Update.Ulrich Drepper
* elf/dl-profile.c (_dl_start_profile): define all variables which do not have to be global as local variables.
2000-04-25Update.Ulrich Drepper
* nis/nis_callback.c (__nis_create_callback): Partially undo last patch. Keep needed tests for failed memory allocation.
2000-04-25Update.Ulrich Drepper
* pthread.c: Remove special treatement for interrupt handlers on x86.
2000-04-25Update.Ulrich Drepper
2000-04-24 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_free): Use FREE_THREAD not FREE_THREAD_SELF. * sysdeps/i386/useldt.h: Use "q" constraint instead of "r" where necessary. * sysdeps/i386/i686/pt-machine.h: Include "../useldt.h".
2000-04-24Fix typo.Ulrich Drepper
* nss/Makefile (libnss_db-dbs): Remove stray backslash.
2000-04-24Update.Ulrich Drepper
* elf/dl-reloc.c (_dl_relocate_object): Add one more __builtin_expect saying that we don't normally expect to profile.
2000-04-24Update.Ulrich Drepper
2000-04-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/dl-machine.h (elf_machine_rel): Add __builtin_expect where desirable.
2000-04-24Update.Ulrich Drepper
2000-04-24 Mark Kettenis <kettenis@gnu.org> * join.c (pthread_exit): Set p_terminated after reporting the termination event instead of before.
2000-04-24Update.Ulrich Drepper
* manual/Makefile (chapters): Add syslog. * manual/syslog.texi: New file. * manual/math.texi: Fix references. * manual/terminal.texi: Likewise. Patch by Bryan Henderson <bryanh@giraffe-data.com>. 2000-04-18 Jakub Jelinek <jakub@redhat.com> * posix/sys/wait.h: Define __WAIT_STATUS and the like either if stdlib.h was not included or __USE_XOPEN not defined. 2000-04-23 Ulrich Drepper <drepper@redhat.com>
2000-04-23Update.Ulrich Drepper
2000-04-23 Ulrich Drepper <drepper@redhat.com> * nss/Makefile (libnss_db-dbs): Remove stry backslash. Patch by Zack Weinberg <zack@wolery.cumb.org>.
2000-04-22Update.Ulrich Drepper
* manual/examples/subopt.c (mount_opts): Add missing terminating entry. Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2000-04-22Update.Ulrich Drepper
2000-04-22 Ulrich Drepper <drepper@redhat.com> * assert/assert-perr.c: Include <stdlib.h> for abort prototype. * libio/ftello.c: Likewise. * libio/ftello64.c: Likewise. * libio/ioftell.c: Likewise. * sysdeps/generic/memrchr.c: Likewise. * sysdeps/posix/libc_fatal.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * misc/fstab.c: Include <string.h> for strcmp prototype. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. Patch by Kurt Roeckx <Q@ping.be>. * nss/Makefile (libnss_db-dbs): Renamed from libnss_db-routines. Remove db-open. Change all uses. (libnss_db-routines): Define as $(libnss_db-dbs) db-open. 2000-04-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/msgctl.c (__syscall_msgctl): Declare. * sysdeps/unix/sysv/linux/alpha/semctl.c (__syscall_semctl): Declare. * sysdeps/unix/sysv/linux/alpha/shmctl.c (__syscall_shmctl): Declare. * sysdeps/unix/sysv/linux/alpha/getrusage.S: Surround uses of $f28 with .set noat/at to shut up warnings. * sysdeps/unix/sysv/linux/alpha/syscalls.list (__fstatfs64): Add alias. * sysdeps/unix/sysv/linux/alpha/ioperm.c (init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined. * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__fstatfs64): Add alias.
2000-04-22Update.Ulrich Drepper
* manual/sysinfo.texi: Fix typo. * manual/time.texi: Document timelocal, timegm, adjtimex, and stime. Replace "high precision time" with "high accuracy clock". Fix language. Patches by Bryan Henderson <bryanh@giraffe-data.com>.
2000-04-22Update.Ulrich Drepper
* nis/nis_findserv.c (__nis_findfastest): Improve memory handling. * nis/nis_print_group_entry.c (nis_print_group_entry): Use alloca instead of malloc. * nis/nis_subr.c: Use __builtin_expect. * nis/ypclnt.c: Likewise. * nis/nis_getservlist.c: Likewise. * nis/nis_creategroup.c: Likewise.
2000-04-22(nis_print_group_entry): Use alloca instead of malloc.Ulrich Drepper
2000-04-21UpdateAndreas Jaeger
* sysdeps/mips/mips64/submul_1.S: Likewise * sysdeps/unix/mips/sysdep.S: Likewise.
2000-04-212000-04-21 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
2000-04-21Regenerated: autoconf configure.inUlrich Drepper
2000-04-21Update.Ulrich Drepper
2000-04-21 Ulrich Drepper <drepper@redhat.com> * nis/nis_callback.c (__nis_create_callback): Check result of memory allocation. Fix memory leaks. Use __builtin_expect. (__nis_destroy_callback): Fix memory leaks.
2000-04-21(__nis_create_callback): Check result of memory allocation. Fix memory ↵Ulrich Drepper
leaks. Use __builtin_expect. (__nis_destroy_callback): Fix memory leaks.
2000-04-21Update.Andreas Jaeger
2000-04-21 Andreas Jaeger <aj@suse.de> * sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. * sysdeps/mips/mips64/add_n.S: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/lshift.S: Likewise. * sysdeps/mips/mips64/mul_1.S: Likewise. * sysdeps/mips/mips64/rshift.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/sub_n.S: Likewise. * sysdeps/mips/mips64/submul_1.S: Likewise. * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab and update comment. The strtab from _dl_relocate_object can be used.
2000-04-212000-04-21 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/mips/elf/start.S: Use __PIC__ instead of PIC. * sysdeps/mips/mips64/add_n.S: Likewise. * sysdeps/mips/mips64/bsd-_setjmp.S: Likewise. * sysdeps/mips/mips64/lshift.S: Likewise. * sysdeps/mips/mips64/mul_1.S: Likewise. * sysdeps/mips/mips64/rshift.S: Likewise. * sysdeps/mips/mips64/setjmp.S: Likewise. * sysdeps/mips/mips64/sub_n.S: Likewise. * sysdeps/mips/mips64/submul_1.S: Likewise. * sysdeps/mips/dl-machine.h (elf_machine_got_rel): Remove strtab and update comment. The strtab from _dl_relocate_object can be used.
2000-04-21(iconv): Fix typo.Ulrich Drepper
2000-04-21Update.Ulrich Drepper
2000-04-21 Ulrich Drepper <drepper@redhat.com> * iconv/iconv.c (iconv): Add __builtin_expect where useful. * iconv/iconv_close.c (iconv_close): Likewise. * iconv/iconv_open.c (iconv_open): Likewise. * grp/putgrent.c (putgrent): Unlock steam if fprintf failed. Add __builtin_expect where useful. * grp/initgroups.c (initgroups): Test for result of memory allocation and punt if it fails. * dirent/scandir.c (scandir): Add __builtin_expect where useful. * grp/fgetgrent.c (fgetfrent): Likewise. * grp/fgetgrent_r.c (__fgetgrent_r): Likewise.
2000-04-21Update.Ulrich Drepper
2000-04-21 Jakub Jelinek <jakub@redhat.com> * libio/vasprintf.c: Include string.h to get memcpy prototype.
2000-04-21Update.Ulrich Drepper
* wcsmbs/wcsrtombs.c (__wcsrtombs): If output buffer is too small don't search for NUL byte to decrement counter. Reported by Ulrich.Brink@sap.com.
2000-04-21Update.Ulrich Drepper
* iconv/gconv_simple.c: Define separate functions to convert from UCS4/UCS4-LE to the internal encoding. * iconv/gconv_builtin.h: Use separate functions to convert from UCS4/UCS4-LE to the internal encoding. * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and __gconv_transform_ucs4le_internal. * iconv/gconv_simple.c (internal_utf8_loop): Correct check for output buffer overflow. Reported by Ulrich.Brink@sap.com.
2000-04-21Update.Ulrich Drepper
2000-04-20 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c: Add some more __builtin_expect. * iconv/loop.c: Likewise.
2000-04-21Update.Ulrich Drepper
2000-03-08 H.J. Lu <hjl@gnu.org> * posix/regex.c (regex_compile): Correctly handle "\{" when the RE_INTERVALS is set and the RE_NO_BK_BRACES bit is not set.
2000-04-21Update.Ulrich Drepper
2000-04-20 Ulrich Drepper <drepper@redhat.com> * manual/stdio.texi: Give advise about handling error when using stream functions. Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
2000-04-21Update.Ulrich Drepper
2000-04-19 Jakub Jelinek <jakub@redhat.com> * locale/programs/ld-ctype.c (ctype_output): Set size of the idx field to nelems * sizeof (uint32_t). * locale/programs/ld-address.c (address_output): Align word fields properly. * locale/programs/ld-monetary.c (monetary_output): Likewise. Don't restart idx pointers to idx end at the duo_int_curr_symbol field. Avoid giving arbitrary garbage in the crncystr field. Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate fields. * locale/programs/ld-numeric.c (numeric_output): Likewise. Don't restart idx pointers to idx end at the decimal_point_wc field. * locale/programs/ld-time.c (time_output): week_1stday should be word, not byte. Align it properly. 2000-04-19 H.J. Lu <hjl@gnu.org> * csu/gmon-start.c (_start): Declared as "extern void". (etext): Likewise. 2000-04-18 Andreas Jaeger <aj@suse.de> * manual/install.texi (Running make install): Don't mention utmpd anymore. 2000-04-18 Andreas Jaeger <aj@suse.de> * linuxthreads/Versions: Use ld instead of ld.so. * elf/Makefile (ld-map): Use ld.map. * Versions.def: Use ld instead of ld.so. * elf/Versions: Likewise. * sysdeps/mach/hurd/Versions: Likewise.
2000-04-21(_start): Declared as "extern void". (etext): Likewise.Ulrich Drepper
2000-04-212000-04-20 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* elf/rtld.c (print_statistics): Move ifndef further up. (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. (dl_main): Likewise. 2000-04-20 Andreas Jaeger <aj@suse.de> * elf/rtld.c (print_statistics): Move ifndef further up. (_dl_start_final): Added HP_TIMINIG_NONAVAIL to avoid warnings. (dl_main): Likewise.