Ulrich Drepper [Thu, 8 Apr 2010 22:57:39 +0000 (15:57 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
ChangeLog
Andreas Schwab [Thu, 8 Apr 2010 22:44:55 +0000 (15:44 -0700)]
Fix fallocate error return on i386.
Ulrich Drepper [Thu, 8 Apr 2010 22:32:51 +0000 (15:32 -0700)]
Fix cproj implmentation.
Roland McGrath [Thu, 8 Apr 2010 22:29:19 +0000 (15:29 -0700)]
Fix libc-abis rules to be correct for add-on ports.
Ulrich Drepper [Thu, 8 Apr 2010 15:00:12 +0000 (08:00 -0700)]
More NEWS for 2.12.
Ulrich Drepper [Thu, 8 Apr 2010 14:59:38 +0000 (07:59 -0700)]
kok_IN locale should have been support for some time.
Ulrich Drepper [Thu, 8 Apr 2010 14:15:31 +0000 (07:15 -0700)]
Hook up sq_MK locale.
Agron Selimaj [Thu, 8 Apr 2010 14:15:17 +0000 (07:15 -0700)]
Albanian language locale for Macedonia
Ulrich Drepper [Thu, 8 Apr 2010 05:59:40 +0000 (22:59 -0700)]
Add tests for recent getopt changes.
Eric Blake [Thu, 8 Apr 2010 00:56:20 +0000 (17:56 -0700)]
getopt mishandles optstring of "+:"
Eric Blake [Thu, 8 Apr 2010 00:28:36 +0000 (17:28 -0700)]
getopt mistakenly allows '-;' as short option
Eric Blake [Thu, 8 Apr 2010 00:16:27 +0000 (17:16 -0700)]
Fix -W with optional parameters in getopt.
According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'. But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.
Agron Selimaj [Wed, 7 Apr 2010 20:08:19 +0000 (13:08 -0700)]
Fix Mr. Mrs. Ms. and Miss in sq_AL
Ulrich Drepper [Wed, 7 Apr 2010 14:37:39 +0000 (07:37 -0700)]
Implement new mode for NIS passwd.adjunct.byname table.
The passwd.adjunct.byname table will not be used to fill in password fields
in the passwd.byname replies. Instead it is used to synthesize the
shadow.byname table, should it be missing. This is a useful mode in some
installations involving Solaris.
H.J. Lu [Wed, 7 Apr 2010 13:38:35 +0000 (06:38 -0700)]
Fix non-add-on handling of libc-abis.
Joseph Myers [Wed, 7 Apr 2010 00:32:29 +0000 (17:32 -0700)]
Fix libc-abis handling for add-ons.
Paul Pluzhnikov [Tue, 6 Apr 2010 03:17:37 +0000 (20:17 -0700)]
Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.
Joseph Myers [Tue, 6 Apr 2010 03:14:43 +0000 (20:14 -0700)]
elf/elf.h (ELFOSABI_ARM_AEABI): Define.
Roland McGrath [Tue, 6 Apr 2010 03:07:39 +0000 (20:07 -0700)]
Move unwind-resume code from NPTL to sysdeps/gnu.
Roland McGrath [Tue, 6 Apr 2010 02:44:16 +0000 (19:44 -0700)]
elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.
Ulrich Drepper [Mon, 5 Apr 2010 20:10:56 +0000 (13:10 -0700)]
Update dutch translation.
Ulrich Drepper [Mon, 5 Apr 2010 19:35:48 +0000 (12:35 -0700)]
Define thousands separator handling for numbers in pt_BR.
Ulrich Drepper [Mon, 5 Apr 2010 19:21:20 +0000 (12:21 -0700)]
Handle DNS timeouts in old-style lookkup code.
Ulrich Drepper [Mon, 5 Apr 2010 18:26:43 +0000 (11:26 -0700)]
Fix aux cache handling in ldconfig with chroot.
Ulrich Drepper [Mon, 5 Apr 2010 05:48:55 +0000 (22:48 -0700)]
Fix printing error messages in getopt.
Ulrich Drepper [Mon, 5 Apr 2010 05:01:52 +0000 (22:01 -0700)]
Declare iruserok and iruserok_af.
Ulrich Drepper [Sun, 4 Apr 2010 18:28:36 +0000 (11:28 -0700)]
Add test case for last argp bug.
Sergey Poznyakoff [Sun, 4 Apr 2010 17:04:55 +0000 (10:04 -0700)]
Fix option aliasing in argp.
Marcelo E. Magallon [Sun, 4 Apr 2010 09:14:37 +0000 (02:14 -0700)]
Various changes to the es_CR locale.
Ulrich Drepper [Sun, 4 Apr 2010 09:11:22 +0000 (02:11 -0700)]
Fix weekday definition for fr_BE locale.
Ulrich Drepper [Sun, 4 Apr 2010 09:08:37 +0000 (02:08 -0700)]
Handle POSIX-compliant errno value of unlink in remove.
Ulrich Drepper [Sun, 4 Apr 2010 08:51:01 +0000 (01:51 -0700)]
Fix definition and testing of S_ISSOCK.
Ulrich Drepper [Sun, 4 Apr 2010 08:02:09 +0000 (01:02 -0700)]
Fix retrieving of kernel header version.
Ulrich Drepper [Sun, 4 Apr 2010 07:25:46 +0000 (00:25 -0700)]
Fix concurrent handling of __cpu_features.
Ulrich Drepper [Sun, 4 Apr 2010 06:51:40 +0000 (23:51 -0700)]
Handle unnecessary padding in getdents64.
The getdents64 syscall adds on 32-but platforms padding which isn't needed
and not included in the userlevel data structure definition. We have to
avoid copying those padding bytes in the readdir64_r function.
Ulrich Drepper [Sun, 4 Apr 2010 06:10:16 +0000 (23:10 -0700)]
Add missing include.
Ulrich Drepper [Sun, 4 Apr 2010 03:36:59 +0000 (20:36 -0700)]
Fix changes to interface list during getifaddrs calls.
Ryan S. Arnold [Sun, 4 Apr 2010 02:20:29 +0000 (19:20 -0700)]
Remove incorrect paring of /proc/stat etc.
Ulrich Drepper [Sun, 4 Apr 2010 00:56:51 +0000 (17:56 -0700)]
Document problem with NATs in getaddrinfo.
Ulrich Drepper [Sat, 3 Apr 2010 20:45:02 +0000 (13:45 -0700)]
Missing memory barrier in DES initialization.
Ulrich Drepper [Sat, 3 Apr 2010 16:47:01 +0000 (09:47 -0700)]
One more sanity check in free.
Ulrich Drepper [Sat, 3 Apr 2010 16:43:10 +0000 (09:43 -0700)]
Fix set_max_fast in malloc.
David S. Miller [Wed, 31 Mar 2010 21:07:39 +0000 (14:07 -0700)]
Fix build of mmap64.
Ulrich Drepper [Tue, 30 Mar 2010 05:31:44 +0000 (22:31 -0700)]
Define MSG_WAITFORONE.
Ulrich Drepper [Tue, 30 Mar 2010 01:43:06 +0000 (18:43 -0700)]
Fix typos from last patch.
Thomas Schwinge [Mon, 29 Mar 2010 22:13:53 +0000 (15:13 -0700)]
Handle platforms without aux vector
Ulrich Drepper [Sat, 27 Mar 2010 13:19:50 +0000 (06:19 -0700)]
Optimize __getpagesize a bit.
Ulrich Drepper [Sat, 27 Mar 2010 13:19:03 +0000 (06:19 -0700)]
Whitespace fixes.
Ulrich Drepper [Sat, 27 Mar 2010 13:06:35 +0000 (06:06 -0700)]
Fix handling of __need_mbstate_t and __need_wint_t.
Like the real header, the libc-internal wrapper for wchar.h needs to
undefine the macros so that if the header was already included before
the macros don't stay defined and cause problems later.
Ulrich Drepper [Sat, 27 Mar 2010 12:48:17 +0000 (05:48 -0700)]
Fix one more issue with the glob patch.
Ulrich Drepper [Sat, 27 Mar 2010 11:48:18 +0000 (04:48 -0700)]
Fix comments and indentation.
Ulrich Drepper [Sat, 27 Mar 2010 11:11:14 +0000 (04:11 -0700)]
Define miss_F_GETOWN_EX only if needed.
When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24,
there are several warnings like this:
../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
Ulrich Drepper [Fri, 26 Mar 2010 20:33:26 +0000 (13:33 -0700)]
Shorted ChangeLog.
Richard Henderson [Fri, 26 Mar 2010 16:51:57 +0000 (09:51 -0700)]
Mark _dl_random attribute_relro in the header file.
It's already so marked in dl-sysdep.c. Failure to so mark
in the header file leads the compiler to believe that the
variable should be addressable via the .sdata section.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 16:48:44 +0000 (09:48 -0700)]
Fix printf format warning for si_band.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 16:21:34 +0000 (09:21 -0700)]
Finish locale_data -> __locale_data transition.
The transition that was begun here
f095bb7204d80f609a73a22796edd6cffd4c6add
was not complete.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Richard Henderson [Fri, 26 Mar 2010 16:16:21 +0000 (09:16 -0700)]
Don't take the address of a void object.
GCC 4.5 warns about "extern void _end; &end;".
Use char[] instead, as that also doesn't fall foul
of a target's .sdata optimizations.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Ulrich Drepper [Fri, 26 Mar 2010 12:52:39 +0000 (05:52 -0700)]
Fix one case of last checkin.
If the v4 lookup failed but v6 succeeded we treat this as a success.
Ulrich Drepper [Fri, 26 Mar 2010 12:40:27 +0000 (05:40 -0700)]
Don't abort immediately on successful lookup in getaddrinfo.
When not using gethostbyname4 methods we immediately aborted the loop
over the nss modules on the first successful lookup. While this is
almost always what is wanted the nsswitch.conf file allows to select
something different.
Andreas Schwab [Fri, 26 Mar 2010 12:35:50 +0000 (05:35 -0700)]
Fix spurious UNAVAIL status is getaddrinfo
Ulrich Drepper [Fri, 26 Mar 2010 12:09:55 +0000 (05:09 -0700)]
Remove stale reference to website
Ulrich Drepper [Fri, 26 Mar 2010 11:00:10 +0000 (04:00 -0700)]
Remove unwanted malloc changes, again.
Ulrich Drepper [Fri, 26 Mar 2010 02:45:20 +0000 (19:45 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
Conflicts:
ChangeLog
Ulrich Drepper [Thu, 25 Mar 2010 11:01:33 +0000 (04:01 -0700)]
Add support for new clocks.
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
Andreas Schwab [Thu, 25 Mar 2010 10:35:05 +0000 (11:35 +0100)]
Fix typo in cuserid
Chris Demetriou [Thu, 25 Mar 2010 00:10:47 +0000 (17:10 -0700)]
ocale-archive differs between 32 and 64 bit platforms
Ulrich Drepper [Thu, 25 Mar 2010 00:02:57 +0000 (17:02 -0700)]
Fix Linux getlogin{_r,} implementation
The old implementation uses fd 0 to determine the login TTY. This
was needed because using /dev/tty it is not possible to deduce the
login TTY. For some time now there is the pseudo-file
/proc/self/loginuid which directly helps us to find the user. Prefer
using this file. It also works if stdin is closed, redirected, or
re-opened.
Jonathan Geisler [Wed, 24 Mar 2010 23:02:15 +0000 (16:02 -0700)]
calls to cuserid() can result in buffer overruns and/or overflows
Priit Laes [Wed, 24 Mar 2010 22:50:02 +0000 (15:50 -0700)]
Change first_weekday and first_workday in et_EE locale
Ulrich Drepper [Wed, 24 Mar 2010 21:59:43 +0000 (14:59 -0700)]
Allow variable shift values in mmap2.
Luis Machado [Wed, 24 Mar 2010 21:46:03 +0000 (14:46 -0700)]
Enable common version of pthread_cond_timedwait to use clock_gettime in VDSO
H.J. Lu [Wed, 24 Mar 2010 19:16:24 +0000 (12:16 -0700)]
Don't define __strpbrk_sse42 in static library
H.J. Lu [Wed, 24 Mar 2010 19:14:03 +0000 (12:14 -0700)]
Test case for last x86 memcmp problem
Ulrich Drepper [Wed, 24 Mar 2010 19:10:51 +0000 (12:10 -0700)]
Add test for last glob bug.
Ulrich Drepper [Wed, 24 Mar 2010 18:58:05 +0000 (11:58 -0700)]
Fix glob with empty pattern
Ulrich Drepper [Wed, 24 Mar 2010 17:14:22 +0000 (10:14 -0700)]
Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKING
Ulrich Drepper [Wed, 24 Mar 2010 13:59:02 +0000 (06:59 -0700)]
Unify wint_t handling in wchar.h and wctype.h.
Fix a few typos in the process.
Ulrich Drepper [Thu, 18 Mar 2010 20:15:27 +0000 (13:15 -0700)]
Future safety in checking ELF header.
If we should use further fields in the e_ident array in the ELF header
of files we want zero to mean the default. Enforce zero for now so
that non-optional features indicated by nonzero values are not go
unnoticed when using an old dynamic linker.
H.J. Lu [Thu, 18 Mar 2010 18:40:46 +0000 (11:40 -0700)]
Fix sysdeps/i386/i686/multiarch/memcmp-ssse3.S
Paul Pluzhnikov [Wed, 17 Mar 2010 16:01:34 +0000 (09:01 -0700)]
Fix missing dependency of localedata tests on gconv-modules
Andreas Schwab [Wed, 17 Mar 2010 13:57:38 +0000 (06:57 -0700)]
Fix debug statements in resolver
Ulrich Drepper [Wed, 17 Mar 2010 09:43:12 +0000 (02:43 -0700)]
A few more archs have IFUNC support.
Ulrich Drepper [Wed, 17 Mar 2010 06:34:59 +0000 (23:34 -0700)]
Extended ELF ABI version handling only for Linux.
If the OSABI is generic we should not allow the ABI version to be nonzero.
Move all the new functionality into Linux-specific files.
Ulrich Drepper [Tue, 16 Mar 2010 21:39:45 +0000 (14:39 -0700)]
Also update Linux-specific VALID_ELF_ABIVERSION definition.
Ulrich Drepper [Tue, 16 Mar 2010 11:47:33 +0000 (04:47 -0700)]
Missing files for libc ABI handling.
Ulrich Drepper [Mon, 15 Mar 2010 18:50:59 +0000 (11:50 -0700)]
Update copyright year.
Ulrich Drepper [Mon, 15 Mar 2010 18:44:58 +0000 (11:44 -0700)]
Implement handling of libc ABI in ELF header.
Ulrich Drepper [Fri, 12 Mar 2010 16:44:10 +0000 (08:44 -0800)]
Define UMOUNT_NOFOLLOW.
Andreas Schwab [Fri, 12 Mar 2010 15:57:19 +0000 (07:57 -0800)]
Don't underestimate length of DST substitution
Roland McGrath [Thu, 11 Mar 2010 08:44:28 +0000 (00:44 -0800)]
elf.h: Add missing R_X86_64_*64 relocs.
Ulrich Drepper [Wed, 10 Mar 2010 15:28:04 +0000 (07:28 -0800)]
Fix whitespace issues.
Luis Machado [Wed, 10 Mar 2010 15:14:16 +0000 (07:14 -0800)]
power7-optimized 64-bit and 32-bit memcpy
Ulrich Drepper [Wed, 10 Mar 2010 04:21:12 +0000 (20:21 -0800)]
Fix a few more problem with the recent setxid changes.
David S. Miller [Tue, 9 Mar 2010 14:42:53 +0000 (06:42 -0800)]
sparc: Optimize strlen using techniques from powerpc implementation.
David S. Miller [Tue, 9 Mar 2010 14:37:45 +0000 (06:37 -0800)]
sparc32: Fix non-v9 build failure in memcpy.
David S. Miller [Tue, 9 Mar 2010 11:48:24 +0000 (03:48 -0800)]
sparc64: Fix handling of R_SPARC_TLS_LE_* relocations.
Andreas Schwab [Mon, 8 Mar 2010 16:01:14 +0000 (17:01 +0100)]
Revert to original version of setxid race fix
Ulrich Drepper [Mon, 8 Mar 2010 02:22:52 +0000 (18:22 -0800)]
Fix one left over from last change to statvfs.
Ulrich Drepper [Sat, 6 Mar 2010 23:40:50 +0000 (15:40 -0800)]
Handle ext4 and logfs in statvfs functions.
Yann Droneaud [Sat, 6 Mar 2010 00:52:31 +0000 (16:52 -0800)]
Fix DEBUG statements in resolv/res_send.c