aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-04-282000-04-28 Geoff Clare <gwc@unisoft.com>Andreas Jaeger1-1/+1
* io/ftw.c: Set errno to ENOENT (instead of ENOTDIR) when the path passed to ftw() or nftw() is an empty string. Closes PR libc/1710.
2000-04-28Update.Ulrich Drepper5-2/+156
* localedata/Makefile (test-srcs): Add tst-mbswcs4 and tst-mbswcs5. (do-tst-mbswcs): Add tst-mbswcs4 and tst-mbswcs5 to dependencies. * localedata/tst-mbswcs.sh: Run tst-mbswcs4 and tst-mbswcs5. * localedata/tst-mbswcs4.c: New file. * localedata/tst-mbswcs5.c: New file.
2000-04-28Update.Ulrich Drepper5-30/+40
* 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 Drepper1-5/+5
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 Drepper23-324/+329
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 Drepper5-168/+423
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 Drepper8-15/+58
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 Drepper1-7/+8
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 Jaeger1-0/+4
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 Jaeger1-1/+1
* nss/getXXbyYY_r.c: Fix a typo in __old_getxxbyyy_r versioning.
2000-04-27Update.Ulrich Drepper4-2/+110
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 Drepper6-12/+96
* 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 Drepper6-37/+197
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 Drepper1-7/+28
UNPACK_BYTES macro.
2000-04-27Remove last entry again since the globtest.sh patch has been reverted.Andreas Jaeger2-11/+6
2000-04-27Update.Andreas Jaeger2-6/+11
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 Jaeger1-0/+11
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 Jaeger3-2/+6
* 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 Drepper4-11/+28
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 Drepper2-11/+11
* elf/dl-profile.c (_dl_start_profile): define all variables which do not have to be global as local variables.
2000-04-25Update.Ulrich Drepper2-48/+25
* nis/nis_callback.c (__nis_create_callback): Partially undo last patch. Keep needed tests for failed memory allocation.
2000-04-25Update.Ulrich Drepper2-31/+1
* pthread.c: Remove special treatement for interrupt handlers on x86.
2000-04-25Update.Ulrich Drepper4-11/+17
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 Drepper1-1/+1
* nss/Makefile (libnss_db-dbs): Remove stray backslash.
2000-04-24Update.Ulrich Drepper2-1/+4
* 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 Drepper2-3/+10
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 Drepper2-2/+7
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 Drepper6-6/+496
* 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 Drepper3-1/+7
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 Drepper2-2/+8
* manual/examples/subopt.c (mount_opts): Add missing terminating entry. Reported by Michael Deutschmann <michael@talamasca.ocis.net>.
2000-04-22Update.Ulrich Drepper19-14/+67
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 Drepper3-204/+345
* 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 Drepper6-42/+58
* 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 Drepper1-15/+9
2000-04-21UpdateAndreas Jaeger1-1/+2
* sysdeps/mips/mips64/submul_1.S: Likewise * sysdeps/unix/mips/sysdep.S: Likewise.
2000-04-212000-04-21 Andreas Jaeger <aj@suse.de>Andreas Jaeger1-2/+2
* sysdeps/unix/mips/sysdep.S: Use __PIC__ instead of PIC.
2000-04-21Regenerated: autoconf configure.inUlrich Drepper1-1/+1
2000-04-21Update.Ulrich Drepper1-0/+6
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 Drepper1-18/+55
leaks. Use __builtin_expect. (__nis_destroy_callback): Fix memory leaks.
2000-04-21Update.Andreas Jaeger1-0/+16
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 Jaeger10-34/+31
* 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 Drepper1-1/+1
2000-04-21Update.Ulrich Drepper9-25/+47
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 Drepper2-0/+5
2000-04-21 Jakub Jelinek <jakub@redhat.com> * libio/vasprintf.c: Include string.h to get memcpy prototype.
2000-04-21Update.Ulrich Drepper2-2/+5
* 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 Drepper4-6/+333
* 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 Drepper3-3/+8
2000-04-20 Ulrich Drepper <drepper@redhat.com> * iconv/skeleton.c: Add some more __builtin_expect. * iconv/loop.c: Likewise.
2000-04-21Update.Ulrich Drepper3-12/+46
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 Drepper3-3/+15
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 Drepper13-42/+107
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.