aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
AgeCommit message (Collapse)AuthorFilesLines
2000-12-07Update.Ulrich Drepper1-0/+5
2000-12-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/aix/Makefile [$(subdir)==misc] (sysdep_routines): Add uitrunc. * sysdeps/unix/sysv/aix/uitrunc.c: New file. Patches by Michael Keezer <mkeezer@redhat.com>.
2000-12-07(pthread_detach): Allow case where the thread has already terminated.Ulrich Drepper1-1/+1
2000-12-05Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.Andreas Jaeger3-7/+4
2000-12-05Update.Andreas Jaeger1-0/+7
* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set): Don't set mips2.
2000-11-20Update.Ulrich Drepper6-11/+23
2000-11-20 Jakub Jelinek <jakub@redhat.com> * iconvdata/bug-iconv2.c (main): Use %zd in format string. * io/test-lfs.c (do_test): Cast statbuf.st_size to long long. * malloc/tst-valloc.c (main): Cast valloc return value to long. * malloc/tst-obstack.c (verbose_malloc): Use %zd in format string. * math/test-fpucw.c (main): Use %lx in format string, cast control words to long. * stdio-common/tst-fmemopen.c (main): Use %td in format strings. * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so large that it is unsigned warning. * sysdeps/unix/sysv/linux/sparc/bits/types.h (__ssize_t): Changing it to long on sparc64. 2000-11-20 Andreas Jaeger <aj@suse.de> * nscd/nscd.h (termination_handler): Add noreturn attribute. (receiv_print_stats): Likewise. * elf/ldconfig.c (path_hwcap): Cast -1 for proper comparison.
2000-11-08Update.Ulrich Drepper2-6/+80
* 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.
2000-11-08Update.Ulrich Drepper3-2/+9
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>.
2000-11-07Update.Ulrich Drepper1-3/+5
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.
2000-11-07Update.Ulrich Drepper2-0/+7
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.
2000-10-31Update.Ulrich Drepper2-1/+6
* 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>
2000-10-31Update.Ulrich Drepper1-8/+8
* 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>
2000-10-30Update.Ulrich Drepper1-0/+3
* attr.c (__pthread_attr_setguardsize): Don't round guardsize here. Reported by Bruce <bruce@puremagic.com>.
2000-10-30(__pthread_attr_setguardsize): Don't round guardsize here.Ulrich Drepper1-5/+0
2000-10-30Update.Ulrich Drepper2-28/+50
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.
2000-10-26Update.Ulrich Drepper1-0/+6
2000-10-25 Ulrich Drepper <drepper@redhat.com> * intl/Makefile (tests): Add tst-ngettext. * intl/tst-ngettext.c: New file.
2000-10-26Update.Ulrich Drepper1-3/+3
2000-10-26 Kazumoto Kojima <kkojima@rr.iij4u.or.jp> Yutaka Niibe <gniibe@chroot.org> * sysdeps/sh/dl-machine.h (elf_machine_rela): Handle in place relocation which is generated by new ld. * sysdeps/sh/elf/initfini.c (_init): Preseted __fpscr_values. (_fini): Delete an obsolete register prefix. * sysdeps/unix/sysv/linux/sh/Versions: Add __xstat64, __fxstat64, __lxstat64, alphasort64, glob64, readdir64, readdir64_r, scandir64 and versionsort64 as the 2.2-versioned symbols. * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: New file. * sysdeps/unix/sysv/linux/sh/brk.c: Changes for the new system call calling convention of the kernel. * sysdeps/unix/sysv/linux/sh/pipe.S: Likewise. * sysdeps/unix/sysv/linux/sh/socket.S: Likewise. * sysdeps/unix/sysv/linux/sh/clone.S: Likewise. * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/fcntl.c: New file. * sysdeps/unix/sysv/linux/sh/lockf64.c: New file. * sysdeps/unix/sysv/linux/sh/sys/user.h: Include the kernel header file and delete the definitions of struct user and user_fp. * sysdeps/unix/sysv/linux/sh/syscall.S: New file. * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove entries for s_ioctl, s_ipc, s_llseek, s_chown, s_fchown, s_lchown, s_execve, rt_sigaction, rt_sigpending, rt_sigprocmask, rt_sigqueueinfo, rt_sigsuspend, rt_sigtimedwait, s_getcwd, s_getdents, s_getgroups, s_getpriority, s_getegid, s_geteuid, s_getuid, getresgid, getresuid, s_getrlimit, s_poll, s_pread64, s_ptrace, s_pwrite64, s_reboot, s_setrlimit, s_sigaction, s_sigpending, s_sigprocmask, s_sigsuspend, s_setfsgid, s_setfsuid, s_setgid, s_setgroups, s_setregid, s_setresgid, s_setresuid, s_setreuid, s_setuid, s_sysctl, s_ugetrlimit, s_ustat, sys_fstat, sys_lstat, sys_mknod, sys_readv, sys_stat, sys_writev and syscall.
2000-10-23Update.Ulrich Drepper1-0/+4
2000-10-22 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5hkscs.c (big5hkscs_to_ucs): Add irreversible mappings for 0x8BF8, 0xA27E..0xA2A7. * iconvdata/BIG5HKSCS.irreversible: New file. 2000-10-23 Jakub Jelinek <jakub@redhat.com> * timezone/zdump.c (main): setlocale LC_CTYPE as well as LC_MESSAGES. * timezone/zic.c (main): Likewise. 2000-10-23 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c (invalidate_cache): Don't invalidate a cache if it is not enabled.
2000-10-23(TIMEOUT): Override default timeout.Ulrich Drepper1-0/+1
2000-10-16Update.Ulrich Drepper2-3/+20
2000-10-16 Ulrich Drepper <drepper@redhat.com> * specific.c: Protect tsd array modification in thread data structures by getting the thread lock in pthread_key_delete and __pthread_destroy_specifics. Patch by Wolfram Gloger <Wolfram.Gloger@dent.med.uni-muenchen.de>.
2000-10-15Update.Ulrich Drepper11-29/+256
2000-10-14 Ulrich Drepper <drepper@redhat.com> * math/libm-test.inc (frexp_test): Add L suffix also to parameters. (hypot_test): Likewise. * sysdeps/generic/printf_fphex.c: Compute width of decimal point string correctly. Handle padding correctly. * sysdeps/ia64/fpu/printf_fphex.c: Use sizeof in _itowa parameters correctly. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise. 2000-10-12 Alan Modra <alan@linuxcare.com.au> * FAQ.in: Add --start-group and --end-group. 2000-10-12 Alan Modra <alan@linuxcare.com.au> * malloc/memusage.c: Conditionalize stack usage calculation on stack direction. 2000-10-12 Alan Modra <alan@linuxcare.com.au> * config.h.in: Add ASM_LINE_SEP. * configure.in: Add test for comment and line separators. * include/libc-symbols.h: Define and use ASM_LINE_SEP, and add tabs to placate some hppa assemblers. * sysdeps/hppa/sysdep.h: Likewise. * sysdeps/gnu/siglist.c: Insert \n and \t into inline asm. * sysdeps/unix/sysv/linux/errlist.c: Likewise. 2000-10-12 David Huggins-Daines <dhd@linuxcare.com> * sysdeps/unix/sysv/linux/Makefile: Include <bits/initspin> in $(sysdep_headers). * sysdeps/unix/sysv/linux/bits/initspin.h: Dummy version for non-threaded platforms. 2000-10-12 David Huggins-Daines <dhd@linuxcare.com> * configure.in: Add definitions for hppa. * elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments for IPLT and EPLT relocations. * shlib-versions: Version symbol definitions for hppa-linux. * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel for hppa. 2000-10-12 David Huggins-Daines <dhd@linuxcare.com> * sysdeps/hppa/Makefile: New file. * sysdeps/hppa/Versions: New file. * sysdeps/hppa/setjmp.S: New file. * sysdeps/hppa/__longjmp.S: New file. * sysdeps/hppa/bits/setjmp.h: New file. * sysdeps/hppa/frame.h: New file. * sysdeps/hppa/add_n.s: Don't use %r19 (linkage table pointer). * sysdeps/hppa/sub_n.s: Likewise. * sysdeps/hppa/lshift.s: Likewise. * sysdeps/hppa/rshift.s: Likewise. * sysdeps/hppa/udiv_qrnnd.s: Likewise. * sysdeps/hppa/hppa1.1/addmul_1.s: Likewise. * sysdeps/hppa/hppa1.1/submul_1.s: Likewise. * sysdeps/hppa/hppa1.1/mul_1.s: Likewise. * sysdeps/hppa/hppa1.1/udiv_qrnnd.s: Likewise. * sysdeps/hppa/dl-machine.h: New file. * sysdeps/hppa/dl-fptr.c: New file (note that this is almost identical to the IA-64 one). * sysdeps/hppa/dl-lookupcfg.h: Likewise. * sysdeps/hppa/dl-symaddr.c: Likewise. * sysdeps/hppa/elf/initfini.c: New file. * sysdeps/hppa/elf/start.S: New file. * sysdeps/hppa/fpu/bits/fenv.h: New file. * sysdeps/hppa/fpu/fclrexcpt.c: New file. * sysdeps/hppa/fpu/fedisblxcpt.c: New file. * sysdeps/hppa/fpu/feenablxcpt.c: New file. * sysdeps/hppa/fpu/fegetenv.c: New file. * sysdeps/hppa/fpu/fegetexcept.c: New file. * sysdeps/hppa/fpu/fegetround.c: New file. * sysdeps/hppa/fpu/feholdexcpt.c: New file. * sysdeps/hppa/fpu/fesetenv.c: New file. * sysdeps/hppa/fpu/fesetround.c: New file. * sysdeps/hppa/fpu/feupdateenv.c: New file. * sysdeps/hppa/fpu/fegetexcptflg.c: New file. * sysdeps/hppa/fpu/fraiseexcpt.c: New file. * sysdeps/hppa/fpu/fsetexcptflg.c: New file. * sysdeps/hppa/fpu/ftestexcept.c: New file. * sysdeps/unix/sysv/linux/hppa/Makefile: New file. * sysdeps/unix/sysv/linux/hppa/Versions: New file. * sysdeps/unix/sysv/linux/hppa/syscalls.list: New file. * sysdeps/unix/sysv/linux/hppa/sysdep.c: New file. * sysdeps/unix/sysv/linux/hppa/sysdep.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/ioctls.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/mman.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: New file. * sysdeps/unix/sysv/linux/hppa/bits/signum.h: New file. * sysdeps/unix/sysv/linux/hppa/brk.c: New file. * sysdeps/unix/sysv/linux/hppa/clone.S: New file. * sysdeps/unix/sysv/linux/hppa/socket.S: New file. * sysdeps/unix/sysv/linux/hppa/syscall.S: New file. * sysdeps/unix/sysv/linux/hppa/setrlimit.c: New file. * sysdeps/unix/sysv/linux/hppa/getrlimit.c: New file. * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: New file. * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: New file. * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: New file. * sysdeps/unix/sysv/linux/hppa/mmap.c: New file. * sysdeps/unix/sysv/linux/hppa/profil-counter.h: New file. * sysdeps/unix/sysv/linux/hppa/procfs.h: New file. * sysdeps/unix/sysv/linux/hppa/ucontext.h: New file. * sysdeps/unix/sysv/linux/hppa/umount.c: New file. 2000-10-12 Alan Modra <alan@linuxcare.com.au> * sysdeps/hppa/hppa1.1/Implies: New file. * sysdeps/hppa/memusage.h: New file.
2000-10-05Update.Ulrich Drepper2-2/+20
2000-10-05 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/fpu/libm-test-ulps: New file. 2000-10-02 Jakub Jelinek <jakub@redhat.com> * sunrpc/svc_udp.c (svcudp_recv): Set msg_controllen to all remaining xp_pad space. 2000-10-05 Jakub Jelinek <jakub@redhat.com> * elf/dl-close.c (_dl_close): Check imap's l_flags_1 for DF_1_NODELETE, not list[i]'s.
2000-09-28Update.Ulrich Drepper2-4/+29
2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/kernel-features.h: Add __ASSUME_IPC64, only define it for powerpc for kernel >= 2.4.0. * sysdeps/unix/sysv/linux/msgctl.c: Test for __ASSUME_IPC64, not __ASSUME_32BITUIDS. * sysdeps/unix/sysv/linux/semctl.c: Likewise. * sysdeps/unix/sysv/linux/shmctl.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Sync with kernel. * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: New file. * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: New file. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: New file. 2000-09-28 Martin Schwidefsksy <schwidefsky@de.ibm.com> * sysdeps/s390/atomicity.h: Fix compare_and_swap. * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_GETLK64,F_SETLK64,F_SETLKW64): Use values from 2.4.0-test8. 2000-09-28 Denis Joseph Barrow <djbarrow@de.ibm.com> * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Use definitions from ucontext.h. * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Fix ucontext structure. 2000-09-27 Andreas Schwab <schwab@suse.de> * math/Makefile (distribute): Explicitly add the long double test sources, to get them included even if long double is not supported. 2000-09-27 Jes Sorensen <jes@linuxcare.com> * elf/soinit.c (struct object): Move definition to gccframe.h and include it. Problem identified by HJ Lu. * sysdeps/ia64/gccframe.h: New file. ia64 specific version of struct object to be searched for frame unwind info. * sysdeps/generic/gccframe.h: New file. Generic version of struct object to be searched for frame unwind info. 2000-09-28 Ulrich Drepper <drepper@redhat.com> * manual/errno.texi: Correct error text for ENXIO. Reported by Jörg Schilling <schilling@fokus.gmd.de>. 2000-09-27 Jes Sorensen <jes@linuxcare.com> * sysdeps/ia64/fpu/fsetexcptflg.c (fesetexceptflag): Set the exception status bits rather than the exception disable bits. Don't include math.h. * sysdeps/ia64/fpu/fgetexcptflg.c (fegetexceptflag): Report the status of exceptions currently raised rather than which exceptions are enabled. * sysdeps/ia64/fpu/fclrexcpt.c (feclearexcept): Typecase to fenv_t rather than unsigned long int. * sysdeps/ia64/fpu/fedisblxcpt.c (fedisableexcept): Only disable the exceptions actually requested by the caller and not just disable all exceptions. * sysdeps/ia64/fpu/feenablxcpt.c (feenableexcept): Exceptions on the ia64 are enabled by clearing the respective bits in the fpsr, not setting them. * sysdeps/ia64/bits/fenv.h: typedef fexcept_t and fenv_t to unsigned long int rather than unsigned long to be consistent with the coding conventions. 2000-09-20 H.J. Lu <hjl@gnu.org> * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Use fenv_t instead of unsigned long int. * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise. 2000-09-28 Ulrich Drepper <drepper@redhat.com> * string/bits/string2.h: Unify #if usage. 2000-09-27 Jakub Jelinek <jakub@redhat.com> * math/test-fenv.c (feexcp_mask_test): If enabling all exceptions and disabling underflow or overflow, disable inexact as well. * sysdeps/gnu/netinet/tcp.h: Add tcp_info defines and types.
2000-09-28Update.Ulrich Drepper2-0/+6
* mutex.c (__pthread_mutex_unlock): For PTHREAD_MUTEX_RECURSIVE_NP test for owner first. Patch by Kaz Kylheku <kaz@ashi.footprints.net>.
2000-09-28Update.Ulrich Drepper1-0/+5
2000-09-28 Ulrich Drepper <drepper@redhat.com> * cancel.c (pthread_cancel): Don't do anything if cancelation is disabled.
2000-09-28(pthread_cancel): Don't do anything if cancelation is disabled.Ulrich Drepper1-1/+1
2000-09-27Update.Ulrich Drepper2-6/+20
2000-09-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/bits/time.h: Remove CLOCK_MONOTONIC.
2000-09-26Update.Ulrich Drepper2-3/+3
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove _POSIX_MONOTONIC_CLOCK.
2000-09-26Update.Ulrich Drepper2-6/+7
2000-09-26 Ulrich Drepper <drepper@redhat.com> * spinlock.h (__pthread_set_own_extricate_if): Add back locking and explain why.
2000-09-20 * pthread.c [!__ASSUME_REALTIME_SIGNALS]: Make inclusion of ↵Andreas Jaeger2-1/+8
"testrtsig.h" conditional. 2000-09-20 Andreas Jaeger <aj@suse.de> * pthread.c [!__ASSUME_REALTIME_SIGNALS]: Make inclusion of "testrtsig.h" conditional.
2000-09-11Update.Ulrich Drepper4-0/+59
2000-09-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread.h: Declare pthread_attr_getstack and pthread_attr_setstack. * Versions [libpthread] (GLIBC_2.2): Export pthread_attr_getstack and pthread_attr_setstack. * attr.c (pthread_attr_getstack, pthread_attr_setstack): New functions.
2000-09-05Update.Ulrich Drepper2-1/+5
* Examples/ex14.c: New file. * Makefile (tests): Add ex14. * Makefile (tests): Add ecmutex.
2000-09-05Intensive test for POSIX barriers.Ulrich Drepper1-0/+132
2000-09-05Update.Ulrich Drepper1-0/+7
2000-09-05 Ulrich Drepper <drepper@redhat.com> * mutex.c (__pthread_mutex_unlock): Correct test for already unlocked mutex. Patch by dtc@cmucl.cons.org. * ecmutex.c: New file.
2000-09-05Test for error checking mutex.Ulrich Drepper1-0/+157
2000-09-05(__pthread_mutex_unlock): Correct test for already unlocked mutex.Ulrich Drepper1-1/+1
2000-09-05Update.Ulrich Drepper1-0/+5
2000-09-04 Andreas Schwab <schwab@suse.de> * elf/Makefile (all-dl-routines): New variable. (elide-routines.os): Use it instead of $(dl-routines). (all-rtld-routines): New variable. (extra-objs): Use it instead of $(rtld-routines). ($(objpfx)dl-allobjs.os): Likewise. * sysdeps/ia64/Makefile [$(subdir) = elf]: Modify sysdep-dl-routines and sysdep_routines instead of rtld-routines and dl-routines. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_trans.c (__gconv_translit_find): Update open_count. Set fname to NULL if the module wasn't found. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_trans.c (__gconv_translit_find): Don't set need_so to true if trans->name already ends in ".so". 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_int.h (__gconv_release_shlib): Change return type to void. * iconv/gconv_dl.c (do_release_shlib): Don't decrement the counter below -TRIES_BEFORE_UNLOAD-1, to avoid wraparound. (__gconv_release_shlib): Change return type to void. * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Don't set step->__counter here. * iconv/gconv_db.c (free_derivation): Don't call a step's destructor if the reference is zero. (release_step): New function. (gen_steps): Always initialize the __counter to 1. Use release_step. Don't call the destructor on the step whose initializer failed. (increment_counter): Use release_step. Don't normally run destructors here. (__gconv_close_transform): Use release_step. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_simple.c (encoding_mask, encoding_byte): Remove. (__gconv_transform_internal_utf8) [BODY]: Use simple shifts instead. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/euc-tw.c (BODY for FROM_LOOP): Initialize ch2 correctly. If the first byte is 0x8E, don't ask for 4 bytes until it has been verified that the second byte is valid. Leave it to cns11643_to_ucs4 to check for incomplete input. * iconvdata/cns11643.h (cns11643_to_ucs4): The plane number is ch - 0x20 - offset, not ch - 0x21 - offset. Upper bound for __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. (ucs4_to_cns11643): Fix mapping for ranges 0x3105..0x3129 and 0x9f9d..0x9fa5. * iconvdata/cns11643l1.h (cns11643l1_to_ucs4): Upper bound for __cns11643l1_to_ucs4_tab is 0x21f2, not 0x2196. (ucs4_to_cns11643l1): Fix mapping for range 0x3105..0x3129. * iconvdata/cns11643l1.c (__cns11643l1_from_ucs4_tab6): Extend upto index 0x0052. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_db.c (find_derivation): Always use the least-cost solution. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/big5.c (BODY for FROM_LOOP): Bytes 0x81..0xA0, 0xFA..0xFF are invalid. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/jis0208.c (__jis0208_to_ucs): Map EUC-JP 0xA1C0 to U+005C. * iconvdata/jis0212.c (__jisx0212_to_ucs): Map EUC-JP 0x8FA2B7 to U+007E. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/sjis.c (cjk_block1): Map 0x815F to U+005C. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/iso_6937-2.c (to_ucs4): Map 0xB4 to U+00D7. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * iconvdata/tst-tables.sh: New file. * iconvdata/tst-table.sh: New file. * iconvdata/tst-table-from.c: New file. * iconvdata/tst-table-to.c: New file. * iconvdata/tst-table-charmap.sh: New file. * iconvdata/Makefile (test-srcs): Set to tst-table-from tst-table-to. (distribute): Add tst-tables.sh, tst-table.sh, tst-table-charmap.sh, tst-table-from.c, tst-table-to.c, EUC-JP.irreversible, ISIRI-3342.irreversible, SJIS.irreversible. (tests): Add dependency on tst-tables.out. (tst-tables.out, tst-tables-clean): New rules. (do-tests-clean, common-mostlyclean): Require tst-tables-clean. * iconvdata/ISIRI-3342.irreversible: New file. * iconvdata/EUC-JP.irreversible: New file. * iconvdata/SJIS.irreversible: New file. 2000-09-04 Ulrich Drepper <drepper@redhat.com> * manual/locale.texi (General Numeric): Update description of representation of the grouping information in the locale data. Patch by Gaute B. Strokkenes <gs234@cam.ac.uk>. Reported by Rob Levin <lilo@transvirtual.com>.
2000-09-05Update.Ulrich Drepper1-1/+1
2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-TW: Add commented non-reversible mappings. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/CP949: New file. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/GB2312: Remove 0x80..0xA0, 0xAA..0xAF, 0xF8..FF. 2000-09-03 Bruno Haible <haible@clisp.cons.org> * charmaps/EUC-JP: Nonreversibly map 0xA1C0 to U+005C and 0x8FA2B7 to U+007E.
2000-09-03Update.Ulrich Drepper2-3/+8
2000-09-03 Ulrich Drepper <drepper@redhat.com> * time/sys/time.h (gettimeofday): Move restrict for tz parameter to the typedefs of __timezone_ptr_t. Reported by MATSUMURA Hiromitsu <coji2@mb.infoweb.ne.jp>. 2000-09-02 Jakub Jelinek <jakub@redhat.com> * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Increment counter in the loop. 2000-09-01 H.J. Lu <hjl@gnu.org> * Makeconfig (built-program-cmd): Don't use the dynamic linker to run a binary if it is in $(tests-static). * Rules (binaries-static): Add $(tests-static).
2000-09-03Update.Ulrich Drepper2-1/+6
2000-09-03 Ulrich Drepper <drepper@redhat.com> * spinlock.h (testandset): Add cast to avoid warning. Patch by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
2000-09-02* sysdeps/pthread/timer_routines.c: Include stdlib.h for abort Andreas Jaeger2-0/+6
prototype. 2000-09-02 Andreas Jaeger <aj@suse.de> * sysdeps/pthread/timer_routines.c: Include stdlib.h for abort prototype.
2000-09-01Update.Ulrich Drepper2-1/+4
* libio/libio.h (_IO_flockfile, _IO_funlockfile): Fix typo in last patch (_mode -> _flags).
2000-09-01Update.Ulrich Drepper2-2/+12
[_IO_MTSAFE_IO] (_IO_flockfile, _IO_funlockfile): Add macros which test _IO_USER_LOCK flag first.
2000-09-01Update.Ulrich Drepper2-15/+3
* libio/Makefile (headers): Add stdio_ext.h. (routines): Add __fbufsize, __freading, __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, and __fsetlocking. * libio/Versions [libc] (GLIBC_2.2): Add __fbufsize, __freading, __fwriting, __freadable, __fwritable, __flbf, __fpurge, __fpending, __fsetlocking, and _flushlbf. * libio/__fbufsize.c: New file. * libio/__flbf.c: New file. * libio/__fpending.c: New file. * libio/__fpurge.c: New file. * libio/__freadable.c: New file. * libio/__freading.c: New file. * libio/__fsetlocking.c: New file. * libio/__fwritable.c: New file. * libio/__fwriting.c: New file. * libio/stdio_ext.h: New file. * libio/genops.c (_IO_flush_all_linebuffered): Add alias _flushlbf. * libio/libio.h (_IO_USER_LOCK): Define.
2000-09-01Update.Ulrich Drepper2-3/+15
2000-09-01 Ulrich Drepper <drepper@redhat.com> * lockfile.c (__flockfile): If _IO_USER_LOCK bit is set don't do anything. (__funlockfile): Likewise. (__ftrylockfile): If _IO_USER_LOCK bit is set return always 0.
2000-08-30Update.Ulrich Drepper2-2/+7
* iconvdata/big5hkscs.c: Rewritten. Regenerate data from the official file. * iconvdata/TESTS: Add BIG5HKSCS entry. * iconvdata/testdata/BIG5HKSCS: New file. * iconvdata/testdata/BIG5HKSCS..UTF8: New file. * iconvdata/big5.c (BODY for FROM_LOOP): Remove condition which is always true.
2000-08-25Update.Ulrich Drepper3-2/+58
2000-08-25 Ulrich Drepper <drepper@redhat.com> * elf/Makefile (LDFLAGS-nodelete): Add -rdynamic. * elf/nodelete.c (fini_ran): New global variable. (do_test): Before every dlclose call clear fini_ran and test afterwards that it is not set by the destructors. * elf/nodelmod1.c: Add destructor which sets fini_ran. * elf/nodelmod2.c: Likewise. * elf/nodelmod4.c: Likewise.
2000-08-25Update.Ulrich Drepper2-3/+6
* elf/dl-close.c (_dl_close): Don't run destructors of objects marked DF_1_NODELETE.
2000-08-25Update.Ulrich Drepper1-0/+6
2000-08-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/system.c (__libc_system): We cannot use vfork here since we call sigaction in the child.
2000-08-25(PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Defined. ↵Ulrich Drepper1-0/+4
(PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: Defined.
2000-08-24Update.Andreas Jaeger2-1/+3
* Examples/ex13.c: Include <string.h> for strerror prototype and <stdlib.h> for abort prototype.