platform/upstream/linaro-glibc.git
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]
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.
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.

18 years ago* iconv/gconv_conf.c (builtin_aliases): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 16:14:06 +0000 (16:14 +0000)]
* iconv/gconv_conf.c (builtin_aliases): Mark as const.

* iconv/gconv_open.c (internal_trans_names): Likewise.

18 years ago* iconv/gconv_open.c (internal_trans_names): Mark as const.
Ulrich Drepper [Tue, 20 Dec 2005 15:54:40 +0000 (15:54 +0000)]
* iconv/gconv_open.c (internal_trans_names): Mark as const.

18 years ago* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.
Ulrich Drepper [Tue, 20 Dec 2005 15:28:51 +0000 (15:28 +0000)]
* sysdeps/unix/sysv/linux/sh/sysdep.h: Include tls.h.

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

18 years ago* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.
Ulrich Drepper [Tue, 20 Dec 2005 15:11:40 +0000 (15:11 +0000)]
* sysdeps/ia64/fpu/libm-test-ulps: Update for GCC 4.1 prerelease.

* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
use sysdeps/unix/time.c implementation.

18 years ago[BZ #1952, BZ #1955]
Ulrich Drepper [Tue, 20 Dec 2005 07:57:16 +0000 (07:57 +0000)]
[BZ #1952, BZ #1955]

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>

18 years agotime implementation for Linux.
Ulrich Drepper [Tue, 20 Dec 2005 07:49:43 +0000 (07:49 +0000)]
time implementation for Linux.

18 years ago2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
Roland McGrath [Tue, 20 Dec 2005 07:31:21 +0000 (07:31 +0000)]
2005-12-15  Thomas Schwinge <tschwinge@gnu.org>

* io/xmknodat.c: Include <stddef.h>.
* misc/futimesat.c: Remove weak_alias and correct stub_warning.
* stdio-common/renameat.c (renameat): Fix typo.

18 years ago2005-12-15 Thomas Schwinge <tschwinge@gnu.org>
Roland McGrath [Tue, 20 Dec 2005 07:31:14 +0000 (07:31 +0000)]
2005-12-15  Thomas Schwinge <tschwinge@gnu.org>

* io/xmknodat.c: Include <stddef.h>.
* misc/futimesat.c: Remove weak_alias and correct stub_warning.
* stdio-common/renameat.c (renameat): Fix typo.

18 years ago[BZ #1978]
Ulrich Drepper [Tue, 20 Dec 2005 07:21:59 +0000 (07:21 +0000)]
[BZ #1978]

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.

18 years ago* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is
Ulrich Drepper [Tue, 20 Dec 2005 04:13:54 +0000 (04:13 +0000)]
* sysdeps/gnu/Makefile: Make sure the correct errlist.c file is

used when generating errlist-compat.c.

18 years ago* iconv/gconv.c: Demangle pointers before use if necessary.
Ulrich Drepper [Mon, 19 Dec 2005 07:26:29 +0000 (07:26 +0000)]
* iconv/gconv.c: Demangle pointers before use if necessary.

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

18 years ago* iconv/gconv_builtin.c (builtin_map): Change type of size
Ulrich Drepper [Mon, 19 Dec 2005 04:55:31 +0000 (04:55 +0000)]
* iconv/gconv_builtin.c (builtin_map): Change type of size

information fields to int8_t.

18 years ago* libio/libioP.h (__libio_codecvt): Adjust declaraction.
Ulrich Drepper [Mon, 19 Dec 2005 03:33:32 +0000 (03:33 +0000)]
* libio/libioP.h (__libio_codecvt): Adjust declaraction.

18 years ago* libio/iofwide.c (__libio_codecvt): Mark as const.
Ulrich Drepper [Mon, 19 Dec 2005 02:24:26 +0000 (02:24 +0000)]
* libio/iofwide.c (__libio_codecvt): Mark as const.

(__libio_translit): Likewise.

18 years ago* wcsmbs/wcsmbsload.c (to_wc): Mark as const.
Ulrich Drepper [Mon, 19 Dec 2005 00:25:58 +0000 (00:25 +0000)]
* wcsmbs/wcsmbsload.c (to_wc): Mark as const.

(to_mb): Likewise.

18 years ago(to_wc): Mark as const. (to_mb): Likewise.
Ulrich Drepper [Mon, 19 Dec 2005 00:24:49 +0000 (00:24 +0000)]
(to_wc): Mark as const. (to_mb): Likewise.

18 years ago * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.
Richard Henderson [Sun, 18 Dec 2005 22:47:08 +0000 (22:47 +0000)]
    * sysdeps/alpha/libc-tls.c: Fix directory on include of base file.

2005-12-18  Richard Henderson  <rth@redhat.com>

* sysdeps/alpha/libc-tls.c: Fix directory on include of base file.

18 years ago* iconv/gconv_builtin.c: Mark map with attribute_relro.
Ulrich Drepper [Sun, 18 Dec 2005 22:02:01 +0000 (22:02 +0000)]
* iconv/gconv_builtin.c: Mark map with attribute_relro.

18 years ago* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C
Ulrich Drepper [Sun, 18 Dec 2005 21:09:20 +0000 (21:09 +0000)]
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Define C

version for inside ld.so.

* elf/rtld.c (dl_main): Don't use hp timing code unless it's available.

18 years ago* sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid
Ulrich Drepper [Sun, 18 Dec 2005 18:36:38 +0000 (18:36 +0000)]
* sysdeps/powerpc/powerpc32/setjmp-common.S [IS_IN_rtld]: Avoid

call to __sigjmp_save.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.

18 years ago* stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer. Fill in
Ulrich Drepper [Sun, 18 Dec 2005 17:32:37 +0000 (17:32 +0000)]
* stdlib/cxa_atexit.c: Use PTR_MANGLE on function pointer.  Fill in

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.

18 years ago* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and
Ulrich Drepper [Sun, 18 Dec 2005 16:59:55 +0000 (16:59 +0000)]
* sysdeps/unix/sysv/linux/i386/sysdep.h: Define PTR_MANGLE and

PTR_DEMANGLE for C code in libc.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.

18 years ago* elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.
Ulrich Drepper [Sun, 18 Dec 2005 06:58:22 +0000 (06:58 +0000)]
* elf/Versions [GLIBC_PRIVATE]: Export __pointer_chk_guard if defined.

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

18 years ago* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of
Ulrich Drepper [Sat, 17 Dec 2005 23:26:28 +0000 (23:26 +0000)]
* elf/dl-error.c (_dl_catch_error): Use __sigsetgjmp instead of

setjmp.

18 years ago* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.
Ulrich Drepper [Sat, 17 Dec 2005 23:09:41 +0000 (23:09 +0000)]
* elf/dl-error.c (_dl_signal_error): Use __longjmp instead of longjmp.

* elf/dl-minimal.c (longjmp): Remove definition.

18 years ago* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.
Ulrich Drepper [Sat, 17 Dec 2005 22:48:36 +0000 (22:48 +0000)]
* sysdeps/x86_64/bsd-setjmp.S [PIC] (setjmp): Add missing jmp.

18 years ago* nscd/Makefile: Don't build nscd_nischeck.
Ulrich Drepper [Fri, 16 Dec 2005 04:07:00 +0000 (04:07 +0000)]
* nscd/Makefile: Don't build nscd_nischeck.

* nscd/nscd_nischeck.c: Removed.

18 years ago* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in
Ulrich Drepper [Fri, 16 Dec 2005 00:24:16 +0000 (00:24 +0000)]
* sysdeps/unix/sysv/linux/renameat.c: Move errno setting code in

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.

18 years agoMove errno setting code in separate function __atfct_seterrno_2.
Ulrich Drepper [Fri, 16 Dec 2005 00:13:45 +0000 (00:13 +0000)]
Move errno setting code in separate function __atfct_seterrno_2.

18 years ago[BZ #1997]
Roland McGrath [Thu, 15 Dec 2005 22:30:40 +0000 (22:30 +0000)]
[BZ #1997]

* manual/stdio.texi (String Streams): For open_memstream, elaborate a
little on malloc reference.

18 years ago* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
Roland McGrath [Thu, 15 Dec 2005 21:13:14 +0000 (21:13 +0000)]
* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.

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

18 years ago* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.
Roland McGrath [Thu, 15 Dec 2005 20:48:12 +0000 (20:48 +0000)]
* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.

18 years ago2005-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 15 Dec 2005 20:47:12 +0000 (20:47 +0000)]
2005-12-15  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/Makefile (inhibit-siglist): Removed.

18 years agoMoved to csu/errno-loc.c.
Ulrich Drepper [Wed, 14 Dec 2005 15:06:39 +0000 (15:06 +0000)]
Moved to csu/errno-loc.c.

18 years ago2005-12-13 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Wed, 14 Dec 2005 08:43:25 +0000 (08:43 +0000)]
2005-12-13  Ulrich Drepper  <drepper@redhat.com>

18 years agoUse "config.h" to refer to the local config.h file.
Ulrich Drepper [Wed, 14 Dec 2005 07:50:13 +0000 (07:50 +0000)]
Use "config.h" to refer to the local config.h file.

18 years ago* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.
Roland McGrath [Tue, 13 Dec 2005 20:55:23 +0000 (20:55 +0000)]
* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.

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

* sysdeps/generic/Makefile: Remove remaining bits/endian.h cruft.

18 years ago* sysdeps/generic/signame.c: Removed.
Ulrich Drepper [Tue, 13 Dec 2005 20:23:15 +0000 (20:23 +0000)]
* sysdeps/generic/signame.c: Removed.

* sysdeps/generic/signame.h: Removed.
* sysdeps/generic/configure.in: Removed.
* sysdeps/generic/Dist: Remove these files.

18 years ago* sysdeps/generic/det_endian.c: Removed.
Ulrich Drepper [Tue, 13 Dec 2005 17:10:24 +0000 (17:10 +0000)]
* sysdeps/generic/det_endian.c: Removed.

* sysdeps/generic/Makefile: Remove rule to build it.
* sysdeps/generic/Dist: Don't distribute it.

18 years agoRemove det_endian.c.
Ulrich Drepper [Tue, 13 Dec 2005 17:09:11 +0000 (17:09 +0000)]
Remove det_endian.c.

18 years ago* sysdeps/powerpc/dl-procinfo.c: New file.
Roland McGrath [Tue, 13 Dec 2005 09:26:19 +0000 (09:26 +0000)]
* sysdeps/powerpc/dl-procinfo.c: New file.

* sysdeps/powerpc/dl-procinfo.h: New file.

18 years ago* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size
Roland McGrath [Tue, 13 Dec 2005 07:32:26 +0000 (07:32 +0000)]
* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size

adjustments before choosing stack size.  Update minimum stack size
calculation to match allocate_stack change.

18 years ago2005-12-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 13 Dec 2005 07:32:19 +0000 (07:32 +0000)]
2005-12-12  Roland McGrath  <roland@redhat.com>

* init.c (__pthread_initialize_minimal_internal): Do __static_tls_size
adjustments before choosing stack size.  Update minimum stack size
calculation to match allocate_stack change.

18 years ago* allocatestack.c (allocate_stack): Don't demand that there is an
Ulrich Drepper [Tue, 13 Dec 2005 06:16:04 +0000 (06:16 +0000)]
* allocatestack.c (allocate_stack): Don't demand that there is an

additional full page available on the stack beside guard, TLS, the
minimum stack.

18 years ago* io/sys/stat.h: Add restrict to fstatat declarations.
Ulrich Drepper [Mon, 12 Dec 2005 21:45:40 +0000 (21:45 +0000)]
* io/sys/stat.h: Add restrict to fstatat declarations.

18 years ago* posix/regex_internal.h: Include <stdint.h> if available.
Ulrich Drepper [Sun, 11 Dec 2005 05:59:13 +0000 (05:59 +0000)]
* posix/regex_internal.h: Include <stdint.h> if available.

2005-12-06  Paolo Bonzini  <bonzini@gnu.org>

* posix/regex_internal.h (SIZE_MAX): Provide a default definition.

18 years ago* nis/nis_call.c (inetstr2int): Optimize.
Ulrich Drepper [Fri, 9 Dec 2005 06:48:51 +0000 (06:48 +0000)]
* nis/nis_call.c (inetstr2int): Optimize.

18 years ago* nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,
Ulrich Drepper [Thu, 8 Dec 2005 20:32:12 +0000 (20:32 +0000)]
* nis/nis_call.c (__nisbind_create): Remove __nisbind_destroy,

->clnt cannot be != NULL.
(__do_niscall): No need to use __nisbind_destroy, __nisbind_next
did it.
(__nisbind_connect): use_auth is already TRUE, otherwise we would
not be here.

* nis/nis_lookup.c (nis_lookup): Remove unnecessary
__nisbind_destroy calls.  __nisbind_next does all that.

18 years ago* nis/ypclnt.c (yp_update): Before trying default authentication,
Ulrich Drepper [Thu, 8 Dec 2005 15:42:25 +0000 (15:42 +0000)]
* nis/ypclnt.c (yp_update): Before trying default authentication,

free DES descriptor.

18 years ago* nis/nis_table.c (nis_list): Fix memory handling in error case.
Ulrich Drepper [Thu, 8 Dec 2005 04:12:07 +0000 (04:12 +0000)]
* nis/nis_table.c (nis_list): Fix memory handling in error case.

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

* nis/nis_table.c (nis_list): Remove have_tablepath, just use the
pointer value itself.

18 years ago* catgets/gencat.c: Use GPL, not LGPL.
Ulrich Drepper [Wed, 7 Dec 2005 05:49:17 +0000 (05:49 +0000)]
* catgets/gencat.c: Use GPL, not LGPL.

* elf/cache.c: Likewise.
* elf/chroot_canon.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/readlib.c: Likewise.
* iconv/dummy-repertoire.c: Likewise.
* iconv/iconv_charmap.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/3level.h: Likewise.
* locale/programs/charmap-dir.c: Likewise.
* locale/programs/charmap-dir.h: Likewise.
* locale/programs/charmap-kw.gperf: Likewise.
* locale/programs/charmap.c: Likewise.
* locale/programs/charmap.h: Likewise.
* locale/programs/config.h: Likewise.
* locale/programs/ld-address.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-identification.c: Likewise.
* locale/programs/ld-measurement.c: Likewise.
* locale/programs/ld-messages.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-name.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-paper.c: Likewise.
* locale/programs/ld-telephone.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* locale/programs/linereader.c: Likewise.
* locale/programs/linereader.h: Likewise.
* locale/programs/locale-spec.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* locale/programs/localedef.h: Likewise.
* locale/programs/locarchive.c: Likewise.
* locale/programs/locfile-kw.gperf: Likewise.
* locale/programs/locfile-token.h: Likewise.
* locale/programs/locfile.c: Likewise.
* locale/programs/locfile.h: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/repertoire.h: Likewise.
* locale/programs/simple-hash.c: Likewise.
* locale/programs/simple-hash.h: Likewise.
* locale/programs/xmalloc.c: Likewise.
* locale/programs/xstrdup.c: Likewise.
* malloc/memusagestat.c: Likewise.
* nscd/aicache.c: Likewise.
* nscd/cache.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/dbg_log.c: Likewise.
* nscd/gai.c: Likewise.
* nscd/getgrgid_r.c: Likewise.
* nscd/getgrnam_r.c: Likewise.
* nscd/gethstbyad_r.c: Likewise.
* nscd/gethstbynm2_r.c: Likewise.
* nscd/getpwnam_r.c: Likewise.
* nscd/getpwuid_r.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/initgrcache.c: Likewise.
* nscd/mem.c: Likewise.
* nscd/nscd.c: Likewise.
* nscd/nscd_conf.c: Likewise.
* nscd/pwdcache.c: Likewise.
* posix/getconf.c: Likewise.
* sysdeps/generic/nscd_setup_thread.c: Likewise.
* sysdeps/unix/sysv/linux/nscd_setup_thread.c: Likewise.

18 years ago* sunrpc/auth_des.c (authdes_pk_create): If conversation key
Ulrich Drepper [Wed, 7 Dec 2005 04:12:32 +0000 (04:12 +0000)]
* sunrpc/auth_des.c (authdes_pk_create): If conversation key

cannot be created, free memory.
Reported by rprasad@vmware.com.

18 years ago(authdes_pk_create): If conversation key cannot be created, free memory.
Ulrich Drepper [Wed, 7 Dec 2005 04:10:51 +0000 (04:10 +0000)]
(authdes_pk_create): If conversation key cannot be created, free memory.

18 years ago* sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor
Roland McGrath [Tue, 6 Dec 2005 01:38:34 +0000 (01:38 +0000)]
* sysdeps/hppa/bits/setjmp.h: Add _BITS_SETJMP_H preprocessor

protection and allow pthread.h to include bits/setjmp.h as well as
setjmp.h.
* sysdeps/m68k/bits/setjmp.h: Likewise.
* sysdeps/s390/bits/setjmp.h: Make sure only setjmp.h or pthread.h
are allow to include bits/setjmp.h.
* sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Cast rhs to match lhs
cast of address.
* sysdeps/sh/bits/setjmp.h: Likewise.

2005-11-12  Jim Meyering  <jim@meyering.net>

* sysdeps/unix/opendir.c (__alloc_dir): Declare STATP parameter
to be pointer to const.
* include/dirent.h: Update decl.

18 years ago* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
Roland McGrath [Tue, 6 Dec 2005 01:28:16 +0000 (01:28 +0000)]
* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.

18 years ago* hurd/hurdmalloc.c: Remove $ tag $ magic.
Roland McGrath [Tue, 6 Dec 2005 01:24:30 +0000 (01:24 +0000)]
* hurd/hurdmalloc.c: Remove $ tag $ magic.

* mach/err_kern.sub: Likewise.
* mach/err_server.sub: Likewise.
* mach/err_us.sub: Likewise.
* mach/error_compat.c: Likewise.
* mach/errorlib.h: Likewise.
* mach/errstring.c: Likewise.
* mach/mach/error.h: Likewise.
* mach/mach_error.c: Likewise.
* mach/mach_error.h: Likewise.
* mach/msg-destroy.c: Likewise.
* mach/msgserver.c: Likewise.
* sysdeps/mach/sys/reboot.h: Likewise.

18 years ago* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is
Roland McGrath [Tue, 6 Dec 2005 00:50:15 +0000 (00:50 +0000)]
* malloc/tst-mallocfork.c (do_test): Make sure sa_flags is

initialized.  Reported by John Reiser <jreiser@BitWagon.com>.

18 years ago* stdlib/longlong.h: Update from GCC.
Roland McGrath [Tue, 6 Dec 2005 00:48:30 +0000 (00:48 +0000)]
* stdlib/longlong.h: Update from GCC.

18 years ago* soft-fp/soft-fp.h: Include <stdlib.h>.
Roland McGrath [Tue, 6 Dec 2005 00:38:43 +0000 (00:38 +0000)]
* soft-fp/soft-fp.h: Include <stdlib.h>.

* soft-fp/floatdisf.c (__floatdisf): Return float.

18 years ago* sysdeps/unix/sysv/linux/kernel-features.h
Roland McGrath [Tue, 6 Dec 2005 00:35:22 +0000 (00:35 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h

(__ASSUME_POSIX_CPU_TIMERS): New macro, for 2.6.12 and later.

18 years ago* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.
Roland McGrath [Tue, 6 Dec 2005 00:15:06 +0000 (00:15 +0000)]
* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.

18 years ago2005-12-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 6 Dec 2005 00:15:01 +0000 (00:15 +0000)]
2005-12-05  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/dwarf2.h: Replace license text with glibc LGPL.

18 years ago(nis_list): One more reallocation optimization.
Ulrich Drepper [Sun, 4 Dec 2005 07:10:47 +0000 (07:10 +0000)]
(nis_list): One more reallocation optimization.

18 years ago* nis/nis_table.c (nis_list): Optimize freeing and reallocation of
Ulrich Drepper [Sun, 4 Dec 2005 06:27:06 +0000 (06:27 +0000)]
* nis/nis_table.c (nis_list): Optimize freeing and reallocation of

result record.

18 years ago* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):
Ulrich Drepper [Sat, 3 Dec 2005 22:36:14 +0000 (22:36 +0000)]
* nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyaddr_r):

Better sized buffers.  Correct error case handling.

18 years ago* nis/nis_error.c (nis_sperror_r): Let snprintf determine whether
Ulrich Drepper [Sat, 3 Dec 2005 22:15:54 +0000 (22:15 +0000)]
* nis/nis_error.c (nis_sperror_r): Let snprintf determine whether

there is an overflow.
* nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_setnetgrent):
Rewrite to use snprintf.
* nis/nss_nisplus/nisplus-publickey.c (_nss_nisplus_netname2user):
Likewise.

18 years ago* nis/nss_nisplus/nisplus-service.c: Fix locking to use
Ulrich Drepper [Sat, 3 Dec 2005 20:12:27 +0000 (20:12 +0000)]
* nis/nss_nisplus/nisplus-service.c: Fix locking to use

_nss_create_tablename.  Avoid unnecessary copying, remove
unnecessary variables, general cleanup.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise..
* nis/nss_nisplus/nisplus-network.c: Fix locking to use
_nss_create_tablename.  Avoid unnecessary copying, general cleanup.
* nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_getipnodebyname_r):
Removed.
Fix locking to use _nss_create_tablename.  Avoid unnecessary copying,
general cleanup.
* nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_getntohost_r):
Correctly construct request.
Fix locking to use _nss_create_tablename.  Avoid unnecessary copying,
general cleanup.
* nis/nss_nisplus/nisplus-alias.c: Fix locking to use
_nss_create_tablename.  Avoid unnecessary copying, general cleanup.

18 years ago* nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):
Ulrich Drepper [Sat, 3 Dec 2005 05:20:52 +0000 (05:20 +0000)]
* nis/nss_nisplus/nisplus-pwd.c (_nss_pwd_create_tablename):

Renamed from _nss_create_tablename.  Export from file (but not DSO).
(pwd_tablename_val): Renamed from tablename_val, mark hidden.
(pwd_tablename_len): Renamed from tablename_len, mark hidden.
Change all users.
* nis/nss_nisplus/nisplus-spwd.c (_nss_create_tablename): Removed.
Use _nss_pwd_create_tablename now.  Use pwd_tablename_val and
pwd_tablename_len.  Remove unnecessary variables, general cleanup.

* nis/nss_nisplus/nisplus-grp.c: Likewise.

18 years ago* nis/nss_nisplus/nisplus-pwd.c: Fix locking to use
Ulrich Drepper [Sat, 3 Dec 2005 04:44:36 +0000 (04:44 +0000)]
* nis/nss_nisplus/nisplus-pwd.c: Fix locking to use

_nss_create_tablename.  Avoid unnecessary copying, remove
unnecessary variables, general cleanup.

18 years ago* io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
Ulrich Drepper [Fri, 2 Dec 2005 21:55:54 +0000 (21:55 +0000)]
* io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.

(static-only-routines): Add mknodat.
* io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
* io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
Define mknodat inline function.
* include/sys/stat.h: Add hidden proto for __xmknodat.
* sysdeps/generic/mkdirat.c: New file.
* sysdeps/generic/mkfifoat.c: New file.
* sysdeps/generic/mknodat.c: New file.
* sysdeps/generic/xmknodat.c: New file.
* sysdeps/unix/mkfifoat.c: New file.
* sysdeps/unix/sysv/linux/mkdirat.c: New file.
* sysdeps/unix/sysv/linux/xmknodat.c: New file.

* sysdeps/generic/xmknod.c: Add one more parameter check.

18 years agoAdd one more parameter check.
Ulrich Drepper [Fri, 2 Dec 2005 21:41:00 +0000 (21:41 +0000)]
Add one more parameter check.

18 years ago(MREMAP_FIXED): Added. Patch by René Rebe <rene@exactcode.de>.
Andreas Jaeger [Mon, 28 Nov 2005 08:25:55 +0000 (08:25 +0000)]
(MREMAP_FIXED): Added. Patch by René Rebe <rene@exactcode.de>.

2005-11-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/mips/bits/mman.h (MREMAP_FIXED): Added,
Patch by René Rebe <rene@exactcode.de>.

18 years ago* sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are
Ulrich Drepper [Sun, 27 Nov 2005 23:13:21 +0000 (23:13 +0000)]
* sysdeps/posix/getaddrinfo.c: Avoid RFC 3484 sorting if there are

multiple return records but only one address.

18 years ago* sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.
Ulrich Drepper [Sun, 27 Nov 2005 22:59:43 +0000 (22:59 +0000)]
* sysdeps/posix/getaddrinfo.c (gaih_inet): Avoid some code duplication.