platform/upstream/glibc.git
18 years agotype to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set. cvs/fedora-glibc-20060104T0754
Ulrich Drepper [Wed, 4 Jan 2006 07:36:31 +0000 (07:36 +0000)]
type to SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.

18 years agotypo.
Ulrich Drepper [Wed, 4 Jan 2006 07:35:13 +0000 (07:35 +0000)]
typo.

18 years agoUpdate.
Andreas Jaeger [Wed, 4 Jan 2006 06:46:59 +0000 (06:46 +0000)]
Update.

2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>

* sysdeps/unix/sysv/linux/mips/brk.c (__brk): Use
__SYSCALL_CLOBBERS.

18 years ago(__brk): Use __SYSCALL_CLOBBERS.
Andreas Jaeger [Wed, 4 Jan 2006 06:46:45 +0000 (06:46 +0000)]
(__brk): Use __SYSCALL_CLOBBERS.

18 years agoRegenerated: autoconf configure.in
Ulrich Drepper [Wed, 4 Jan 2006 06:26:49 +0000 (06:26 +0000)]
Regenerated: autoconf  configure.in

18 years ago* configure.in (HAVE_LIBAUDIT): Check
Ulrich Drepper [Wed, 4 Jan 2006 06:26:39 +0000 (06:26 +0000)]
* configure.in (HAVE_LIBAUDIT): Check

audit_log_user_avc_message instead of audit_log_avc.

2006-01-04  Joseph S. Myers  <joseph@codesourcery.com>

* sysdeps/ieee754/bits/nan.h: Fix typo.

18 years ago* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.
Ulrich Drepper [Wed, 4 Jan 2006 00:20:45 +0000 (00:20 +0000)]
* sysdeps/unix/sysv/linux/m68k/fchownat.c: Include string.h.

* sysdeps/sparc/sparc32/dl-machine.h (LD_SO_PRELOAD): Remove unused
define.

* sysdeps/sparc/sparc32/bits/atomic.h: Include stdint.h, add
{,u}atomic*_t typedefs.
(__sparc32_atomic_do_lock): Add __volatile and memory clobber.
(__sparc32_atomic_do_unlock): Add memory barrier.
(__sparc32_atomic_do_lock24, __sparc32_atomic_do_unlock24): Define.
[!SHARED] (__v9_compare_and_exchange_val_32_acq): Define.
(__v7_compare_and_exchange_val_acq, __v7_compare_and_exchange_bool_acq,
__v7_exchange_acq, __v7_exchange_and_add, __v7_exchange_24_rel,
__v7_compare_and_exchange_val_24_acq, __atomic_is_v9,
atomic_exchange_acq, atomic_compare_and_exchange_val_24_acq,
atomic_exchange_24_rel): Define.
[SHARED] (atomic_exchange_and_add): Define.
[!SHARED] (__ATOMIC_HWCAP_SPARC_V9): Define.
[!SHARED] (_dl_hwcap): New weak decl.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.
* sysdeps/sparc/sparc64/bits/atomic.h (atomic_exchange_24_rel,
atomic_compare_and_exchange_val_24_acq): Define.

18 years agolio_listio should emit an event for each individual request in
Ulrich Drepper [Tue, 3 Jan 2006 23:19:03 +0000 (23:19 +0000)]
lio_listio should emit an event for each individual request in

addition to the global event.
* sysdeps/pthread/lio_listio.c (lio_listio): Renamed to
lio_listio_internal.  Remove mode parameter check.  Only set sigevent
type ti SIGEV_NONE if LIO_NO_INDIVIDUAL_EVENT is set.
(__lio_listio_21): New function.  Compatiblity version which sets
LIO_NO_INDIVIDUAL_EVENT before calling lio_listio_internal.
(__lio_listio_item_notify): New function.
* sysdeps/pthread/lio_listio64.c: Define __lio_listio_21 and
__lio_listio_item_notify macros.
* sysdeps/pthread/Versions: New file.
* rt/tst-aio2.c: Adjust test for new semantics of lio_listio.
* include/aio.h: Define LIO_NO_INDIVIDUAL_EVENT.
* Versions.def: Add GLIBC_2.4 for librt.

* rt/Versions: Whitespace fix.
* sysdeps/pthread/aio_misc.c: Likewise.

18 years ago* nscd/connections.c (nscd_init): Remove if block which should
Ulrich Drepper [Tue, 3 Jan 2006 21:29:11 +0000 (21:29 +0000)]
* nscd/connections.c (nscd_init): Remove if block which should

have been removed as part of the -S option removal.

18 years ago(nscd_init): Remove if block which should have been removed as part of the -S option...
Ulrich Drepper [Tue, 3 Jan 2006 21:26:28 +0000 (21:26 +0000)]
(nscd_init): Remove if block which should have been removed as part of the -S option removal.

18 years ago* scripts/check-local-headers.sh: Allow $includedir/c++.
Andreas Jaeger [Tue, 3 Jan 2006 19:00:59 +0000 (19:00 +0000)]
* scripts/check-local-headers.sh: Allow $includedir/c++.

2006-01-03  Andreas Jaeger  <aj@suse.de>

* scripts/check-local-headers.sh: Allow $includedir/c++.

18 years ago* posix/unistd.h (ctermid): Remove __nonnull attribute.
Ulrich Drepper [Tue, 3 Jan 2006 16:13:21 +0000 (16:13 +0000)]
* posix/unistd.h (ctermid): Remove __nonnull attribute.

18 years ago* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE, cvs/fedora-glibc-20060102T2114
Ulrich Drepper [Mon, 2 Jan 2006 20:57:43 +0000 (20:57 +0000)]
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PTR_MANGLE,

PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (PTR_MANGLE,
PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Define.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h [__WORDSIZE == 64]
(_JMPBUF_UNWINDS): Don't demangle uc_mcontext.mc_fp.
* sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Mangle %fp, %sp
and %o7.
* sysdeps/sparc/sparc32/__longjmp.S (__longjmp): Demangle %fp, %sp
and %o7.

2006-01-02  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PTR_MANGLE2):
Define.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PTR_MANGLE2):
Likewise.
* sysdeps/s390/s390-32/__longjmp.c (__longjmp): Demangle also %r15.
* sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
* sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Mangle also %r15.
* 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/s390/bits/setjmp.h (__jmp_buf): Add __s390_jmp_buf
struct tag to make C++ happy.

2006-01-02  Ulrich Drepper  <drepper@redhat.com>

* posix/Makefile ($(objpfx)annexc.out): Move -I.. to the end of
the include list.

18 years ago* posix/getconf.c: Update copyright year. cvs/fedora-glibc-20060102T1045
Ulrich Drepper [Sun, 1 Jan 2006 19:18:49 +0000 (19:18 +0000)]
* posix/getconf.c: Update copyright year.

* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.

* resolv/res_debug.c (latlon2ul): Use ISO C function definition.
(getanswer): Use ISO C function definition.

18 years agoUpdate copyright year.
Ulrich Drepper [Sun, 1 Jan 2006 19:15:56 +0000 (19:15 +0000)]
Update copyright year.

18 years ago[BZ #1395]
Andreas Jaeger [Sat, 31 Dec 2005 13:11:27 +0000 (13:11 +0000)]
[BZ #1395]

* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.
2005-12-31  Andreas Jaeger  <aj@suse.de>

[BZ #1395]
* manual/filesys.texi (Symbolic Links): Fix description of
canonicalize_file_name based on patch by Oskar Liljeblad
<oskar@osk.mine.nu>.

18 years ago* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.
Ulrich Drepper [Fri, 30 Dec 2005 22:47:37 +0000 (22:47 +0000)]
* resolv/res_debug.c (latlon2ul): Use ISO C function declaration.

(precsize_aton): Likewise.
(precsize_ntoa): Likewise.

* resolv/gethnamaddr.c (_gethtbyname): Remove extra prototype.
(gethostbyname2): Likewise.
(gethostbyaddr): Likewise.
(getanswer): Use ISO C function declaration.

18 years ago* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.
Ulrich Drepper [Fri, 30 Dec 2005 22:17:53 +0000 (22:17 +0000)]
* sysdeps/sh/sysdep.h: Add cfi instrumentation to asm fragments.

* sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
* sysdeps/sh/_mcount.S: Add cfi instrumentation.
* sysdeps/unix/sh/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/sh/makecontext.S: Adjust cfi_startproc.
* sysdeps/unix/sysv/linux/sh/sh4/getcontext.S: Remove now duplicate
cfi_startproc and cfi_endproc.
* sysdeps/unix/sysv/linux/sh/sh4/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
* sysdeps/unix/sysv/linux/sh/sysdep.S: Add cfi_endproc.

18 years ago* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard
Ulrich Drepper [Fri, 30 Dec 2005 21:04:04 +0000 (21:04 +0000)]
* sysdeps/powerpc/powerpc64/setjmp-common.S: Make sure pointer guard

value doesn't survive in a registers when the function returns.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.

2005-12-30  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
PTR_MANGLE2.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
PTR_MANGLE2 and PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Use PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Use PTR_MANGLE2.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.

2005-12-30  Ulrich Drepper  <drepper@redhat.com>

18 years ago* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):
Ulrich Drepper [Fri, 30 Dec 2005 18:29:30 +0000 (18:29 +0000)]
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h (_JMPBUF_UNWINDS):

Don't use _demangle parameter for now.

18 years ago[BZ #2080]
Ulrich Drepper [Fri, 30 Dec 2005 18:09:21 +0000 (18:09 +0000)]
[BZ #2080]

* libio/iogetwline.c (_IO_getwline_info): Move return to correct
location.

18 years ago* nscd/connections.c: Remove last remnants of -S option support.
Ulrich Drepper [Fri, 30 Dec 2005 16:53:24 +0000 (16:53 +0000)]
* nscd/connections.c: Remove last remnants of -S option support.

* nscd/nscd.c: Likewise.
* nscd/nscd.h: Likewise.

18 years agoRemove last remnants of -S option support.
Ulrich Drepper [Fri, 30 Dec 2005 16:51:19 +0000 (16:51 +0000)]
Remove last remnants of -S option support.

18 years ago[BZ #1067]
Andreas Jaeger [Fri, 30 Dec 2005 09:28:00 +0000 (09:28 +0000)]
[BZ #1067]

2005-12-30  Andreas Jaeger  <aj@suse.de>
[BZ #1067]
* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.

18 years ago[BZ #1067]
Andreas Jaeger [Fri, 30 Dec 2005 09:27:42 +0000 (09:27 +0000)]
[BZ #1067]

* sysdeps/unix/sysv/linux/mips/bits/socket.h: Fix struct msghdr
for 64-bit mips kernel.

18 years ago2005-12-08 Steven Munroe <sjmunroe@us.ibm.com>
Ulrich Drepper [Fri, 30 Dec 2005 07:32:48 +0000 (07:32 +0000)]
2005-12-08  Steven Munroe  <sjmunroe@us.ibm.com>

            Tom Gall <tom_gall@vnet.ibm.com>

* elf/rtld.c (dl_main): Initialize l_local_scope for sysinfo_map.
* sysdeps/powerpc/elf/libc-start.c: Move this...
* sysdeps/unix/sysv/linux/powerpc/libc-start.c: ...to here.
* sysdeps/powerpc/powerpc32/dl-start.S: Add _dl_main_dispatch label.
* sysdeps/powerpc/powerpc32/hp-timing.h: New file.
* sysdeps/unix/sysv/linux/powerpc/Versions: New file.
* sysdeps/unix/sysv/linux/clock_getres.c: If HAVE_CLOCK_GETRES_VSYSCALL
is not defined, redefine INTERNAL_VSYSCALL and INLINE_VSYSCALL to
INTERNAL_SYSCALL and INLINE_SYSCALL respectively.  Otherwise include
<bits/libc-vdso.h>.  Use INLINE_VSYSCALL and INTERNAL_SYSCALL instead
of the normal versions throughout the code.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise if
HAVE_CLOCK_GETTIME_VSYSCALL is defined.
* sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-vdso.c: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-vdso.h: New file.
* sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use vDSO.
* sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: New file.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Add dl-vdso to routines.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
INLINE_VSYSCALL, INTERNAL_VSYSCALL, INTERNAL_SYSCALL_NCS,
INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK, HAVE_CLOCK_GETRES_VSYSCALL,
and HAVE_CLOCK_GETTIME_VSYSCALL.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.

18 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:
Ulrich Drepper [Thu, 29 Dec 2005 22:03:36 +0000 (22:03 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h [ASSEMBLER]:

Define PTR_DEMANGLE2.
* sysdeps/powerpc/powerpc32/setjmp-common.S [PTR_MANGLE]: Also
mangle r1.
* sysdeps/powerpc/powerpc32/__longjmp-common.S [PTR_DEMANGLE]: Also
demangle r1.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [PTR_MANGLE]: Mangle
r0 and r1.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [PTR_DEMANGLE]:
Demangle r0 and r1.

18 years ago* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also
Ulrich Drepper [Thu, 29 Dec 2005 21:16:24 +0000 (21:16 +0000)]
* sysdeps/powerpc/powerpc64/setjmp-common.S [PTR_MANGLE]: Also

mangle r1.
* sysdeps/powerpc/powerpc64/__longjmp-common.S [PTR_DEMANGLE]: Also
demangle  r1.

18 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:
Ulrich Drepper [Thu, 29 Dec 2005 21:10:34 +0000 (21:10 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S:

Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S:
Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S:
Move common function to...
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym
(_FRAME_BACKCHAIN, _FRAME_LR_SAVE, _FRAME_PARM_SAVE1,
_FRAME_PARM_SAVE2, _FRAME_PARM_SAVE3, _FRAME_PARM_SAVE4):
Remove unrelated stack frame defines.

18 years ago* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
Ulrich Drepper [Thu, 29 Dec 2005 18:00:11 +0000 (18:00 +0000)]
* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):

Defining as macro as before the last change.

18 years ago* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
Ulrich Drepper [Thu, 29 Dec 2005 16:34:57 +0000 (16:34 +0000)]
* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,

include the named file.
* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.

18 years agoNot needed anymore.
Ulrich Drepper [Thu, 29 Dec 2005 16:26:17 +0000 (16:26 +0000)]
Not needed anymore.

18 years ago* sysdeps/mach/hurd/errno.c: New file.
Roland McGrath [Thu, 29 Dec 2005 10:51:20 +0000 (10:51 +0000)]
* sysdeps/mach/hurd/errno.c: New file.

* sysdeps/mach/hurd/ioctl.c (__ioctl): Use a union to avoid a cast.

18 years ago* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.
Roland McGrath [Thu, 29 Dec 2005 10:38:16 +0000 (10:38 +0000)]
* sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.

* hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast.
* hurd/report-wait.c (_S_msg_report_wait): Likewise.

* include/sys/xattr.h: New file.

18 years ago2005-12-29 Roland McGrath <roland@frob.com>
Roland McGrath [Thu, 29 Dec 2005 10:38:08 +0000 (10:38 +0000)]
2005-12-29  Roland McGrath  <roland@frob.com>

* include/sys/xattr.h: New file.

18 years ago* nscd/selinux.c (log_callback): Use audit_log_user_avc_message.
Ulrich Drepper [Thu, 29 Dec 2005 01:09:00 +0000 (01:09 +0000)]
* nscd/selinux.c (log_callback): Use audit_log_user_avc_message.

Don't do anything if audit_fd is invalid.
(audit_init): Don't complain if kernel support is missing.
Patch by Steve Grubb <sgrubb@redhat.com>.

18 years ago* Makefile (tests): Add tst-signal7.
Ulrich Drepper [Wed, 28 Dec 2005 20:50:14 +0000 (20:50 +0000)]
* Makefile (tests): Add tst-signal7.

* tst-signal7.c: New file.

18 years ago(tests): Add tst-signal7.
Ulrich Drepper [Wed, 28 Dec 2005 20:48:24 +0000 (20:48 +0000)]
(tests): Add tst-signal7.

18 years ago* hurd/sigunwind.c: Include <stdint.h>.
Roland McGrath [Wed, 28 Dec 2005 20:40:09 +0000 (20:40 +0000)]
* hurd/sigunwind.c: Include <stdint.h>.

* sysdeps/mach/hurd/jmp-unwind.c: Likewise.

18 years ago2005-12-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 Dec 2005 20:40:03 +0000 (20:40 +0000)]
2005-12-28  Roland McGrath  <roland@redhat.com>

* hurd/sigunwind.c: Include <stdint.h>.
* sysdeps/mach/hurd/jmp-unwind.c: Likewise.

18 years ago* sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack
Ulrich Drepper [Wed, 28 Dec 2005 19:13:20 +0000 (19:13 +0000)]
* sysdeps/i386/__longjmp.S [PTR_DEMANGLE]: Also demangle stack

pointer.  Add CFI.
* sysdeps/i386/bsd-_setjmp.S [PTR_MANGLE]: Also mangle stack pointer.
* sysdeps/i386/bsd-setjmp.S: Likewise.
* sysdeps/i386/setjmp.S: Likewise.

18 years ago* sysdeps/x86_64/__longjmp.S: No need to make sure return value is
Ulrich Drepper [Wed, 28 Dec 2005 16:49:48 +0000 (16:49 +0000)]
* sysdeps/x86_64/__longjmp.S: No need to make sure return value is

!= 0, the caller did that.

18 years ago* sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading
Ulrich Drepper [Wed, 28 Dec 2005 16:37:29 +0000 (16:37 +0000)]
* sysdeps/x86_64/__longjmp.S: Don't confuse unwinder by loading

mangled values in %rbp and %rsp registers and by wrong cfi.

18 years agoDon't confuse unwinder by loading mangled values in %rbp and %rsp registers and by...
Ulrich Drepper [Wed, 28 Dec 2005 16:35:33 +0000 (16:35 +0000)]
Don't confuse unwinder by loading mangled values in %rbp and %rsp registers and by wrong cfi.

18 years ago* config.make.in (c++-sysincludes): New substituted variable.
Roland McGrath [Wed, 28 Dec 2005 06:53:43 +0000 (06:53 +0000)]
* config.make.in (c++-sysincludes): New substituted variable.

* configure.in (CXX_SYSINCLUDES): New substituted variable.
* configure: Regenerated.
* Makeconfig (CXXFLAGS): Prepend $(c++-sysincludes) here.

18 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
Roland McGrath [Wed, 28 Dec 2005 05:42:30 +0000 (05:42 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h

(PTR_MANGLE): Fix cast.

* sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument
DEMANGLE, and pass SP value through it.
* sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise.
* sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise.
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline
demangler function to _JMPBUF_UNWINDS.
* sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function.
(_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.

18 years ago* posix/tst-execle1.c (do_test): Add a const.
Roland McGrath [Tue, 27 Dec 2005 22:50:12 +0000 (22:50 +0000)]
* posix/tst-execle1.c (do_test): Add a const.

* posix/tst-execle2.c (do_test): Likewise.

* posix/transbug.c (run_test): Add some casts.
* posix/bug-regex22.c (main): Likewise.
* posix/bug-regex5.c (main): Likewise.
* wcsmbs/tst-mbsrtowcs.c (main): Likewise.
* string/test-strspn.c (do_test, do_random_tests): Likewise.
* string/test-strrchr.c (do_test, do_random_tests): Likewise.
* string/test-strlen.c (do_random_tests): Likewise.
* string/test-strpbrk.c (do_test, do_random_tests): Likewise.
* string/test-strcmp.c (do_random_tests): Likewise.
* string/test-strchr.c (do_test, do_random_tests): Likewise.
* string/test-strcat.c (do_test, do_random_tests): Likewise.
* string/test-strncpy.c (do_random_tests): Likewise.
* string/test-strcpy.c (do_test, do_random_tests): Likewise.
* string/test-memccpy.c (do_test): Likewise.
* string/test-memmove.c (do_test, do_random_tests): Likewise.
* string/test-memcpy.c (do_test, do_random_tests): Likewise.
* string/test-memcmp.c (do_test, do_random_tests): Likewise.
* string/test-memchr.c (do_test, do_random_tests): Likewise.
* dlfcn/bug-atexit1.c (do_test): Fix up prototype in cast.
* stdio-common/tst-fgets.c (do_test): Add a cast.
* iconvdata/bug-iconv4.c (xiconv): Add a cast.

* locale/programs/simple-hash.c (insert_entry_2): Remove useless casts.

* resolv/herror.c (herror): Remove unused extern decl.

* libio/obprintf.c: Include "strfile.h".

* elf/order2mod2.c (init): Cast ignored value to void.

* stdio-common/tstdiomisc.c: If FLT_EVAL_METHOD is 2, use long

18 years ago2005-12-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 27 Dec 2005 22:49:45 +0000 (22:49 +0000)]
2005-12-27  Roland McGrath  <roland@redhat.com>

* posix/tst-execle1.c (do_test): Add a const.
* posix/tst-execle2.c (do_test): Likewise.

18 years ago* elf/tst-tls13.c (do_test): Avoid using the library path when
Ulrich Drepper [Tue, 27 Dec 2005 22:29:27 +0000 (22:29 +0000)]
* elf/tst-tls13.c (do_test): Avoid using the library path when

looking for tst-tlsmod13a.so.

18 years ago* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
Ulrich Drepper [Tue, 27 Dec 2005 21:45:22 +0000 (21:45 +0000)]
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long

double math to generate NaN results.

18 years ago* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD
Ulrich Drepper [Tue, 27 Dec 2005 15:27:09 +0000 (15:27 +0000)]
* sysdeps/unix/sysv/linux/sparc/bits/errno.h: Define EOWNERDEAD

and ENOTRECOVERABLE if not already defined.
* sysdeps/unix/sysv/linux/alpha/bits/errno.h: Likewise.

2005-12-27  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/alpha/Versions: Add new errlist-compat
entry for up to 138 errnos.

18 years ago* iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct
Ulrich Drepper [Tue, 27 Dec 2005 15:06:33 +0000 (15:06 +0000)]
* iconv/gconv_trans.c (__gconv_transliterate): Demangle step __fct

before calling it.

2005-12-27  David S. Miller  <davem@sunset.davemloft.net>

* sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
entry for up to 134 errnos.

18 years ago* Versions.def: Add GLIBC_2.4 for libpthread. cvs/fedora-glibc-20051227T1426
Ulrich Drepper [Tue, 27 Dec 2005 01:04:06 +0000 (01:04 +0000)]
* Versions.def: Add GLIBC_2.4 for libpthread.

18 years ago* stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so
Ulrich Drepper [Sun, 25 Dec 2005 19:19:20 +0000 (19:19 +0000)]
* stdlib/Makefile ($(objpfx)isomac.out): Move -I.. to the end so

that $(..)/bits is not found early.

18 years ago* manual/errno.texi: Add new Linux errno codes.
Ulrich Drepper [Sat, 24 Dec 2005 21:12:00 +0000 (21:12 +0000)]
* manual/errno.texi: Add new Linux errno codes.

* sysdeps/unix/sysv/linux/Versions: Add new errlist-compat entry
for up to 132 errnos.

18 years ago* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and
Ulrich Drepper [Sat, 24 Dec 2005 20:07:27 +0000 (20:07 +0000)]
* sysdeps/unix/sysv/linux/bits/errno.h: Define EOWNERDEAD and

ENOTRECOVERABLE if not already defined.

18 years ago* pthread_mutex_destroy.c: Set mutex type to an invalid value.
Ulrich Drepper [Fri, 23 Dec 2005 23:49:41 +0000 (23:49 +0000)]
* pthread_mutex_destroy.c: Set mutex type to an invalid value.

* pthread_mutex_lock.c: Return EINVAL for invalid mutex type.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.

18 years ago[BZ #1566]
Ulrich Drepper [Fri, 23 Dec 2005 15:29:25 +0000 (15:29 +0000)]
[BZ #1566]

2005-12-23  Ulrich Drepper  <drepper@redhat.com>
[BZ #1566]
* sysdeps/i386/i586/memusage.h: New file.
* sysdeps/i386/memusage.h: Don't define GETTIME.

18 years agoi586 definitions for memusage.
Ulrich Drepper [Fri, 23 Dec 2005 15:26:46 +0000 (15:26 +0000)]
i586 definitions for memusage.

18 years ago* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
Roland McGrath [Fri, 23 Dec 2005 05:09:31 +0000 (05:09 +0000)]
* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,

so that #include_next's search location is not reset to the -I..
directory where <nptl/...> can be found.

18 years ago2005-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 23 Dec 2005 05:09:01 +0000 (05:09 +0000)]
2005-12-22  Roland McGrath  <roland@redhat.com>

* sysdeps/pthread/sigaction.c: Use "" instead of <> to include self,
so that #include_next's search location is not reset to the -I..
directory where <nptl/...> can be found.

18 years ago[BZ #1499]
Ulrich Drepper [Fri, 23 Dec 2005 04:38:20 +0000 (04:38 +0000)]
[BZ #1499]

* misc/syslog.c (SyslogAddr): Use sockaddr_un instead of sockaddr.
(openlog_internal): Adjust for this change.

18 years ago* Makeconfig: Define CXXFLAGS. Split out warnings from +gccwarn which
Ulrich Drepper [Fri, 23 Dec 2005 01:55:26 +0000 (01:55 +0000)]
* Makeconfig: Define CXXFLAGS.  Split out warnings from +gccwarn which

are not understood by the C++ compiler.
* Makerules: Add rules to build C++ code for test cases.
* include/stdlib.h: Protect for inclusion in C++ code.
* include/time.h: Likewise.

* test-skeleton.c (timeout_handler): Rewrite ts initialization for
C++ compatibility.

18 years ago(timeout_handler): Rewrite ts initialization for C++.
Ulrich Drepper [Fri, 23 Dec 2005 01:03:28 +0000 (01:03 +0000)]
(timeout_handler): Rewrite ts initialization for C++.

18 years ago* Makerules [gen-as-const-headers] (tests): Add one test per .sym
Roland McGrath [Thu, 22 Dec 2005 23:40:22 +0000 (23:40 +0000)]
* Makerules [gen-as-const-headers] (tests): Add one test per .sym

file, not just one.
($(objpfx)test-as-const.c): Target replaced with ...
($(objpfx)test-as-const-%.c): ... this pattern rule.
(generated): Add those files.

18 years ago2005-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 22 Dec 2005 23:38:16 +0000 (23:38 +0000)]
2005-12-22  Roland McGrath  <roland@redhat.com>

* Makerules [gen-as-const-headers] (tests): Add one test per .sym
file, not just one.
($(objpfx)test-as-const.c): Target replaced with ...
($(objpfx)test-as-const-%.c): ... this pattern rule.
(generated): Add those files.

18 years ago* sysdeps/x86_64/__longjmp.S: Also protect SP and BP.
Ulrich Drepper [Thu, 22 Dec 2005 18:21:44 +0000 (18:21 +0000)]
* sysdeps/x86_64/__longjmp.S: Also protect SP and BP.

* sysdeps/x86_64/setjmp.S: Likewise.

18 years agoAlso protect SP and BP.
Ulrich Drepper [Thu, 22 Dec 2005 17:44:18 +0000 (17:44 +0000)]
Also protect SP and BP.

18 years agoTypo fix.
Roland McGrath [Thu, 22 Dec 2005 11:31:24 +0000 (11:31 +0000)]
Typo fix.

18 years ago* sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.
Roland McGrath [Thu, 22 Dec 2005 05:18:34 +0000 (05:18 +0000)]
* sysdeps/unix/sysv/linux/i386/ucontext_i.h: File removed.

* sysdeps/unix/sysv/linux/i386/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/s390/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.h: File removed.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: New file.
* sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = stdlib]:
(gen-as-const-headers): Add it.
* sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
* sysdeps/unix/sysv/linux/x86_64/Makefile: Likewise.
* stdlib/tst-ucontext-off.c: File removed.
* stdlib/Makefile (tests): Remove it.

* scripts/gen-as-const.awk: Support generating a test program.
* Makerules [gen-as-const-headers] (tests): Add test-as-const.
[gen-as-const-headers] ($(objpfx)test-as-const.c): New target.

18 years ago2005-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 22 Dec 2005 03:12:10 +0000 (03:12 +0000)]
2005-12-21  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/bits: Subdirectory and all files moved to ...
* bits: ... here, new subdirectory.
* Makeconfig (+includes): Reordered includes to put build and sysdeps
dirs first after $(..)include, $(sysincludes) last.
* sysdeps/generic/bits: Subdirectory and all files moved to ...
* bits: ... here, new subdirectory.
* Makeconfig (+includes): Reordered includes to put build and sysdeps
dirs first after $(..)include, $(sysincludes) last.

18 years ago[BZ #2066]
Roland McGrath [Thu, 22 Dec 2005 01:03:50 +0000 (01:03 +0000)]
[BZ #2066]

2005-12-21  Roland McGrath  <roland@redhat.com>
[BZ #2066]
* intl/l10nflist.c (_nl_make_l10nflist): Free ABS_FILENAME when later
malloc fails.

18 years ago* sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
Roland McGrath [Thu, 22 Dec 2005 00:56:10 +0000 (00:56 +0000)]
* sysdeps/powerpc/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.

18 years ago* sysdeps/mach/hurd/ifreq.c: Add missing #includes.
Roland McGrath [Wed, 21 Dec 2005 22:54:00 +0000 (22:54 +0000)]
* sysdeps/mach/hurd/ifreq.c: Add missing #includes.

18 years ago* elf/cache.c: Use <> rather than "" #includes.
Roland McGrath [Wed, 21 Dec 2005 22:16:34 +0000 (22:16 +0000)]
* elf/cache.c: Use <> rather than "" #includes.

* elf/chroot_canon.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/readlib.c: Likewise.
* elf/rtld.c: Likewise.
* gmon/mcount.c: Likewise.
* hurd/hurdfault.c: Likewise.
* hurd/hurdsig.c: Likewise.
* hurd/report-wait.c: Likewise.
* hurd/sigunwind.c: Likewise.
* mach/setup-thread.c: Likewise.
* rt/aio_read64.c: Likewise.
* rt/aio_sigqueue.c: Likewise.
* rt/aio_write64.c: Likewise.
* soft-fp/soft-fp.h: Likewise.
* stdio-common/tmpfile64.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/hppa/trampoline.c: Likewise.
* sysdeps/mach/hurd/i386/trampoline.c: Likewise.
* sysdeps/mach/hurd/mips/trampoline.c: Likewise.
* sysdeps/mach/hurd/powerpc/trampoline.c: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/pthread/aio_cancel.c: Likewise.
* sysdeps/pthread/aio_fsync.c: Likewise.
* sysdeps/pthread/aio_read64.c: Likewise.
* sysdeps/pthread/aio_read.c: Likewise.
* sysdeps/pthread/aio_suspend.c: Likewise.
* sysdeps/pthread/aio_write64.c: Likewise.
* sysdeps/pthread/aio_write.c: Likewise.
* sysdeps/pthread/lio_listio64.c: Likewise.
* sysdeps/pthread/lio_listio.c: Likewise.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
* sysdeps/unix/sysv/tcflow.c: Likewise.

18 years ago* sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.
Roland McGrath [Wed, 21 Dec 2005 21:36:24 +0000 (21:36 +0000)]
* sysdeps/generic/unwind-dw2.c (extract_cie_info): Add a cast.

* elf/dl-error.c (_dl_signal_error): Use .__jmpbuf in __longjmp call.

18 years ago* csu/dso_handle.c (__dso_handle): Add const to pointer type too.
Roland McGrath [Wed, 21 Dec 2005 21:21:50 +0000 (21:21 +0000)]
* csu/dso_handle.c (__dso_handle): Add const to pointer type too.

18 years ago2005-12-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Dec 2005 21:21:43 +0000 (21:21 +0000)]
2005-12-21  Roland McGrath  <roland@redhat.com>

* csu/dso_handle.c (__dso_handle): Add const to pointer type too.

18 years ago* iconv/gconv_conf.c: Initialize empty_path_elem.
Ulrich Drepper [Wed, 21 Dec 2005 19:33:05 +0000 (19:33 +0000)]
* iconv/gconv_conf.c: Initialize empty_path_elem.

18 years ago* sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.
Ulrich Drepper [Wed, 21 Dec 2005 19:12:22 +0000 (19:12 +0000)]
* sysdeps/ieee754/dbl-64/halfulp.c: Mark tab54 as static and const.

* sysdeps/i386/fpu/e_expl.c: Mark c0 and c1 as const.
* sysdeps/ieee754/flt-32/s_expm1f.c: Make sure huge and tiny end
up in .rodata.
* sysdeps/ieee754/flt-32/e_exp2f.c: Make sure TWO127 and TWOM100
end up in .rodata.
* sysdeps/ieee754/flt-32/e_expf.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp2.c: Make sure TWO1023 and TWOM1000
end up in .rodata.

18 years ago* elf/readlib.c: Fix include of readelflib.c.
Ulrich Drepper [Wed, 21 Dec 2005 15:31:50 +0000 (15:31 +0000)]
* elf/readlib.c: Fix include of readelflib.c.

18 years ago[BZ #1962] cvs/fedora-glibc-20051221T0931
Ulrich Drepper [Wed, 21 Dec 2005 08:34:35 +0000 (08:34 +0000)]
[BZ #1962]

* io/fts.c (fts_open): Change type of len to size_t.
(fts_build): Remove cast in call to fts_alloc.
(fts_alloc): Change third parameter's type to size_t.

18 years ago[BZ #1960]
Ulrich Drepper [Wed, 21 Dec 2005 08:24:13 +0000 (08:24 +0000)]
[BZ #1960]

2005-12-21  Ulrich Drepper  <drepper@redhat.com>
[BZ #1960]
* io/fts.c (fts_open): Avoid function call in MAX macro use.

18 years ago* locale/xlocale.c (_nl_C_locobj): Mark as const.
Ulrich Drepper [Wed, 21 Dec 2005 07:28:33 +0000 (07:28 +0000)]
* locale/xlocale.c (_nl_C_locobj): Mark as const.

* 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.

18 years ago* csu/dso_handle.c (__dso_handle): Mark as const.
Ulrich Drepper [Wed, 21 Dec 2005 04:27:56 +0000 (04:27 +0000)]
* csu/dso_handle.c (__dso_handle): Mark as const.

18 years ago* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.
Ulrich Drepper [Wed, 21 Dec 2005 04:23:34 +0000 (04:23 +0000)]
* intl/plural-exp.c (GERMANIC_PLURAL): Mark as const.

* intl/plural-exp.h: Adjust declaration of
__gettext_germanic_plural.

18 years ago* resolv/herror.c (h_errlist): Mark as const.
Ulrich Drepper [Wed, 21 Dec 2005 04:07:21 +0000 (04:07 +0000)]
* resolv/herror.c (h_errlist): Mark as const.

(h_nerr): Likewise.

18 years ago* sunrpc/clnt_unix.c (unix_ops): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 22:56:06 +0000 (22:56 +0000)]
* sunrpc/clnt_unix.c (unix_ops): Mark as const.

* 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.

18 years ago(client_ops): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 22:00:50 +0000 (22:00 +0000)]
(client_ops): Mark as const.

18 years ago[BZ #2061]
Roland McGrath [Tue, 20 Dec 2005 21:57:53 +0000 (21:57 +0000)]
[BZ #2061]

2005-12-15  Thomas Schwinge  <tschwinge@gnu.org>
[BZ #2061]
* sysdeps/mach/hurd/xmknod.c (__xmknod): Handle S_IFREG.

18 years ago* sysdeps/unix/sysv/linux/ifreq.h: File removed.
Roland McGrath [Tue, 20 Dec 2005 21:53:22 +0000 (21:53 +0000)]
* sysdeps/unix/sysv/linux/ifreq.h: File removed.

* 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.

18 years ago2005-12-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 20 Dec 2005 21:52:56 +0000 (21:52 +0000)]
2005-12-20  Roland McGrath  <roland@redhat.com>

* sysdeps/mach/hurd/ifreq.h: File removed.
(__ifreq): Function moved to ...
* sysdeps/mach/hurd/ifreq.c: ... here, new file.

18 years ago* sunrpc/auth_unix.c (auth_unix_ops): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 19:25:53 +0000 (19:25 +0000)]
* sunrpc/auth_unix.c (auth_unix_ops): Mark as const.

* sunrpc/auth_none.c (ops): Likewise.

18 years ago* sunrpc/auth_none.c (ops): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 19:00:19 +0000 (19:00 +0000)]
* sunrpc/auth_none.c (ops): Mark as const.

* nss/nsswitch.c (databases): Mark as const.  Change name field
into array.
* nss/databases.def: Add warning.

18 years ago* resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
Ulrich Drepper [Tue, 20 Dec 2005 18:35:45 +0000 (18:35 +0000)]
* resolv/res_hconf.c (arg_service_list): Reduce size of svcs and

mark const.
(cmd): Mark as const.

18 years ago* resolv/res_hconf.c (cmd): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 18:25:49 +0000 (18:25 +0000)]
* resolv/res_hconf.c (cmd): Mark as const.

(parse_line): Mark c as pointer to const.

18 years ago* misc/getusershell.c (initshells): Remove unnecessary tests.
Ulrich Drepper [Tue, 20 Dec 2005 18:18:28 +0000 (18:18 +0000)]
* misc/getusershell.c (initshells): Remove unnecessary tests.

(endusershell): Likewise.
(okshells): Mark as const.

18 years ago* sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.
Ulrich Drepper [Tue, 20 Dec 2005 17:53:00 +0000 (17:53 +0000)]
* sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations.

* sysdeps/posix/gai_strerror-strs.h: New file.
* sysdeps/posix/Dist: New file.

18 years ago* sysdeps/posix/getaddrinfo.c (gaih): Mark as const. cvs/fedora-glibc-20051220T1751
Ulrich Drepper [Tue, 20 Dec 2005 16:51:14 +0000 (16:51 +0000)]
* sysdeps/posix/getaddrinfo.c (gaih): Mark as const.

* locale/loadlocale.c (_nl_value_types): Likewise.

18 years ago* locale/loadlocale.c (_nl_value_types): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 16:35:25 +0000 (16:35 +0000)]
* locale/loadlocale.c (_nl_value_types): Mark as const.

* iconv/gconv_conf.c (builtin_aliases): Likewise.