aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-12-21* locale/xlocale.c (_nl_C_locobj): Mark as const.Ulrich Drepper13-42/+57
* include/locale.h: Define _nl_C_locobj_ptr. * iconv/gconv_charset.h: Use _nl_C_locobj_ptr instead of using pointer to _nl_C_locobj because we also need a cast. * iconv/gconv_conf.c: Likewise. * iconv/gconv_int.h: Likewise. * iconv/gconv_open.c: Likewise. * locale/duplocale.c: Likewise. * locale/freelocale.c: Likewise. * locale/newlocale.c: Likewise. * misc/syslog.c: Likewise. * stdlib/strtod_l.c: Likewise. * sysdeps/unix/sysv/linux/getloadavg.c: Likewise.
2005-12-21* csu/dso_handle.c (__dso_handle): Mark as const.Ulrich Drepper2-2/+5
2005-12-21* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.Ulrich Drepper3-4/+8
* intl/plural-exp.h: Adjust declaration of __gettext_germanic_plural.
2005-12-21* resolv/herror.c (h_errlist): Mark as const.Ulrich Drepper2-2/+7
(h_nerr): Likewise.
2005-12-20* sunrpc/clnt_unix.c (unix_ops): Mark as const.Ulrich Drepper6-11/+17
* sunrpc/auth_des.c (authdes_ops): Likewise. * sunrpc/svc_raw.c (server_ops): Likewise. * sunrpc/clnt_udp.c (udp_ops): Likewise. * sunrpc/clnt_tcp.c (tcp_ops): Likewise. * sunrpc/clnt_raw.c (client_ops): Likewise. * sunrpc/auth_unix.c (auth_unix_ops): Likewise.
2005-12-20(client_ops): Mark as const.Ulrich Drepper1-2/+2
2005-12-20[BZ #2061]Roland McGrath2-3/+14
2005-12-15 Thomas Schwinge <tschwinge@gnu.org> [BZ #2061] * sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.
2005-12-20* sysdeps/unix/sysv/linux/ifreq.h: File removed.Roland McGrath3-42/+11
* sysdeps/unix/sysv/linux/ifreq.c: #include "kernel-features.h" here. * sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-202005-12-20 Roland McGrath <roland@redhat.com>Roland McGrath1-23/+2
* sysdeps/mach/hurd/ifreq.h: File removed. (__ifreq): Function moved to ... * sysdeps/mach/hurd/ifreq.c: ... here, new file.
2005-12-20* sunrpc/auth_unix.c (auth_unix_ops): Mark as const.Ulrich Drepper2-3/+4
* sunrpc/auth_none.c (ops): Likewise.
2005-12-20* sunrpc/auth_none.c (ops): Mark as const.Ulrich Drepper4-8/+15
* nss/nsswitch.c (databases): Mark as const. Change name field into array. * nss/databases.def: Add warning.
2005-12-20* resolv/res_hconf.c (arg_service_list): Reduce size of svcs andUlrich Drepper2-4/+6
mark const. (cmd): Mark as const.
2005-12-20* resolv/res_hconf.c (cmd): Mark as const.Ulrich Drepper2-2/+5
(parse_line): Mark c as pointer to const.
2005-12-20* misc/getusershell.c (initshells): Remove unnecessary tests.Ulrich Drepper2-11/+9
(endusershell): Likewise. (okshells): Mark as const.
2005-12-20* sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.Ulrich Drepper4-30/+62
* sysdeps/posix/gai_strerror-strs.h: New file. * sysdeps/posix/Dist: New file.
2005-12-20* sysdeps/posix/getaddrinfo.c (gaih): Mark as const.cvs/fedora-glibc-20051220T1751Ulrich Drepper2-3/+5
* locale/loadlocale.c (_nl_value_types): Likewise.
2005-12-20* locale/loadlocale.c (_nl_value_types): Mark as const.Ulrich Drepper3-5/+17
* iconv/gconv_conf.c (builtin_aliases): Likewise.
2005-12-20* iconv/gconv_conf.c (builtin_aliases): Mark as const.Ulrich Drepper3-3/+11
* iconv/gconv_open.c (internal_trans_names): Likewise.
2005-12-20* iconv/gconv_open.c (internal_trans_names): Mark as const.Ulrich Drepper2-2/+7
2005-12-20* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.Ulrich Drepper9-44/+152
(PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Fix typo. * sysdeps/sh/sh4/__longjmp.S: Use PTR_DEMANGLE if defined. * sysdeps/sh/sh3/__longjmp.S: Likewise. * sysdeps/sh/sh4/setjmp.S: Use PTR_MANGLE if defined. * sysdeps/sh/sh3/setjmp.S: Likewise.
2005-12-20* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.Ulrich Drepper2-1/+16
* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined, use sysdeps/unix/time.c implementation.
2005-12-20[BZ #1952, BZ #1955]cvs/fedora-glibc-20051220T1028Ulrich Drepper3-3/+12
2005-12-19 Ulrich Drepper <drepper@redhat.com> [BZ #1955] * timezone/zic.c (tofile;): Fix typo in symlink creation. Patch by Phil Estes <pestes@us.ibm.com>. [BZ #1952] * sysdeps/unix/sysv/linux/time.c: New file. * sysdeps/unix/sysv/linux/i386/syscalls.list: Remove time entry. 2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
2005-12-20time implementation for Linux.Ulrich Drepper1-0/+35
2005-12-202005-12-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath1-0/+6
* io/xmknodat.c: Include <stddef.h>. * misc/futimesat.c: Remove weak_alias and correct stub_warning. * stdio-common/renameat.c (renameat): Fix typo.
2005-12-202005-12-15 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath3-4/+3
* io/xmknodat.c: Include <stddef.h>. * misc/futimesat.c: Remove weak_alias and correct stub_warning. * stdio-common/renameat.c (renameat): Fix typo.
2005-12-20[BZ #1978]Ulrich Drepper34-255/+663
2005-12-16 Thorsten Kukuk <kukuk@suse.de> [BZ #1978] * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): Map more filesystem types to a string. * sysdeps/unix/sysv/linux/linux_fsinfo.h: Add SYSFS_MAGIC. 2005-12-19 Jakub Jelinek <jakub@redhat.com> * locale/Makefile (programs/%-kw.h): Run $(GPERF) inside of the programs subdirectory. * sysdeps/powerpc/powerpc32/__longjmp-common.S (__longjmp): Use PTR_DEMANGLE for PC if defined. * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/__longjmp.S (__longjmp): Likewise. * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Xor %r14 with THREAD_GET_POINTER_GUARD () if PTR_DEMANGLE is defined. * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise. * sysdeps/powerpc/powerpc32/setjmp-common.S (__sigsetjmp): Use PTR_MANGLE for PC if defined. * sysdeps/powerpc/powerpc64/setjmp-common.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise. Avoid call to __sigjmp_save if IS_IN_rtld. * sysdeps/s390/s390-32/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/s390/s390-64/elf/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/setjmp.S (__sigsetjmp): Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Include tls.h (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. (SYSCALL_ERROR_HANDLER): Add missing semicolons. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Include tls.h. (PTR_MANGLE, PTR_DEMANGLE): Define. * sysdeps/unix/sysv/linux/s390/s390-64/socket.S (__socket): Add SYSCALL_ERROR_HANDLER. 2005-12-19 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Handle NO_WEAK_ALIAS. * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise. Patch by Clint Adams. 2005-12-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/sys/user.h: Copy struct user and dependent definitions from the kernel header to sys/user.h and remove the #include of asm/user.h.
2005-12-20* sysdeps/gnu/Makefile: Make sure the correct errlist.c file isUlrich Drepper2-4/+11
used when generating errlist-compat.c.
2005-12-19* iconv/gconv.c: Demangle pointers before use if necessary.cvs/fedora-glibc-20051219T1003Ulrich Drepper14-77/+228
* iconv/gconv_cache.c: Likewise. * iconv/skeleton.c: Likewise. * libio/iofwide.c: Likewise. * wcsmbs/btowc.c: Likewise. * wcsmbs/mbrtowc.c: Likewise. * wcsmbs/mbsnrtowcs.c: Likewise. * wcsmbs/mbsrtowcs_l.c: Likewise. * wcsmbs/wcrtomb.c: Likewise. * wcsmbs/wcsnrtombs.c: Likewise. * wcsmbs/wcsrtombs.c: Likewise. * wcsmbs/wctob.c: Likewise. * iconv_gconv_db.c: Likewise. After init functions returns mangle btowc pointer if necessary. * iconv/gconv_dl.c: Mangle function pointers retrieved from dlsym.
2005-12-19* iconv/gconv_builtin.c (builtin_map): Change type of sizeUlrich Drepper2-6/+10
information fields to int8_t.
2005-12-19* libio/libioP.h (__libio_codecvt): Adjust declaraction.Ulrich Drepper2-2/+3
2005-12-19* libio/iofwide.c (__libio_codecvt): Mark as const.Ulrich Drepper2-2/+5
(__libio_translit): Likewise.
2005-12-19* wcsmbs/wcsmbsload.c (to_wc): Mark as const.Ulrich Drepper1-0/+5
(to_mb): Likewise.
2005-12-19(to_wc): Mark as const. (to_mb): Likewise.Ulrich Drepper1-5/+5
2005-12-18 * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.Richard Henderson2-1/+5
2005-12-18 Richard Henderson <rth@redhat.com> * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
2005-12-18* iconv/gconv_builtin.c: Mark map with attribute_relro.Ulrich Drepper2-2/+4
2005-12-18* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define CUlrich Drepper3-3/+12
version for inside ld.so. * elf/rtld.c (dl_main): Don't use hp timing code unless it's available.
2005-12-18* sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: AvoidUlrich Drepper3-2/+17
call to __sigjmp_save. * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2005-12-18* stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill inUlrich Drepper5-8/+51
flavor field last and protect with memory barrier. * stdlib/on_exit.c: Likewise. * stdlib/cxa_finalize.c: Use PTR_DEMANGLE on function pointer before using it. * stdlib/exit.c: Likewise.
2005-12-18* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE andUlrich Drepper3-6/+34
PTR_DEMANGLE for C code in libc. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2005-12-18* elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.Ulrich Drepper20-161/+159
* elf/rtld.c: Define __pointer_chk_guard_local and if necessary __pointer_chk_guard. (_rtld_global_ro): Initialize _dl_pointer_guard. (dl_main): Initialize __pointer_chk_guard_local and either __pointer_chk_guard or TLS value if necessary. (process_envvars): Recognize and handle LD_POINTER_GUARD. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_pointer_guard. * sysdeps/i386/__longjmp.S: Use PTR_DEMANGLE for PC if defined. * sysdeps/x86_64/__longjmp.S: Likewise. * sysdeps/i386/bsd-_setjmp.S: Use PTR_MANGLE for PC if defined. * sysdeps/i386/bsd-_setjmp.S: Likewise. * sysdeps/i386/setjmp.S: Likewise. [IS_IN_rtld]: Avoid call to __sigjmp_save. * sysdeps/i386/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and PTR_DEMANGLE. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/i386/elf/setjmp.S: Removed. * sysdeps/i386/elf/bsd-setjmp.S: Removed.
2005-12-17* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead ofUlrich Drepper2-1/+4
setjmp.
2005-12-17* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.Ulrich Drepper3-8/+6
* elf/dl-minimal.c (longjmp): Remove definition.
2005-12-17* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.Ulrich Drepper2-0/+5
2005-12-16* nscd/Makefile: Don't build nscd_nischeck.Ulrich Drepper3-104/+8
* nscd/nscd_nischeck.c: Removed.
2005-12-16* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code inUlrich Drepper12-3/+415
separate function __atfct_seterrno_2. * include/fcntl.h: Declare __atfct_seterrno_2. * posix/unistd.h: Declare linkat, symlinkat, readlinkat. * io/Makefile (routines): Add linkat, symlinkat, readlinkat. * io/Versions [GLIBC_2.4]: Export linkat, symlinkat, readlinkat. * io/linkat.c: New file. * io/readlinkat.c: New file. * io/symlinkat.c: New file. * sysdeps/unix/sysv/linux/linkat.c: New file. * sysdeps/unix/sysv/linux/readlinkat.c: New file. * sysdeps/unix/sysv/linux/symlinkat.c: New file.
2005-12-16Move errno setting code in separate function __atfct_seterrno_2.Ulrich Drepper1-39/+48
2005-12-15[BZ #1997]Roland McGrath2-2/+7
* manual/stdio.texi (String Streams): For open_memstream, elaborate a little on malloc reference.
2005-12-15* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.Roland McGrath82-161/+244
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise. * sysdeps/alpha/fpu/s_casinf.c: Likewise. * sysdeps/alpha/fpu/s_casinhf.c: Likewise. * sysdeps/alpha/fpu/s_catanf.c: Likewise. * sysdeps/alpha/fpu/s_catanhf.c: Likewise. * sysdeps/alpha/fpu/s_ccosf.c: Likewise. * sysdeps/alpha/fpu/s_ccoshf.c: Likewise. * sysdeps/alpha/fpu/s_cexpf.c: Likewise. * sysdeps/alpha/fpu/s_clog10f.c: Likewise. * sysdeps/alpha/fpu/s_clogf.c: Likewise. * sysdeps/alpha/fpu/s_cpowf.c: Likewise. * sysdeps/alpha/fpu/s_cprojf.c: Likewise. * sysdeps/alpha/fpu/s_csinf.c: Likewise. * sysdeps/alpha/fpu/s_csinhf.c: Likewise. * sysdeps/alpha/fpu/s_csqrtf.c: Likewise. * sysdeps/alpha/fpu/s_ctanf.c: Likewise. * sysdeps/alpha/fpu/s_ctanhf.c: Likewise. * sysdeps/alpha/libc-tls.c: Likewise. * sysdeps/gnu/glob64.c: Likewise. * sysdeps/gnu/updwtmp.c: Likewise. * sysdeps/gnu/utmp_file.c: Likewise. * sysdeps/i386/bzero.c: Likewise. * sysdeps/i386/ffs.c: Likewise. * sysdeps/i386/i686/ffs.c: Likewise. * sysdeps/i386/memset.c: Likewise. * sysdeps/ia64/fpu/printf_fphex.c: Likewise. * sysdeps/ia64/libc-tls.c: Likewise. * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise. * sysdeps/m68k/ffs.c: Likewise. * sysdeps/mach/hurd/getdents.c: Likewise. * sysdeps/mach/hurd/init-posix.c: Likewise. * sysdeps/mach/msync.c: Likewise. * sysdeps/mips/libc-tls.c: Likewise. * sysdeps/posix/profil.c: Likewise. * sysdeps/posix/shm_open.c: Likewise. * sysdeps/posix/shm_unlink.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/powerpc/ffs.c: Likewise. * sysdeps/rs6000/ffs.c: Likewise. * sysdeps/s390/libc-tls.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/alpha/wordexp.c: Likewise. * sysdeps/unix/sysv/linux/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/gai_sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise. * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise. * sysdeps/unix/sysv/linux/i386/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise. * sysdeps/unix/sysv/linux/ia64/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/mips/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/mips/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/mq_close.c: Likewise. * sysdeps/unix/sysv/linux/mq_getattr.c: Likewise. * sysdeps/unix/sysv/linux/mq_notify.c: Likewise. * sysdeps/unix/sysv/linux/mq_open.c: Likewise. * sysdeps/unix/sysv/linux/mq_receive.c: Likewise. * sysdeps/unix/sysv/linux/mq_send.c: Likewise. * sysdeps/unix/sysv/linux/mq_unlink.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/s390/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise. * sysdeps/unix/sysv/linux/sigqueue.c: Likewise. * sysdeps/unix/sysv/linux/sigstack.c: Likewise. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. * sysdeps/unix/sysv/linux/sparc/readelflib.c: Likewise. * sysdeps/unix/sysv/linux/truncate64.c: Likewise. * sysdeps/unix/sysv/linux/vfork.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Likewise.
2005-12-15* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.Roland McGrath1-0/+4
2005-12-152005-12-15 Roland McGrath <roland@redhat.com>Roland McGrath1-5/+0
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.