Ulrich Drepper [Tue, 7 Apr 2009 17:38:50 +0000 (17:38 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h: Power also has
preadv/pwritev in 2.6.30.
Ulrich Drepper [Tue, 7 Apr 2009 16:13:15 +0000 (16:13 +0000)]
* resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmp
instead of __strcasecmp.
* resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
Ulrich Drepper [Tue, 7 Apr 2009 14:56:48 +0000 (14:56 +0000)]
* wcsmbs/wcsatcliff.c (MEMCHR): Define.
Ulrich Drepper [Tue, 7 Apr 2009 14:53:04 +0000 (14:53 +0000)]
* string/stratcliff.c (do_test): Add memchr tests..
* sysdeps/x86_64/memchr.S: Fix handling of end of buffer after
first read quad word.
Ulrich Drepper [Tue, 7 Apr 2009 06:51:59 +0000 (06:51 +0000)]
* string/strverscmp.c (__strverscmp): Fix last cleanups.
* string/tst-svc.input: Add new test case.
* string/tst-svc.expect: Adjust.
* string/Makefile: Don't ignore tst-svc error.
Ulrich Drepper [Tue, 7 Apr 2009 06:36:33 +0000 (06:36 +0000)]
* sysdeps/x86_64/memchr.S: New file.
Ulrich Drepper [Tue, 7 Apr 2009 02:00:27 +0000 (02:00 +0000)]
* resolv/resolv.h (RES_SNGLKUP): Define.
* resolv/res_init.c (res_setoptions): Recognize single-request option.
* resolv/res_send.c (send_dg): If we sent two requests at once and
only get one reply before timeout switch to mode where we send the
second request only after the first answer has been received.
Ulrich Drepper [Mon, 6 Apr 2009 17:54:58 +0000 (17:54 +0000)]
* locales/ks_IN: New file.
Patch by Mohammad Nayeem <mohammad.nayeem@gmail.com> and
Pravin Satpute <psatpute@redhat.com>.
Ulrich Drepper [Mon, 6 Apr 2009 03:29:26 +0000 (03:29 +0000)]
* sysdeps/x86_64/strchr.S: Likewise.
Ulrich Drepper [Sun, 5 Apr 2009 18:49:28 +0000 (18:49 +0000)]
* sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.
Ulrich Drepper [Fri, 3 Apr 2009 23:51:57 +0000 (23:51 +0000)]
* configure.in: We need to test for the compiler earlier.
Ulrich Drepper [Fri, 3 Apr 2009 19:57:16 +0000 (19:57 +0000)]
* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
* misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
GLIBC_2.10.
* misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64.
* sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv
and pwritev.
* misc/preadv.c: New file.
* misc/preadv64.c: New file.
* misc/pwritev.c: New file.
* misc/pwritev64.c: New file.
* sysdeps/posx/preadv.c: New file.
* sysdeps/posx/preadv64.c: New file.
* sysdeps/posx/pwritev.c: New file.
* sysdeps/posx/pwritev64.c: New file.
* sysdeps/unix/sysv/linux/preadv.c: New file.
* sysdeps/unix/sysv/linux/preadv64.c: New file.
* sysdeps/unix/sysv/linux/pwritev.c: New file.
* sysdeps/unix/sysv/linux/pwritev64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
Ulrich Drepper [Fri, 3 Apr 2009 18:50:34 +0000 (18:50 +0000)]
* sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of
compatibility code.
* sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2009-04-01 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Fri, 3 Apr 2009 17:23:13 +0000 (17:23 +0000)]
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_COMPLETE_READV_WRITEV.
* sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback
with modern kernels.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/posix/readv.c: Since read is a cancellation point we have
to free a possible malloced buffer in case of cancellation.
* sysdeps/posix/writev.c: Likewise for write.
c2009-04-01 Ulrich Drepper <drepper@redhat.com>
Ulrich Drepper [Fri, 3 Apr 2009 03:48:08 +0000 (03:48 +0000)]
Add missing protocol numbers.
* sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
Ulrich Drepper [Thu, 2 Apr 2009 17:00:46 +0000 (17:00 +0000)]
* configure.in: Recognize --enable-nss-crypt.
* config.make.in: Add nss-crypt entry.
* crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c,
sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS
and include path for NSS directory to compiler for md5-crypt,
sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3.
* crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash
function implementation, use NSS. Introduce wrappers around the
hash function calls. Little code size optimization.
* crypt/sha256-crypt.c: Likewise.
* crypt/sha512-crypt.c: Likewise.
* scripts/check-local-headers.sh: Ignore nss3 directory.
* configure.in: Rename pic_default to libc_cv_pic_default.
* config.make.in: Likewise.
Ulrich Drepper [Thu, 2 Apr 2009 16:59:01 +0000 (16:59 +0000)]
Add nss-crypt entry. Rename pic_default to libc_cv_pic_default.
Roland McGrath [Thu, 2 Apr 2009 01:20:33 +0000 (01:20 +0000)]
Missed copyright year update
Roland McGrath [Thu, 2 Apr 2009 01:19:47 +0000 (01:19 +0000)]
* elf/elf.h (R_SPARC_GLOB_JMP): New macro.
(R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros.
(R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise.
(R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise.
(R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise.
(R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise.
(R_SPARC_NUM): Update.
From Dave Miller <davem@davemloft.net>.
Roland McGrath [Thu, 2 Apr 2009 01:19:33 +0000 (01:19 +0000)]
2009-04-01 Roland McGrath <roland@redhat.com>
* elf/elf.h (R_SPARC_GLOB_JMP): New macro.
(R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros.
(R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise.
(R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise.
(R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise.
(R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise.
(R_SPARC_NUM): Update.
From Dave Miller <davem@davemloft.net>.
Ulrich Drepper [Wed, 1 Apr 2009 19:25:51 +0000 (19:25 +0000)]
* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
Ulrich Drepper [Wed, 1 Apr 2009 00:26:36 +0000 (00:26 +0000)]
* elf/dl-open.c: Keep track of used name spaces and only iterate over
those which are used.
* elf/dl-addr.c: Likewise.
* elf/dl-caller.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-libc.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
Ulrich Drepper [Tue, 31 Mar 2009 22:03:24 +0000 (22:03 +0000)]
* elf/dl-load.c: Remove support for systems without MAP_ANON.
* elf/dl-minimal.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/rtld.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
Ulrich Drepper [Mon, 30 Mar 2009 21:14:32 +0000 (21:14 +0000)]
* elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup.
Avoid reuse of complex expression.
Ulrich Drepper [Mon, 30 Mar 2009 12:39:02 +0000 (12:39 +0000)]
* po/fr.po: Update from translation team.
Ulrich Drepper [Mon, 30 Mar 2009 12:38:40 +0000 (12:38 +0000)]
Update from translation team.
Jakub Jelinek [Mon, 23 Mar 2009 11:49:01 +0000 (11:49 +0000)]
[BZ #9985]
* charmaps/UTF-8: Fix encoding of <U1080>..<U109F>, <U12AF>.
Based on patch by Keith Stribley <devel@thanlwinsoft.org>.
2009-03-23 Jakub Jelinek <jakub@redhat.com>
[BZ #9985]
* charmaps/UTF-8: Fix encoding of <U1080>..<U109F>, <U12AF>.
Based on patch by Keith Stribley <devel@thanlwinsoft.org>.
Roland McGrath [Thu, 19 Mar 2009 19:51:50 +0000 (19:51 +0000)]
* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
Use STRINGIFY macro in place of #argument.
Roland McGrath [Thu, 19 Mar 2009 19:51:42 +0000 (19:51 +0000)]
2009-03-19 Roland McGrath <roland@redhat.com>
* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):
Use STRINGIFY macro in place of #argument.
Ulrich Drepper [Tue, 17 Mar 2009 00:35:38 +0000 (00:35 +0000)]
Yet more changes to match sort function type change.
Ulrich Drepper [Tue, 17 Mar 2009 00:35:19 +0000 (00:35 +0000)]
* include/dirent.h: Yet more changes to match sort function type
change.
* sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
* sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
Ulrich Drepper [Mon, 16 Mar 2009 22:37:22 +0000 (22:37 +0000)]
* dirent/scandir64.c (scandir64): Adjust declaration to type change.
Ulrich Drepper [Mon, 16 Mar 2009 22:33:01 +0000 (22:33 +0000)]
* nscd/connections.c (restart): Try to preserve the process name
by reading the /proc/self/exe symlink and using the return name.
Patch by Jeff Bastian <jbastian@redhat.com>.
Ulrich Drepper [Mon, 16 Mar 2009 02:16:30 +0000 (02:16 +0000)]
[BZ #9733]
* elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks
if we are not loading a new audit library.
* elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask.
Only use profiling trampoline for auditing if we are not relocating
an audit library.
* elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call.
* elf/rtld.c: Likewise.
* sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype.
Ulrich Drepper [Mon, 16 Mar 2009 00:12:20 +0000 (00:12 +0000)]
* elf/rtld.c (dl_main): Extend help message for --audit option.
Ulrich Drepper [Sun, 15 Mar 2009 21:33:19 +0000 (21:33 +0000)]
[BZ #9759]
* dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort,
alphasort64, versionsort, and versionsort64 to POSIX 2008.
* dirent/alphasort.c: Adjust implementation to type change.
* dirent/alphasort64.c: Likewise.
* dirent/scandir.c: Likewise.
* dirent/versionsort.c: Likewise.
* dirent/versionsort64.c: Likewise.
* sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64
declaration.
* sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64
declaration.
Ulrich Drepper [Sun, 15 Mar 2009 20:35:02 +0000 (20:35 +0000)]
[BZ #9880]
* inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments
correctly. Set segleft member in output as required.
Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>.
* inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse.
Ulrich Drepper [Sun, 15 Mar 2009 19:16:16 +0000 (19:16 +0000)]
[BZ #9881]
* inet/inet6_rth.c (inet6_rth_add): Add some error checking.
Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>.
* inet/Makefile (tests): Add tst-inet6_rth.
* inet/tst-inet6_rth.c: New file.
alignment of La_x86_64_regs. Store xmm parameters.
Ulrich Drepper [Sun, 15 Mar 2009 09:03:38 +0000 (09:03 +0000)]
[BZ #5807]
2009-03-15 Ulrich Drepper <drepper@redhat.com>
[BZ #5807]
* string/strlen.c (strlen): Fix omission in the expression to test
for NUL bytes.
Ulrich Drepper [Sun, 15 Mar 2009 01:45:47 +0000 (01:45 +0000)]
* crypt/sha256test.c (main): Perform 100,000 'a' test in a second way.
Ulrich Drepper [Sun, 15 Mar 2009 00:26:14 +0000 (00:26 +0000)]
* elf/dl-runtime.c (reloc_offset): Define.
(reloc_index): Define.
(_dl_fixup): Rename reloc_offset parameter to reloc_arg.
(_dl_fixup_profile): Likewise. Use reloc_index instead of
computing index from reloc_offset.
(_dl_call_pltexit): Likewise.
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass
the relocation index to _dl_fixup.
(_dl_runtime_profile): Likewise for _dl_fixup_profile and
_dl_call_pltexit.
* sysdeps/x86_64/dl-runtime.c: New file.
Ulrich Drepper [Sat, 14 Mar 2009 23:57:33 +0000 (23:57 +0000)]
[BZ #9893]
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
alignement of La_x86_64_regs. Store xmm parameters.
Patch mostly by Jiri Olsa <olsajiri@gmail.com>.
Ulrich Drepper [Sat, 14 Mar 2009 20:15:21 +0000 (20:15 +0000)]
[BZ #9913]
* string/strverscmp.c (__strverscmp): Fix case of different digits
in fractional part of string.
Patch by Jingyu Liu <jyliu@fortinet.com>.
* string/Makefile (tests): Add tst-svc2.
* string/tst-svc2.c: New file.
* string/strverscmp.c (__strverscmp): Optimize size of tables.
Ulrich Drepper [Sat, 14 Mar 2009 18:39:26 +0000 (18:39 +0000)]
[BZ #9948]
2009-03-14 Ulrich Drepper <drepper@redhat.com>
* locale/iso-639.def: Add Min Nan.
[BZ #9948]
Ulrich Drepper [Sat, 14 Mar 2009 18:33:58 +0000 (18:33 +0000)]
* elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.
* elf/dl-sysdep.c (auxvars): Compress data structure.
Ulrich Drepper [Sat, 14 Mar 2009 15:54:49 +0000 (15:54 +0000)]
* sysdeps/i386/dl-machine.h (elf_machine_rel): Implement
STT_GNU_IFUNC handling.
(elf_machine_rela): Likewise.
Ulrich Drepper [Fri, 13 Mar 2009 23:53:18 +0000 (23:53 +0000)]
* config.h.in (USE_MULTIARCH): Define.
* configure.in: Handle --enable-multi-arch.
* elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC.
(_dl_fixup_profile): Likewise.
* elf/do-lookup.c (dl_lookup_x): Likewise.
* sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC.
* elf/elf.h (STT_GNU_IFUNC): Define.
* include/libc-symbols.h (libc_ifunc): Define.
* sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the
framework in init-arch.h to get CPUID values.
* sysdeps/x86_64/multiarch/Makefile: New file.
* sysdeps/x86_64/multiarch/init-arch.c: New file.
* sysdeps/x86_64/multiarch/init-arch.h: New file.
* sysdeps/x86_64/multiarch/sched_cpucount.c: New file.
* config.make.in (experimental-malloc): Define.
* configure.in: Handle --enable-experimental-malloc.
* malloc/Makefile: Handle experimental-malloc flag.
* malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
Ulrich Drepper [Thu, 12 Mar 2009 06:31:25 +0000 (06:31 +0000)]
* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch
prediction. A few size optimizations.
Ulrich Drepper [Tue, 10 Mar 2009 22:03:24 +0000 (22:03 +0000)]
* init.c (nptl_freeres): Compile only for SHARED.
Ulrich Drepper [Tue, 10 Mar 2009 17:00:17 +0000 (17:00 +0000)]
* time/tzset.c: Optimize a bit for size.
Ulrich Drepper [Tue, 10 Mar 2009 15:26:57 +0000 (15:26 +0000)]
* include/stdio.h (fmemopen): Add libc_hidden_proto.
* libio/fmemopen.c (fmemopen): Add libc_hidden_def.
* elf/sprof.c: Avoid warning about multi-line comment.
Ulrich Drepper [Tue, 10 Mar 2009 15:23:46 +0000 (15:23 +0000)]
* time/tzset.c (__tzset_parse_tz): Use correct string when parsing
DST name.
* time/tst-posixtz.c: Add tests for quoted timezone names.
Ulrich Drepper [Tue, 10 Mar 2009 13:45:44 +0000 (13:45 +0000)]
* posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,
_POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to
200809L instead of 200112L.
(_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700.
* posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L.
2009-03-10 Jakub Jelinek <jakub@redhat.com>
Ulrich Drepper [Tue, 10 Mar 2009 13:40:37 +0000 (13:40 +0000)]
* stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs
instead of __quick_exit_funcs to __run_exit_handlers.
* stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden.
* stdlib/exit.h (__run_exit_handlers): Add noreturn attribute.
(__cxa_at_quick_exit): Remove attribute_hidden.
* stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs
to __run_exit_handlers.
* stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove
attribute_hidden.
Ulrich Drepper [Tue, 10 Mar 2009 13:29:50 +0000 (13:29 +0000)]
* po/id.po: Update from translation team.
Ulrich Drepper [Tue, 10 Mar 2009 04:47:30 +0000 (04:47 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use
.machine push; .machine "power6" and .machine pop around mtfsf
insns outside of _ARCH_PWR6 define.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
Likewise.
* sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise.
* sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register,
relax_fenv_state): Likewise.
Ulrich Drepper [Tue, 10 Mar 2009 04:46:08 +0000 (04:46 +0000)]
Use .machine push; .machine "power6" and .machine pop around mtfsf insns outside of _ARCH_PWR6 define.
Jakub Jelinek [Mon, 9 Mar 2009 14:19:53 +0000 (14:19 +0000)]
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and
FUTEX_BITSET_MATCH_ANY.
2009-03-09 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and
FUTEX_BITSET_MATCH_ANY.
Ulrich Drepper [Sun, 8 Mar 2009 19:53:12 +0000 (19:53 +0000)]
* stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and
cxa_at_quick_exit.
(static-only-routines): Add at_quick_exit.
* stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for
GLIBC_2.10.
* stdlib/quick_exit.c: New file.
* stdlib/at_quick_exit.c: New file.
* stdlib/cxa_at_quick_exit.c: New file.
* stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call
it appropriately.
(__internal_atexit): New function.
(__new_exitfn): Now takes parameter to point to the list to use.
* stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them.
* stdlib/exit.c (__run_exit_handlers): New function. Split from...
(exit): ...here. Just call __run_exit_handlers appropriately.
* stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers,
__internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn.
* stdlib/on_exit.c: Adjust call to __new_exitfn.
* stdlib/stdlib.h: Declare at_quick_exit and quick_exit.
Ulrich Drepper [Sun, 8 Mar 2009 14:45:23 +0000 (14:45 +0000)]
* po/id.po: Update from translation team.
Ulrich Drepper [Sat, 7 Mar 2009 13:11:31 +0000 (13:11 +0000)]
* po/ru.po: Update from translation team.
Ulrich Drepper [Wed, 4 Mar 2009 13:02:35 +0000 (13:02 +0000)]
* po/nl.po: Update from translation team.
Ulrich Drepper [Tue, 3 Mar 2009 13:53:19 +0000 (13:53 +0000)]
* sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.
* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
Ulrich Drepper [Tue, 3 Mar 2009 13:42:47 +0000 (13:42 +0000)]
* po/pl.po: Update from translation team.
Ulrich Drepper [Mon, 2 Mar 2009 16:17:22 +0000 (16:17 +0000)]
[BZ #7083]
Ulrich Drepper [Mon, 2 Mar 2009 16:15:58 +0000 (16:15 +0000)]
* sysdeps/unix/sysv/linux/fallocate.c: New file.
* sysdeps/unix/sysv/linux/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file.
* sysdeps/unix/sysv/linux/i386/fallocate64.c: New file.
* sysdeps/unix/sysv/linux/i386/fallocate.c: New file.
* sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64
for GLIBC_2.10.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add fallocate and fallocate64.
* io/fcntl.h: Pretty printing.
Ulrich Drepper [Mon, 2 Mar 2009 15:57:25 +0000 (15:57 +0000)]
Pretty printing.
Jakub Jelinek [Mon, 2 Mar 2009 15:56:03 +0000 (15:56 +0000)]
* misc/sys/cdefs.h (__extern_always_inline): Add __artificial__
attribute also for non-C99 inline semantics variant.
2009-03-02 Richard Guenther <rguenther@suse.de>
* misc/sys/cdefs.h (__extern_always_inline): Add __artificial__
attribute also for non-C99 inline semantics variant.
Ulrich Drepper [Mon, 2 Mar 2009 13:50:16 +0000 (13:50 +0000)]
* sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.
* sysdeps/powerpc/powerpc32/power7/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
* sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies:
Likewise.
Ulrich Drepper [Mon, 2 Mar 2009 13:13:35 +0000 (13:13 +0000)]
* po/cs.po: Update from translation team.
Ulrich Drepper [Sun, 1 Mar 2009 15:12:53 +0000 (15:12 +0000)]
* po/vi.po: Likewise.
Ulrich Drepper [Sat, 28 Feb 2009 22:24:35 +0000 (22:24 +0000)]
* po/fi.po: Likewise.
Ulrich Drepper [Sat, 28 Feb 2009 17:41:30 +0000 (17:41 +0000)]
* po/bg.po: Update from translation team.
* po/sv.po: Likewise.
Ulrich Drepper [Sat, 28 Feb 2009 17:39:59 +0000 (17:39 +0000)]
po/bg.po
Roland McGrath [Sat, 28 Feb 2009 02:26:51 +0000 (02:26 +0000)]
* Makeconfig (%.v.i): Depend on Makeconfig.
Exclude % lines from initial #-comment removal.
Roland McGrath [Sat, 28 Feb 2009 01:27:30 +0000 (01:27 +0000)]
2009-02-27 Roland McGrath <roland@redhat.com>
* Makeconfig (%.v.i): Depend on Makeconfig.
Exclude % lines from initial #-comment removal.
Ulrich Drepper [Fri, 27 Feb 2009 18:14:02 +0000 (18:14 +0000)]
* po/ko.po: Update from translation team.
Ulrich Drepper [Fri, 27 Feb 2009 18:13:43 +0000 (18:13 +0000)]
Update from translation team.
Roland McGrath [Thu, 26 Feb 2009 21:17:58 +0000 (21:17 +0000)]
* shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it,
avoids unused warning.
Roland McGrath [Thu, 26 Feb 2009 21:17:45 +0000 (21:17 +0000)]
2009-02-26 Roland McGrath <roland@redhat.com>
* shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it,
avoids unused warning.
Ulrich Drepper [Thu, 26 Feb 2009 20:23:36 +0000 (20:23 +0000)]
2009-02-26 Andrew Stubbs <ams@codesourcery.com>
SUGIOKA Toshinobu <sugioka@itonet.co.jp>
* sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h,
sys/ucontext.h and asm/elf.h. Include sys/user.h.
* sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h
and asm/user.h. Include asm/ptrace.h.
(PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC,
PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS):
Undefine.
(start_thread): Don't undefine.
(elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user):
Define.
Ulrich Drepper [Thu, 26 Feb 2009 16:53:30 +0000 (16:53 +0000)]
* wctype/wctype.h: The *_l functions are in POSIX 2008.
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy,
wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs,
wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l.
* sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from
200112L to 200809L.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT entries.
* bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT.
* posix/unistd.h: fexecve is in POSIX 2008.
* time/time.h: strftime_l is in POSIX 2008.
* io/sys/stat.h: futimens is in POSIX 2008.
* string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008.
* string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal,
strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008.
* stdlib/stdlib.h: mkdtemp is in POSIX 2008.
Ulrich Drepper [Thu, 26 Feb 2009 15:44:18 +0000 (15:44 +0000)]
* libio/stdio.h: dprintf, fmemopen, getdelim, getline,
open_memstream, and vdprintf are in POSIX 2008.
Ulrich Drepper [Thu, 26 Feb 2009 06:18:24 +0000 (06:18 +0000)]
* locale/langinfo.h: nl_langinfo_l is in POSIX 2008.
* locale/xlocale.h: Define locale_t type.
* locale/locale.h: duplocale, freelocale, newlocale, uselocale are
in POSIX 2008. Don't define locale_t here.
* stdlib/monetary.h: strfmon_l is in POSIX 2008.
* signal/signal.h: Declare psignal and psiginfo for POSIX 2008.
* stdio-common/psiginfo.c: New file.
* stdio-common/psiginfo-data.h: New file.
* stdio-common/psiginfo-define.h: New file.
* stdio-common/Makefile (routines): Add psiginfo.
* stdio-common/Versions: Export psiginfo for GLIBC_2.10.
Ulrich Drepper [Thu, 26 Feb 2009 02:23:50 +0000 (02:23 +0000)]
* ctype/ctype.h: The *_l functions are in POSIX 2008.
* dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in
POSIX 2008.
/proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
Ulrich Drepper [Thu, 26 Feb 2009 01:43:53 +0000 (01:43 +0000)]
* include/features.h: Define macros for XPG7/POSIX 2008.
* sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and
UTIME_OMIT only with __USE_ATFILE.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise.
* io/sys/stat.h: Move mknodat definition into same conditional as
mknod.
* time/sys/time.h: futimesat is not among the functions accepted
into the POSIX standard.
Ulrich Drepper [Thu, 26 Feb 2009 01:22:06 +0000 (01:22 +0000)]
* include/features.h: If no feature selection given and we select
by default a POSIX mode, also define __USE_POSIX_IMPLICITLY.
* posix/Versions: Export __posix_getopt.
* posix/getopt.c (_getopt_initialize): Take additional parameter.
Use it to alternatively initialize __posixly_correct.
(_getopt_internal_r): Take addition parameter. Pass on to
_getopt_initialize.
(_getopt_internal): Take addition parameter. Pass on to
_getopt_internal_r.
(getopt): Pass additional zero to _getopt_internal.
(__posix_getopt): New function.
* posix/getopt.h: Add redirection for getopt.
* posix/getopt1.c (getopt_long): Pass additional zero to
_getopt_internal.
(getopt_long_only): Likewise.
(_getopt_long_r): Pass additional zero to _getopt_internal_r.
(_getopt_long_only_r): Likewise.
* posix/getopt_int.h: Adjust declarations of _getopt_internal and
_getopt_internal_r.
Ulrich Drepper [Wed, 25 Feb 2009 00:36:33 +0000 (00:36 +0000)]
..
2009-02-24 Ulrich Drepper <drepper@redhat.com>
* bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX,
_SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
* sysdeps/posix/sysconf.c (__sysconf): Handle
_SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX,
_SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
Ulrich Drepper [Wed, 25 Feb 2009 00:34:48 +0000 (00:34 +0000)]
Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS.
Roland McGrath [Tue, 24 Feb 2009 23:46:13 +0000 (23:46 +0000)]
[BZ #9895]
README.template -> README
2009-02-24 Roland McGrath <roland@redhat.com>
[BZ #9895]
* README.template: Reworded not to use substituted version number.
Renamed to ...
* README: ... here (no longer generated).
* Makefile (README): Target removed.
Roland McGrath [Tue, 24 Feb 2009 23:45:59 +0000 (23:45 +0000)]
[BZ #9895]
2009-02-24 Roland McGrath <roland@redhat.com>
[BZ #9895]
* README.template: Reworded not to use substituted version number.
Renamed to ...
* README: ... here (no longer generated).
* Makefile (README): Target removed.
Ulrich Drepper [Tue, 24 Feb 2009 23:34:08 +0000 (23:34 +0000)]
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf):
/proc/sys/kenrel/rtsig_max doesn't exist anymore, use getrlimit
instead.
Ulrich Drepper [Tue, 24 Feb 2009 22:47:58 +0000 (22:47 +0000)]
* io/sys/stat.h: The lstat functions have been mandatory since 2001.
Ulrich Drepper [Tue, 24 Feb 2009 22:45:58 +0000 (22:45 +0000)]
* time/tzset.c (tzset_internal): Correct parsing of TZ envvar.
Ulrich Drepper [Sun, 22 Feb 2009 20:33:03 +0000 (20:33 +0000)]
* po/bg.po: Update from translation team.
Ulrich Drepper [Sun, 22 Feb 2009 20:31:56 +0000 (20:31 +0000)]
Update from translation team.
Jakub Jelinek [Mon, 16 Feb 2009 21:00:15 +0000 (21:00 +0000)]
* stdlib/monetary.h: Uglify function parameter names.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2009-02-16 Jakub Jelinek <jakub@redhat.com>
* stdlib/monetary.h: Uglify function parameter names.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* resolv/netdb.h: Likewise.
* resolv/arpa/nameser.h: Likewise.
* resolv/resolv.h: Likewise.
* argp/argp.h: Likewise.
* locale/langinfo.h: Likewise.
* io/sys/stat.h: Likewise.
* posix/spawn.h: Likewise.
* nis/rpcsvc/nislib.h: Likewise.
* malloc/obstack.h: Likewise.
* sysdeps/ia64/bits/link.h: Likewise.
* sysdeps/i386/bits/link.h: Likewise.
* sysdeps/s390/bits/link.h: Likewise.
* sysdeps/powerpc/bits/link.h: Likewise.
* sysdeps/x86_64/bits/link.h: Likewise.
* sysdeps/sparc/bits/link.h: Likewise.
* sysdeps/sh/bits/link.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise.
* sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
Jakub Jelinek [Mon, 16 Feb 2009 17:19:19 +0000 (17:19 +0000)]
* soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,
FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of
_FP_UNPACK_RAW_2, fix up first argument.
2008-12-01 Fredrik Unger <fred@tree.se>
* soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D,
FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of
_FP_UNPACK_RAW_2, fix up first argument.
Ulrich Drepper [Sun, 15 Feb 2009 23:43:36 +0000 (23:43 +0000)]
* sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function.
(GET_NPROCS_PARSER): Change parameters and use next_line.
(__get_nprocs): Rewrite to not use stdio routines.
* sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER):
Change parameters and use next_line.
Ulrich Drepper [Fri, 13 Feb 2009 23:36:40 +0000 (23:36 +0000)]
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Define
LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0).