about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Include stdlib.h for exit prototype.Andreas Jaeger2003-01-171-0/+1
|
* Update.Ulrich Drepper2003-01-173-1/+63
| | | | | | 2003-01-17 Ulrich Drepper <drepper@redhat.com> * Makefile (headers): Add bits/semaphore.h.
* Update.Ulrich Drepper2003-01-1710-17/+814
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-16 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: New file. * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: New file. * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: New file. * sysdeps/unix/sysv/linux/configure.in: Minimum kernel for PPC64 is 2.4.21. 2003-01-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/glob.c (glob): Assume sysconf() always returns values != -1 for _LIBC. Use extend_alloca to reallocate alloca'ed buffers. * sysdeps/generic/sysconf.c: Unconditionally implement _SC_GETPW_R_SIZE_MAX and _SC_GETGR_R_SIZE_MAX. * sysdeps/posix/sysconf.c: Likewise.
* Update.Ulrich Drepper2003-01-165-7/+58
| | | | | | | | | | * posix/regcomp.c (parse_bracket_exp): If build_charclass fails, set *err to the returned error, not to REG_ESPACE unconditionally. (build_word_op): Likewise. * posix/Makefile (tests): Add bug-regex16. * posix/bug-regex16.c: New test. 2003-01-16 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2003-01-167-14/+44
| | | | | | | | 2003-01-16 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_map_object_from_fd): Use GL(dl_tls_dtv_slotinfo_list) != NULL to check whether TLS has been already initialized.
* Update.Ulrich Drepper2003-01-165-5/+14
| | | | | | 2003-01-15 Dmitry V. Levin <ldv@altlinux.org> * sysdeps/unix/sysv/linux/ptsname.c: Fix typo in comment.
* Update.Ulrich Drepper2003-01-161-0/+5
| | | | | | | 2003-01-16 Jakub Jelinek <jakub@redhat.com> * posix/regcomp.c (re_compile_internal): If clearing buffer, clear allocated too. Reported by Al Viro <aviro@redhat.com>.
* (re_compile_internal): If clearing buffer, clear allocated too.Ulrich Drepper2003-01-161-1/+4
|
* Tweak merged .abilist file format to merge duplicate symbols inRoland McGrath2003-01-161-0/+8
| | | | | | | different sets into multi-version stanzas with new "| SET regexp..." header continuation lines. * scripts/merge-abilist.awk: Rewritten for new format. * scripts/extract-abilist.awk: Likewise.
* 2003-01-16 Roland McGrath <roland@redhat.com>Roland McGrath2003-01-162-128/+153
| | | | | | | | Tweak merged .abilist file format to merge duplicate symbols in different sets into multi-version stanzas with new "| SET regexp..." header continuation lines. * scripts/merge-abilist.awk: Rewritten for new format. * scripts/extract-abilist.awk: Likewise.
* Update.Ulrich Drepper2003-01-162-6/+9
| | | | | | * nscd/connections.c (nscd_run): Remove bogus return which isn't necessary with gcc 3.2+. (nscd_init): Don't use error() to print message, use dbg_log.
* Update.Ulrich Drepper2003-01-163-5/+14
| | | | * iconv/loop.c: Use CLEAR_STATE if defined to clear __state element.
* Update.Ulrich Drepper2003-01-163-32/+36
| | | | | | | | * iconv/gconv_simple.c (STORE_REST): Explicitly store the total expected size into state. (UNPACK_BYTES): Do the reverse. * wcsmbs/tst-mbrtowc.c (utf8_test_1): Add test for the bug. Reported by Al Viro <aviro@redhat.com>.
* Update.Ulrich Drepper2003-01-163-2/+33
| | | | | * stdio-common/Makefile (tests): Add bug14. * stdio-common/bug14.c: New file.
* Update.Ulrich Drepper2003-01-152-1/+8
| | | | | | | | 2003-01-15 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c: When recognizing multibyte characters in string reset the byte counter after mbrtowc reported it is not a partial character. Reported by Al Viro <aviro@redhat.com>.
* Update.Ulrich Drepper2003-01-152-2/+12
| | | | | | | | | | | | 2003-01-15 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include sysdep-cancel.h, not sysdep.h. 2003-01-15 Ulrich Drepper <drepper@redhat.com> * nscd/connections.c (nscd_run): Protect accept call with TEMP_FAILURE_RETRY.
* (nscd_run): Protect accept with TEMP_FAILURE_RETRY.Ulrich Drepper2003-01-151-2/+2
|
* * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.Andreas Schwab2003-01-151-0/+11
| | | | | | | | | | (common-generated): Add s-proto-bp.d. * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies of bp thunks. * sysdeps/unix/s-proto-bp.S: New file. * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
* * sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d. Andreas Schwab2003-01-155-4/+11
| | | | | | | | | | (common-generated): Add s-proto-bp.d. * sysdeps/unix/make-syscalls.sh: Use s-proto-bp.d for dependencies of bp thunks. * sysdeps/unix/s-proto-bp.S: New file. * sysdeps/generic/bp-thunks.h: Don't include <sys/vm86.h> here. Use <io/sys/sendfile.h> instead of <sys/sendfile.h>. * sysdeps/unix/sysv/linux/i386/bp-thunks.h: New file.
* * Makerules: Use -include for tls.make, suppresses warning.Roland McGrath2003-01-151-0/+6
| | | | | Move gen-as-const-headers rules up so before-compile is set in time. (sed-remove-dotdot): Fix to work right for subdirs or top dir.
* 2003-01-15 Roland McGrath <roland@redhat.com>Roland McGrath2003-01-151-22/+25
| | | | | | * Makerules: Use -include for tls.make, suppresses warning. Move gen-as-const-headers rules up so before-compile is set in time. (sed-remove-dotdot): Fix to work right for subdirs or top dir.
* Update.Ulrich Drepper2003-01-152-2/+56
| | | | | * nscd/nscd.c (main): Make code to close all file descriptors faster and more robust.
* Update.Ulrich Drepper2003-01-157-148/+89
| | | | | | | | | | | | | * nscd/nscd_getpw_r.c (nscd_getpw_r): Consolidate writing of the request with one writev call. Protect all read calls with TEMP_FAILURE_RETRY. * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise. * nscd/hstcache.c: Use extend_alloca to reallocate alloca'd buffer. Protect writev calls with TEMP_FAILURE_RETRY. * nscd/grpcache.c: Likewise. * nscd/pwdcache.c: Likewise.
* Update.Ulrich Drepper2003-01-151-0/+5
| | | | | | | 2003-01-15 Ulrich Drepper <drepper@redhat.com> * nscd/hstcache.c (addhstbynamev6): Don't interpret hostname as IPv6 address in debug output.
* (addhstbynamev6): Don't interpret hostname as IPv6 address in debug output.Ulrich Drepper2003-01-151-7/+2
|
* * Makerules (check-abi-%): Use two rules for $(common-objpfx) andRoland McGrath2003-01-156-82/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | $(objpfx) directories, and get rid of vpath directives. The previous arrangement resulted in files being written to the source directories when run in a clean build. Find all .abilist files in $(..)abilist/. (update-abi-%): Likewise. (generated): Don't add .symlist files, they'll be intermediates. * sysdeps/generic/init-first.c: Add a comment. * elf/Makefile ($(objpfx)ld.so): Pass -z defs in link. * scripts/gen-as-const.awk: Grok lone "--" as a separator between #includes and expressions. * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged config list when it already contains cpu-.*-os.* without / part. * Makerules (sed-remove-dotdot): New variable. ($(common-objpfx)%.make): Use it. Depend on $(before-compile). ($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise. (check-abi-config): New variable, append /tls or /notls to the tuple. (check-abi-%): Use that for -v config value. Find .abilist files in abilist/libfoo.abilist, not in subdir. * Rules: Move bits/stdio_lim.h generation rules to Makerules.
* 2003-01-14 Roland McGrath <roland@redhat.com>Roland McGrath2003-01-151-4/+37
| | | | | * scripts/merge-abilist.awk: Omit cpu-.*-os.*/modifier from merged config list when it already contains cpu-.*-os.* without / part.
* Update.Ulrich Drepper2003-01-155-8/+31
| | | | | | | 2003-01-14 Ulrich Drepper <drepper@redhat.com> * manual/install.texi: Correct description of header preparation for Linux build. Patch by mhwood@Ameritech.Net [PR libc/4941].
* Update.Ulrich Drepper2003-01-1515-43/+494
| | | | | | | | | | | | | | | | | | | | 2003-01-14 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/sysdep.h (INTERNAL_SYSCALL, INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P, INLINE_SYSCALL): Define. 2003-01-14 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INTERNAL_SYSCALL): Make use of ERR parameter. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: New file. Patch by Denis Zaitsev <zzz@cd-club.ru>. that %eax is modified. Reported by Denis Zaitsev <zzz@cd-club.ru>.
* Update.Ulrich Drepper2003-01-142-3/+11
| | | | | | * sunrpc/pm_getport.c (pmap_getport): Open TCP socket if protocol == IPPROTO_TCP. Patch by James Strandboge <jamie@tpptraining.com> [PR libc/4943].
* Update.Ulrich Drepper2003-01-145-2/+11
| | | | | * sysdeps/unix/sysv/linux/i386/dl-procinfo.c (_dl_x86_cap_flags): Fix entry for bit 31.
* Update.Ulrich Drepper2003-01-147-7/+325
| | | | | | | | | 2003-01-14 Ulrich Drepper <drepper@redhat.com> * iconvdata/Makefile: Add rules to build IBM866NAV. * iconvdata/ibm866nav.c: New file. * iconvdata/tst-tables.sh: Add IBM866NAV. * iconvdata/gconv-modules: Add entries for IBM866NAV.
* Update.Ulrich Drepper2003-01-143-10/+26
| | | | | | | | | | | | | | | | 2003-01-13 Ulrich Drepper <drepper@redhat.com> * string/tester.c (test_strcpy): Use the previously #if 0'ed code to test void* parameters. * sysdeps/i386/i486/bits/string.h (__STRING_SMALLL_GET16): Cast source pointer before dereferencing. (__STRING_SMALLL_GET32): Likewise. (__memset_gc): Add missing parenthesis around macro arguments. Patch by Denis Zaitsev<zzz@cd-club.ru>. * sysdeps/i386/i486/bits/string.h (__strspn_cg): Tell the compiler that %eax is modified. Reported by Denis Zaitsev<zzz@cd-club.ru>.
* Update.Ulrich Drepper2003-01-142-3/+4
| | | | | * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Don't export lll_unlock_wake_cb.
* Update.Ulrich Drepper2003-01-144-3/+56
| | | | | | | | 2003-01-13 Ulrich Drepper <drepper@redhat.com> * Makefile (libpthread-routines): Add version. Add rules to build version.os and banner.h. * version.c: New file.
* Update.Ulrich Drepper2003-01-145-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/alpha/sysdep.h (INLINE_SYSCALL): Undefined before defining. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-64/initfini.c: Avoid unterminated string literals. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (L): Don't define it here. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (L): Likewise. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET): Move branch instructions from here... (PSEUDO): ... to here. * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET): Move branch instruction from here... (PSEUDO): ... to here. * elf/dl-close.c (_dl_close): Fix typo, must be == not = in
* Update.Ulrich Drepper2003-01-1413-376/+369
| | | | | | | | | | | | | | | | | | | | 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c: Avoid unterminated string literals. * sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c: Likewise. 2003-01-13 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Code reordering. Move CENABLE and CDISABLE literals from PSEUDO_END to PSEUDO. (PSEUDO_END): Remove. (SINGLE_THREAD_P): Save an instruction. * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S (__vfork): Add missing parameter to SINGLE_THREAD_P call. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Code reordering.
* (CFLAGS-pthread_self.c): New definition.Ulrich Drepper2003-01-141-0/+5
|
* * sysdeps/unix/sysv/linux/m68k/vfork.S: New file.Andreas Schwab2003-01-131-0/+4
|
* Update.Ulrich Drepper2003-01-134-8/+33
| | | | | | | | | | | | | | | | 2003-01-13 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap-dir.c (charmap_readdir): Use struct dirent64 instead of struct dirent for dirent. Call readdir64 instead of readdir. * locale/programs/locfile.c (siblings_uncached): Use struct dirent64 instead of struct dirent for other_dentry. Call readdir64 instead of readdir. * elf/ldconfig.c (direntry): Change type to struct dirent64. (search_dir): Use readdir64 instead of readdir. Patch by Zhangfan Xing <xing@pacific.jpl.nasa.gov>.
* (direntry): Change type to struct dirent64. (search_dir): Use readdir64 ↵Ulrich Drepper2003-01-131-2/+2
| | | | instead of readdir.
* * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use strtoul,Roland McGrath2003-01-132-2/+6
| | | | not strtol. The former is usable in ld.so, the latter not.
* * include/fcntl.h: Declare __libc_creat.Roland McGrath2003-01-135-28/+48
| | | | | | | | | | * sysdeps/mach/hurd/Makefile (libmachuser-link.so-no-z-defs, libhurduser-link.so-no-z-defs): New variables. * malloc/malloc.c: Revert last change. * malloc/malloc.h (_int_*): Move these decls to ... * include/malloc.h: ... here. Add attribute_hidden. (_int_valloc): Declare it too.
* 2003-01-12 Roland McGrath <roland@redhat.com>Roland McGrath2003-01-131-0/+1
| | | | * include/fcntl.h: Declare __libc_creat.
* Update.Ulrich Drepper2003-01-132-1/+4
| | | | | * elf/dl-close.c (_dl_close): Type typo, must be == not = in search for removed searchlist. Reported by Roland McGrath.
* Update.Ulrich Drepper2003-01-124-1/+30
| | | | | | | | * io/ftwtest-sh: Add test for case of symlink to nonexisting file given as start file. * io/ftw.c (ftw_startup): Use correct name in check for symlink without existing target. Patch by Jim Meyering.
* Update.Ulrich Drepper2003-01-128-44/+122
| | | | | | | | | | | | | | | | | * Makerules (build-shlib-helper): Don't use -z defs linker option if no-z-defs is defined either. 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Remove unused file. 2003-01-10 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Add vfork. * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise. 2003-01-12 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2003-01-123-4/+39
| | | | | | | | | | | | | * io/ftwtest-sh: Add test case for relative path with /. at the end. 2003-01-12 Jim Meyering <jim@meyering.net> * io/ftw.c (ftw_startup): When trying to stat the starting directory, use the basename if we've already chdir'd into its parent directory. 2003-01-12 Ulrich Drepper <drepper@redhat.com> to change directory after call to ftw_dir.
* Update.Ulrich Drepper2003-01-123-10/+32
| | | | | | | | | 2003-01-12 Ulrich Drepper <drepper@redhat.com> * io/ftw.c (process_entry): Use relative path when using chdir() to change direcoty after call to ftw_dir. * io/ftwtest-sh: Add test for relative path argument to nftw() with FTW_CHDIR option.
* Update.Ulrich Drepper2003-01-127-44/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_VFORK_SYSCALL): Define for powerpc. * sysdeps/unix/sysv/linux/powerpc/syscall.S: Take register alignment into account. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (INTERNAL_SYSCALL): Make use of ERR parameter. (INTERNAL_SYSCALL_DECL, INTERNAL_SYSCALL_ERRNO, INTERNAL_SYSCALL_ERROR_P): Adjust accordingly. (INLINE_SYSCALL): Make use of INTERNAL_SYSCALL. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: New file. 2002-01-09 Richard Henderson <rth@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Compute DTPREL64 and TPREL64 without loadbase applied. 2002-01-09 Richard Henderson <rth@redhat.com> * sysdeps/unix/alpha/sysdep.S: Use correct definition of errno for NOT_IN_libc. * sysdeps/unix/sysv/linux/alpha/sysdep.h: Move inline syscall bits... * sysdeps/unix/alpha/sysdep.h: ... here. (PSEUDO_LOADGP): Remove. (PSEUDO_PROLOGUE): Load GP in non-pic case. (SYSCALL_ERROR_LABEL): New. (PSEUDO): Use it in error branch. (PSEUDO_END): Add $syscall_error label.