Ulrich Drepper
d36ad87147
* 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.
2009-01-02 08:47:18 +00:00
Ulrich Drepper
25df09ab4d
* iconvdata/Makefile (iconv-rules): Use LC_ALL=C when running awk
...
script.
2008-12-30 02:18:00 +00:00
Ulrich Drepper
bfbbc63f04
* sysdeps/posix/getaddrinfo.c (gaih_inet): When the
...
gethostbyname4_r function call succeeded, just leave the loop.
2008-12-29 23:47:07 +00:00
Ulrich Drepper
5703f47273
* wctype/wctype.h: Get wint_t definition directly from <stddef.h>.
...
* wctype/Makefile (tests): Add bug-wctypeh.
* wctype/bug-wctypeh.c: New file.
2008-12-29 23:21:21 +00:00
Ulrich Drepper
0f2ae55cf7
[BZ #9694 ]
...
* wcsmbs/wchar.h: Move undefs for local __need_* constants to the
very end.
2008-12-29 23:01:38 +00:00
Ulrich Drepper
50e481ceeb
* nscd/nscd_gethst_r.c (nscd_gethst_r): Don't use nscd if
...
LOCALDOMAIN is defined.
* nscd/nscd_getai.c (__nscd_getai): Likewise.
2008-12-29 20:56:13 +00:00
Ulrich Drepper
217d45cd35
* sysdeps/x86_64/bits/select.h: New file.
2008-12-29 20:16:11 +00:00
Ulrich Drepper
16b7dc27a9
* resolv/res_init.c (__res_vinit): Count all servers in statp->nscount.
2008-12-29 19:53:48 +00:00
Ulrich Drepper
bf93cd3b8d
[BZ #9677 ]
...
2008-12-21 Bruno Haible <bruno@clisp.org>
[BZ #9677 ]
* wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Create temporary state object
if no output is written.
2008-12-26 19:02:29 +00:00
Ulrich Drepper
49159e12de
* login/utmp_file.c (pututline_file): Replace call to dup2 with
...
libc internal symbol __dup2 to avoid access through the PLT.
2008-12-23 16:50:07 +00:00
Ulrich Drepper
135460f45c
[BZ #6545 ]
...
* sysdeps/unix/sysv/linux/bits/socket.h (SCM_CREDENTIALS): Make
available only for __USE_GNU.
2008-12-09 23:25:02 +00:00
Ulrich Drepper
71053765e0
[BZ #7058 ]
2008-12-09 22:58:58 +00:00
Ulrich Drepper
ed0da35226
* inet/Makefile (tests): Add tst-getni2.
...
* inet/tst-getni2.c: New file.
2008-12-09 22:47:54 +00:00
Ulrich Drepper
d4f0720b20
[BZ #7080 ]
...
2008-12-08 Ulrich Drepper <drepper@redhat.com>
[BZ #7080 ]
* inet/getnameinfo.c (getnameinfo): Check for output buffers being
NULL when NI_NAMEREQD is set.
Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
* inet/Makefile (tests): Add tst-getni1.
* inet/tst-getni1.c: New file.
2008-12-09 10:02:20 +00:00
Ulrich Drepper
cd72adebda
[BZ #7067 ]
...
2008-12-03 Petr Baudis <pasky@suse.cz>
[BZ #7067 ]
* nscd/connections.c (invalidate_cache): Use prune_run_lock
instead of prune_lock.
(nscd_run_prune): Before calling prune_cache, take prune_run_lock.
* nscd/nscd.h (database_dyn): Add prune_run_cache.
2008-12-09 05:24:37 +00:00
Ulrich Drepper
5e37840c5c
Fix typo.
...
* inet/getnetgrent_r.c (setup): Encrypt static pointer.
2008-12-08 23:39:50 +00:00
Jakub Jelinek
d43b8bddb1
Move 2 ChangeLog entries to correct ChangeLog.
...
2008-11-24 Arkadiusz Miśkiewicz <arekm@maven.pl>
* sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use LOAD_PIC_REG
instead of doing things manually.
2008-11-26 Chris Steel <chris.steel.lnx@googlemail.com>
* posix/regex_internal.h (build_wcs_upper_buffer):
Return type is reg_error_t.
2008-12-08 11:32:58 +00:00
Ulrich Drepper
200da00a7c
* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
...
use.
* sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4
handling.
2008-12-08 04:08:51 +00:00
Ulrich Drepper
905ef0daeb
* resolv/res_init.c (__res_vinit): Always assign to statp->nscount
...
after reading name server list.
2008-12-08 03:59:18 +00:00
Ulrich Drepper
e87946cce5
* nis/nss_nis/nis-hosts.c (_nss_nis_gethostbyname4_r): Fix memory
...
handling for host name aliases.
2008-12-07 10:01:11 +00:00
Ulrich Drepper
f3721ab2dc
* posix/globtest.sh: Use mktemp to create temporary file and
...
directory.
2008-12-06 06:05:54 +00:00
Ulrich Drepper
25a34eb737
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S): Handle large
...
sets correctly.
(__CPU_CLR_S): Likewise.
(__CPU_ISSET_S): Likewise.
2008-12-06 05:40:29 +00:00
Ulrich Drepper
8680179fdb
2008-12-05 Joseph Myers <joseph@codesourcery.com>
...
Ulrich Drepper <drepper@redhat.com>
* scripts/firstversion.awk: Use custom comparison function to compare
version numbers.
* scripts/versions.awk: Use sort invocation which can handle
multi-digit sub-version numbers.
2008-12-06 02:13:20 +00:00
Ulrich Drepper
72d509083a
* locale/programs/ld-address.c (DEFINE_LANGUAGE_CODE2): Define.
...
* locale/iso-639.def: Add Chhattisgarhi entry.
2008-12-05 03:26:21 +00:00
Ulrich Drepper
da5ac1352d
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Recognize
...
ESRCH return value.
(_nss_dns_gethostbyname4_r): Likewise.
* resolv/res_init.c (__res_vinit): Initialize nscount to zero.
* sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use
gethostbyname4_r, we don't have a separate IPv6 status, so copy
the no_data variable.
2008-12-03 07:30:39 +00:00
Ulrich Drepper
6f5c31171f
* resolv/res_init.c (__res_vinit): Fill in IPv4 name server
...
information at the correct index.
2008-12-03 05:20:19 +00:00
Ulrich Drepper
f93fc0b75a
* socket/sys/socket.h: Declare accept4.
...
* socket/accept4.c: New file.
* sysdeps/unix/sysv/linux/accept4.c: New file.
* sysdeps/unix/sysv/linux/i386/accept4.S: New file.
* socket/Makefile (routines): Add accept4.
* socket/Versions: Export accept4 with version GLIBC_2.10.
* socket/paccept.c: Removed.
* sysdeps/unix/sysv/linux/paccept.c: Removed.
* sysdeps/unix/sysv/linux/i386/paccept.S: Removed.
* Versions.def: Define GLIBC_2.10 for libc.
* sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_ACCEPT4.
* nscd/connections.c: Use accept4.
* sysdeps/unix/sysv/linux/i386/socket.S: Fix comment.
2008-12-03 04:23:18 +00:00
Ulrich Drepper
9744268c10
* resolv/res_send.c (send_dg): Create sockets with non-blocking
...
flag already set.
2008-12-02 06:21:18 +00:00
Ulrich Drepper
30c063710e
* stdlib/Makefile (tests): Add tst-unsetenv1.
...
* stdlib/tst-unsetenv1.c: New file.
2008-12-02 02:27:43 +00:00
Ulrich Drepper
1fa7ae05b9
* stdlib/setenv.c (unsetenv): Don't search environment if it does
...
not exist.
2008-12-02 01:40:59 +00:00
Ulrich Drepper
37a6a271bf
* login/utmp_file.c (file_writable): New variable.
...
(setutent_file): Don't try to open file for writing.
(pututline_file): Before writing, make descriptor writable if
necessary.
2008-11-30 06:56:27 +00:00
Ulrich Drepper
be4607eba8
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Only restrict search
...
to IPv4 or IPv6 if an interface has been found.
2008-11-27 06:31:04 +00:00
Ulrich Drepper
ca4dc0fe64
* sysdeps/posix/getaddrinfo.c (getaddrinfo): If the system has
...
neither IPv4 nor IPv6 addresses defined, don't do anything.
2008-11-27 00:25:32 +00:00
Roland McGrath
d3dc523b22
* sysdeps/mach/strerror_l.c: New file.
2008-11-26 19:45:00 +00:00
Roland McGrath
24fd0a5bec
* sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Renamed to ...
...
* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: ... here.
* sysdeps/unix/sysv/linux/alpha/wordexp.c: Renamed to ...
* sysdeps/unix/sysv/linux/ia64/wordexp.c: ... here.
* sysdeps/unix/sysv/linux/sparc/sparc64/wordexp.c: Change #include.
2008-11-26 19:20:20 +00:00
Roland McGrath
01a746457f
* elf/elf.h (NT_386_IOPERM): New macro.
...
(NT_PPC_VSX): New macro.
2008-11-26 09:15:38 +00:00
Roland McGrath
c0439b95b8
Moved alpha to ports repository.
...
2008-11-25 Roland McGrath <roland@redhat.com>
* sysdeps/alpha, sysdeps/unix/bsd/osf/alpha,
sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha,
sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha,
sysdeps/mach/alpha, sysdeps/mach/hurd/alpha:
Subdirectories moved to ports repository.
* configure.in (base_machine): Remove alpha case.
2008-11-26 07:26:32 +00:00
Ulrich Drepper
edba7a54eb
[BZ #6411 ]
...
2008-11-13 Ryan S. Arnold <rsa@us.ibm.com>
[BZ #6411 ]
* sysdeps/powerpc/fpu/Makefile: Added test case tst-setcontext-fpscr.
* sysdeps/powerpc/fpu/feholdexcpt.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register): Dynamically
choose mtfsf insn based on PPC_FEATURE_HAS_DFP.
(relax_fenv_state): Same as above.
(FPSCR_29): Reserve bit in ISA 2.05.
(FPSCR_NI): Provide define for compat.
* sysdeps/powerpc/fpu/fesetenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/feupdateenv.c (_FPU_MASK_ALL): Define to replace
magic numbers.
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: New file. Test case to
test setcontext and swapcontext with dynamic 64-bit FPSCR detection.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Adjust
access to hwcap to account for hwcap size increase to uint64_t.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp ):
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
(*setcontext): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP. Adjust access to hwcap to account for hwcap size
increase to uint64_t.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/setcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/swapcontext.S:
New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
(*setcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(*swapcontext): dynamically select mtfsf insn based on
PPC_FEATURE_HAS_DFP.
2008-11-17 02:49:45 +00:00
Ulrich Drepper
f52bb4d77e
* include/features.h (__GLIBC_MINOR__): Bump to 9.
2008-11-13 21:41:41 +00:00
Ulrich Drepper
b5449f8a11
* version.h: Bump for 2.9 release.
2008-11-13 20:05:26 +00:00
Ulrich Drepper
ec29796237
[BZ #7029 ]
...
2008-11-13 Ulrich Drepper <drepper@redhat.com>
[BZ #7029 ]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_ALLOC_SIZE):
Multiply with sizeof of __cpu_mask, not 8 unconditionally after
all the rounding.
2008-11-13 19:57:18 +00:00
Ulrich Drepper
0e54a7250f
[BZ #7009 ]
2008-11-12 13:41:14 +00:00
Ulrich Drepper
3cac8b757e
* resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Don't abort for
...
unknown request types for now.
2008-11-12 07:52:27 +00:00
Roland McGrath
58a4b51ae0
* sysdeps/x86_64/configure: New file.
...
* configure.in: Add AC_SUBST(libc_cv_cpp_asm_debuginfo).
* configure: Regenerated.
2008-11-11 09:50:20 +00:00
Jakub Jelinek
01bd5e96f7
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
...
correct instruction to remove the stack frame.
2008-11-03 Martin Schwidefsky <schwidefsky@de.ibm.com>
* sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_profile): Use the
correct instruction to remove the stack frame.
2008-11-07 15:22:34 +00:00
Jakub Jelinek
a90695507e
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
...
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-03 Michael Matz <matz@suse.de>
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_32_acq,
__arch_compare_and_exchange_val_64_acq): Add "memory" clobber.
2008-11-07 15:18:47 +00:00
Jakub Jelinek
09f66a4f52
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
...
Remove.
* include/stdio.h (__builtin_fwrite, __builtin_fwrite_unlocked):
Remove.
2008-11-07 15:13:54 +00:00
Jakub Jelinek
4b23f9bda3
* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
...
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments. Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments. nptl/
* sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
2008-11-07 Jakub Jelinek <jakub@redhat.com>
* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address,
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type
of the thread variable instead of void *.
* sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define,
__libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise.
* include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
(__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust
__libc_tsd_address arguments. Remove union hack.
* include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments.
* sunrpc/rpc_thread.c (RPC_VARS): Likewise.
(__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables):
Adjust __libc_tsd_{set,get} arguments.
* ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust
__libc_tsd_define arguments.
* locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get}
arguments.
* locale/lc-ctype.c (_nl_postload_ctype): Likewise.
* locale/global-locale.c (__libc_tsd_LOCALE): Adjust type.
(LOCALE): Adjust __libc_tsd_define arguments.
* locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get
arguments.
(LOCALE): Adjust __libc_tsd_define arguments.
* sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define
arguments.
(tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get}
arguments.
2008-11-07 15:07:10 +00:00
Ulrich Drepper
486bdb8863
* malloc/malloc.c (public_rEALLOc): When new arena is used, copy
...
really all bytes. Patch by Denys Vlasenko <dvlasenk@redhat.com>.
2008-11-03 08:07:39 +00:00
Ulrich Drepper
64647f9aa8
[BZ #6966 ]
...
2008-11-01 Ulrich Drepper <drepper@redhat.com>
[BZ #6966 ]
* misc/hsearch_r.c (hsearch_r): Fix secondary hash function.
2008-11-01 15:39:48 +00:00