aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-06-12Update.Ulrich Drepper
2000-06-12 Ulrich Drepper <drepper@redhat.com> * Rules (%.out): Define GCONV_PATH in the environment. * assert/Depend: New file. * iconvdata/Depend: New file. * intl/Depend: New file. * timezone/Makefile (build-testdata): Add GCONV_PATH to environment. * intl/tst-gettext.sh: Likewise. * iconv/Makefile (routines): Add gconv_trans. * iconv/gconv_trans.c: New file. * iconv/gconv.h (struct __gconv_trans_data): New type. (__gconv_fct): New parameter with starting position in output buffer. (__gconv_trans_fct, __gconv_trans_context_fct, __gconv_trans_query_fct, __gconv_trans_init_fct, __gconv_trans_end_fct): New types. (struct __gconv_step): Add new member __trans. * iconv/gconv_int.h: Pretty print prototypes. (gconv_transliterate): New prototype. (__BUILTIN_TRANS): Update for new conversion function interface. * iconv/gconv.c (__gconv): Pass new parameter to conversion function. * iconv/gconv_open.c (__gconv_open): Recognize error handling suffix in names, find appropriate function, and install in the conversion steps it can be used. * iconv/skeleton.c: Add additional parameter for beginning of output buffer. Change calls of downstream functions. * iconv/loop.c: Change loop function interface completely. Pass in step and step_data structure. Remove optimization for BODY with NEED_LENGTH_TEST == 0. * iconv/gconv_simple.c: Update interfaces of functions. Insert appropriate error handling code to use transliteration steps. Remove optimization for BODY with NEED_LENGTH_TEST == 0. * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/big5hkscs.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/euc-tw.c: Likewise. * iconvdata/gbgbk.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise. * libio/iofwide.c: Adjust to new interface of gconv functions. Use DL_CALL_FCT. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise.
2000-06-12Update.Ulrich Drepper
2000-06-12 Ulrich Drepper <drepper@redhat.com> * Examples/ex6.c: Test return value of pthread_join.
2000-06-12(%.out): Define GCONV_PATH in the environment.Ulrich Drepper
2000-06-12* sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the other header ↵Geoff Keating
files. Mention about 128-byte cache line sizes. (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update for current calling sequence. * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. * sysdeps/powerpc/fpu/s_rintf.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit and setrlimit syscalls for backwards compatibility. 2000-04-11 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/dl-machine.c: Include dl-machine.h after the other header files. Mention about 128-byte cache line sizes. (__elf_machine_fixup_plt): Make types match elf_machine_fixup_plt. * sysdeps/powerpc/dl-machine.h (elf_machine_fixup_plt): Update for current calling sequence. * sysdeps/powerpc/dl-start.S (_dl_start_user): Close comment. * sysdeps/powerpc/fpu/s_rint.c: Handle rounding to -0 correctly. * sysdeps/powerpc/fpu/s_rintf.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add getrlimit and setrlimit syscalls for backwards compatibility.
2000-06-12* sysdeps/powerpc/pspinlock.c (__pthread_spin_lock): Implement. ↵Geoff Keating
(__pthread_spin_trylock): Implement. (__pthread_spin_unlock): Implement. (__pthread_spin_init): Implement. (__pthread_spin_destroy): Implement. 2000-06-11 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/pspinlock.c (__pthread_spin_lock): Implement. (__pthread_spin_trylock): Implement. (__pthread_spin_unlock): Implement. (__pthread_spin_init): Implement. (__pthread_spin_destroy): Implement. really append the entry.
2000-06-10Update.Ulrich Drepper
* iconv/skeleton.c: Rename converted written to correcter name irreversible. * iconv/gconv.c: Rename converted variable to correcter name irreversible. * iconv/gconv_int.h: Likewise. * iconv/gconv_simple.c: Likewise. * iconv/iconv.c: Likewise. * iconv/loop.c: Likewise. * iconvdata/8bit-gap.c: Likewise. * iconvdata/8bit-generic.c: Likewise. * iconvdata/ansi_x3.110.c: Likewise. * iconvdata/big5.c: Likewise. * iconvdata/big5hkscs.c: Likewise. * iconvdata/euc-cn.c: Likewise. * iconvdata/euc-jp.c: Likewise. * iconvdata/euc-kr.c: Likewise. * iconvdata/gbgbk.c: Likewise. * iconvdata/gbk.c: Likewise. * iconvdata/iso-2022-cn.c: Likewise. * iconvdata/iso-2022-jp.c: Likewise. * iconvdata/iso-2022-kr.c: Likewise. * iconvdata/iso646.c: Likewise. * iconvdata/iso8859-1.c: Likewise. * iconvdata/iso_6937-2.c: Likewise. * iconvdata/iso_6937.c: Likewise. * iconvdata/johab.c: Likewise. * iconvdata/sjis.c: Likewise. * iconvdata/t.61.c: Likewise. * iconvdata/uhc.c: Likewise. * iconvdata/unicode.c: Likewise. * iconvdata/utf-16.c: Likewise.
2000-06-10Update.Ulrich Drepper
2000-06-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/socket.h (struct cmsghdr): Mark __cmsg_data field with __extension__.
2000-06-10UpdateUlrich Drepper
2000-06-10 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/syscall.S: Fix it so it actually works.
2000-06-10Update.Ulrich Drepper
2000-06-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/timer_routines.c (list_append): Little fix to reall append the entry. list and remove from active list.
2000-06-10Update.Ulrich Drepper
* iconv/gconv_simple.c: Fix various small bugs in several functions.
2000-06-10Update.Ulrich Drepper
2000-06-10 Ulrich Drepper <drepper@redhat.com> * iconv/loop.c: Fix comment.
2000-06-10Fix comment.Ulrich Drepper
2000-06-10lockfile.c (__fresetlockfiles): Remove unused variable fp.Andreas Jaeger
2000-06-10 Andreas Jaeger <aj@suse.de> * lockfile.c (__fresetlockfiles): Remove unused variable fp.
2000-06-10Update.Ulrich Drepper
2000-06-10 Kaz Kylheku <kaz@ashi.footprints.net> * sysdeps/pthread/timer_create.c: Thread matching now done on clock type as well as thread attributes. There are individual global signal-delivering threads for different clock types. * sysdeps/pthread/posix-timer.h: Likewise. * sysdeps/pthread/timer_routines.c: Likewise. * sysdeps/pthread/timer_routines.c: Thread allocation and deallocation function now remembers to put thread on active list and remove from active list. Thus now the feature of binding multiple timers to a single thread actually works.
2000-06-10Update.Ulrich Drepper
* joinrace.c: New file.
2000-06-10Update.Ulrich Drepper
* manager.c (pthread_handle_free): Likewise.
2000-06-10Update.Ulrich Drepper
2000-06-10 Ulrich Drepper <drepper@redhat.com> * pthread.c (__pthread_create_2_1): Optimize a bit. * internals.h (invalid_handle): Also test for p_terminated != 0. (nonexisting_handle): New function. Same as old invalid_handle. * join.c (pthread_join): Use nonexisting_handle instead of invalid_handle to test for acceptable thread handle. Reported by Permaine Cheung <pcheung@cygnus.com>.
2000-06-10Update.Ulrich Drepper
2000-06-10 Jakub Jelinek <jakub@redhat.com> * elf/link.h: Remove libc internal declarations. * include/link.h: Move them here.
2000-06-10Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/getsysstats.c: New file. Patch by Dan Pop <Dan.Pop@cern.ch>.
2000-06-10Update.Ulrich Drepper
2000-06-09 H.J. Lu <hjl@gnu.org> * dlfcn/dlerror.c (_dlerror_run): Set result->errstring to NULL after freeing it. * dlfcn/Makefile (distribute): Add failtestmod.c. (tests): Add failtest. Add rules to build and run failtest. * dlfcn/failtest.c: New file. * dlfcn/failtestmod.c: New file.
2000-06-10Update.Ulrich Drepper
* dlfcn/dlerror.c (struct dl_action_result): Add objname member. (dlerror): Add objname to asprintf() parameters. (_dl_error_run): Pass new parameter to _dl_catch_error.
2000-06-10Update.Ulrich Drepper
2000-06-09 Ulrich Drepper <drepper@redhat.com> Rewrite error message handling. * elf/dl-deps.c (_dl_map_object_deps): Pass new parameter to _dl_catch_error. * elf/dl-error (struct catch): Add objname member. (_dl_signal_error): Take new parameter with object name. When passing message on simply store object name and duplicate error message. (_dl_catch_error): Take new parameter. Store object name in the place pointed to. * include/dlfcn.h: Adjust _dl_catch_error prototype. * sysdeps/generic/ldsodefs.h: Adjust _dl_signal_error prototype. * elf/dl-libc.c (dlerror_run): Pass new parameter to _dl_catch_error. * elf/dl-open.c (_dl_open): Likewise. * elf/rtld.c (dl_main): Likewise. * elf/dl-close.c: Mark error messages with N_(). * elf/dl-deps.c: Likewise. * elf/dl-error.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * elf/dl-lookup.c: Add comments about problems with error message translations. * elf/dl-reloc.c: Likewise. * elf/dl-version.c: Likewise.
2000-06-10Update.Ulrich Drepper
2000-06-09 David Mosberger-Tang <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/__longjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bsd-_setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bsd-setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/setjmp.S: new file * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: new file
2000-06-10Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/brk.S: New file. * sysdeps/unix/sysv/linux/ia64/pipe.S: New file. 2000-06-09 Jes Sorensen <jes@linuxcare.com>
2000-06-10Update.Ulrich Drepper
2000-06-09 Jes Sorensen <jes@linuxcare.com> Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/sigaction.c: New file. * sysdeps/unix/sysv/linux/ia64/sigpending.c: New file. * sysdeps/unix/sysv/linux/ia64/sigprocmask.c: New file. * sysdeps/unix/sysv/linux/ia64/sigsuspend.c: New file. * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h: New file.
2000-06-09Update.Ulrich Drepper
2000-06-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Try harder to find correct mount point despite wrong information from the kernel.
2000-06-09Update.Ulrich Drepper
2000-06-09 Jes Sorensen <jes@linuxcare.com> * elf/dl-libc.c (__libc_dlsym): Use DL_SYMBOL_ADDRESS() to obtain the address of a symbol so function pointers are handled properly.
2000-06-09Update.Ulrich Drepper
* sysdeps/i386/Dist: Add bp-asm.h.
2000-06-09Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Use defaultdir variable instead of "/var/shm" everywhere. (defaultdir): Change to /dev/shm/.
2000-06-09Update.Ulrich Drepper
2000-06-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/shm_open.c (defaultdir): Change to /dev/shm/.
2000-06-09(__timer_thread_queue_timer): Correct handling of matching variable.Ulrich Drepper
2000-06-09* sysdeps/i386/bp-asm.h: New file. Greg McGary
* sysdeps/i386/__longjmp.S: Define & use symbolic argument stack offsets. Add ENTER/LEAVE macros for optionally maintaining frame-pointer chain when debugging. * sysdeps/i386/add_n.S: Likewise. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise. 2000-06-08 Greg McGary <greg@mcgary.org> * sysdeps/i386/bp-asm.h: New file. * sysdeps/i386/__longjmp.S: Define & use symbolic argument stack offsets. Add ENTER/LEAVE macros for optionally maintaining frame-pointer chain when debugging. * sysdeps/i386/add_n.S: Likewise. * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpcpy.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i486/strlen.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/strlen.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcpy.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strcmp.S: Likewise.
2000-06-09(main): Rewrite initializers to avoid warnings.Ulrich Drepper
2000-06-09Update.Ulrich Drepper
* sysdeps/pthread/timer_routines.c (__timer_thread_queue_timer): Be prepared for empty timer list.
2000-06-09Update.Ulrich Drepper
* sysdeps/pthread/timer_create.c (timer_create): Correct names of CPUTIME clock ID. Add support for thread clocks.
2000-06-09Update.Ulrich Drepper
* sysdeps/pthread/posix-timer.h (timer_ptr2id): Operands in subtraction were switched.
2000-06-08Update.Ulrich Drepper
* sysdeps/pthread/timer_routines.c (init_module): Use THREAD_MAXNODES threads.
2000-06-08Update.Ulrich Drepper
* sysdeps/pthread/posix-timer.h (struct timer_node): Add creator_pid. * sysdeps/pthread/timer_create.c: Fill in creator_pid. * sysdeps/pthread/timer_routines.c (thread_expire_timer): Send signal with sigqueueinfo is this system call is available. * sysdeps/pthread/timer_create.c (timer_create): Allow CLOCK_CPUTIME if _POSIX_CPUTIME is defined.
2000-06-08Update.Ulrich Drepper
* sysdeps/pthread/Makefile: New file. Add rules to build timer functionality. * sysdeps/unix/sysv/linux/bits/local_lim.h: Add TIMER_MAX. 2000-06-04 Kaz Kylheku <kaz@ashi.footprints.net> * sysdeps/pthread/posix-timer.h: New file. * sysdeps/pthread/timer_create.c: New file. * sysdeps/pthread/timer_delete.c: New file. * sysdeps/pthread/timer_getoverr.c: New file. * sysdeps/pthread/timer_gettime.c: New file. * sysdeps/pthread/timer_routines.c: New file. * sysdeps/pthread/timer_settime.c: New file. * sysdeps/pthread/tst-timer.c: New file. 2000-06-08 Ulrich Drepper <drepper@redhat.com>
2000-06-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/getdtsz.c: New file.
2000-06-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sys/param.h: Define NOFILE directly as 256 and don't use OPEN_MAX.
2000-06-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/fpathconf.c: Likewise.
2000-06-08Update.Ulrich Drepper
2000-06-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/pathconf.c: Define LINUX_LINK_MAX and use it instead of LINK_MAX.
2000-06-08Define LINUX_LINK_MAX and use it instead of LINK_MAX.Ulrich Drepper
2000-06-08Update.Andreas Jaeger
2000-06-08 Andreas Jaeger <aj@suse.de> * libio/genops.c (_IO_list_lock): Only compile body if we're thread safe. (_IO_list_unlock): Likewise. (_IO_list_resetlock): Likewise.
2000-06-08* libio/genops.c (_IO_list_lock): Only compile body if we're Andreas Jaeger
thread safe. (_IO_list_unlock): Likewise. (_IO_list_resetlock): Likewise.
2000-06-08Update.Ulrich Drepper
2000-06-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/local_lim.h: Remove OPEN_MAX and LINK_MAX definitions if necessary.
2000-06-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/local_lim.h: Undefine OPEN_MAX unless user defined it.
2000-06-08Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/local_lim.h: Also undefine LINK_MAX if not defined by the user.
2000-06-08Update.Ulrich Drepper
* libio/iofwrite_u.c (fwrite_unlocked): Remove obsolete comment. * libio/iofwrite.c (_IO_fwrite): Likewise.