Andreas Schwab
def7fbd6c6
Update longlong.h from GCC
2011-05-23 11:53:24 -04:00
Andreas Schwab
f50ef8f1ef
Fix sysconf compilation for !HP_TIMING_AVAIL archs
2011-05-23 11:51:12 -04:00
Ulrich Drepper
f2962a7195
Add a few more alloca size checks
2011-05-22 23:04:16 -04:00
Ulrich Drepper
de7ce8f171
Fix flags parameter value passed to pltenter and pltexit
2011-05-22 21:30:31 -04:00
Ulrich Drepper
05bb4a68ad
Define CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
2011-05-21 17:20:41 -04:00
Ulrich Drepper
7ea72f9996
Always fill output buffer in XPG strerror function
2011-05-21 12:11:36 -04:00
Ulrich Drepper
7e4afad5bc
Nicer output for negative error numbers in strerror_r
2011-05-21 12:09:23 -04:00
Ulrich Drepper
8e211fecca
Fix CP1258 conversion
...
a5 ec was mishandled and the other direction appropriately so, too.
2011-05-21 11:33:05 -04:00
Ulrich Drepper
f7d82dc9e0
Fix configure visibility tests
2011-05-21 08:00:14 -04:00
Ulrich Drepper
cc9e536dac
Fix handling of LC_CTYPE in locale name handling
2011-05-21 02:06:45 -04:00
Ulrich Drepper
aec84f5395
Set stream errors in more cases
...
Also avoid unnecessarily setting errno when testing for TTY.
2011-05-21 00:42:06 -04:00
Ulrich Drepper
34a9094f49
Don't unconditionally use alloca in gaih_inet
2011-05-20 23:46:03 -04:00
Reuben Thomas
78e64fdcaa
Update documentation in regex.h
2011-05-20 09:14:03 -04:00
Ryan S. Arnold
457bddfc2a
Prevent Altivec and VSX insns on PowerPC64 when no FPRs or VRs are avail.
...
(cherry picked from commit 4749a0058b
)
Conflicts:
ChangeLog
2011-05-20 06:34:48 -04:00
Andreas Schwab
a4527b51d4
Remove __libc_alloca_cutoff workaround
2011-05-19 21:15:22 -04:00
Ulrich Drepper
ed690b2f24
Cleanup namespace use.
2011-05-19 21:09:29 -04:00
H.J. Lu
8db736347c
Fix typo in x86-64 powl
2011-05-18 19:50:48 -04:00
H.J. Lu
0a197a9dfe
Fix fileops.c build for old kernels
2011-05-17 01:45:49 -04:00
Ulrich Drepper
ee30c380b8
Update GB18030 to 2005 version
2011-05-17 01:42:27 -04:00
Aharon Robbins
a4b89fd846
Update RE_SYNTAX*_AWK constants in regex.h
2011-05-16 10:28:44 -04:00
Ulrich Drepper
ea389b12b3
Handle long variable names in putenv
2011-05-16 10:13:54 -04:00
Ulrich Drepper
68a3f91fca
Fix reporting of invalid timeouts in emulated pselect
2011-05-16 09:35:51 -04:00
Ulrich Drepper
15cc7dd182
Fix test for error_one_per_line mode in error
2011-05-16 09:10:36 -04:00
Ulrich Drepper
f3799213a3
Remove shortcut for call of chown
...
The UID might differ, too. Just call chown unconditionally.
2011-05-16 01:43:56 -04:00
Ulrich Drepper
d79a9c949c
Cleanup x86-64 sys/user.h
2011-05-16 01:35:07 -04:00
Ulrich Drepper
56e5eb4619
Avoid potential deadlock in mtrace
...
The _dl_addr function might have to call malloc which would lead
to a deadlock. Avoid by calling _dl_addr early.
2011-05-16 00:58:33 -04:00
Ulrich Drepper
6ce7537960
Remove USE_MTRACE_FILE support from mtrace
2011-05-16 00:22:16 -04:00
Ulrich Drepper
94b7cc3711
Fix a few problems in fopen and freopen
...
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does
not support an aotmic operation.
freopen should reuse the file descriptor for the stream. This is
especially important for calls to change the standard streams (stin,
stdout, stderr).
2011-05-15 15:28:46 -04:00
Ulrich Drepper
bd25564e1e
Provide more helpful error message in getopt
...
If provide with an ambiguous long option we now show all the possibilities.
2011-05-15 13:35:09 -04:00
Ulrich Drepper
c84cfef4ec
Update configure helper scripts
2011-05-15 12:17:01 -04:00
Ulrich Drepper
3b85df2787
sysconf on Linux/ia64 reported outdate versions for some options
...
The code is also cleaned up to avoid inefficiencies.
2011-05-15 11:18:10 -04:00
Ulrich Drepper
15a856b109
Make stack canary value harder to read through read overflow
2011-05-15 10:59:07 -04:00
Ulrich Drepper
05f399e634
Use non-cancelable interfaces in setup code
2011-05-15 09:40:30 -04:00
Ulrich Drepper
10a52685af
Fix typo in last checkin
...
I referenced the attachment, not th eBZ number
2011-05-15 08:33:54 -04:00
Ulrich Drepper
94ecc67da8
Add entry for Sorani language
2011-05-15 08:32:57 -04:00
Ulrich Drepper
f8a3b5bf8f
Use mmap for allocation of buffers used for __abort_msg
2011-05-15 00:34:48 -04:00
Martin von Gagern
d26dfc60ed
Fix handling of static TLS in dlopen'ed objects
...
When dynamically loading a library along with several dependencies, calls to
_dl_add_to_slotinfo and _dl_update_slotinfo can become intermixed. As a
consequence, _dl_update_slotinfo will update the generation counter of the dtv
although not all of the slots belonging to that generation have been added.
Subsequent calls to _dl_add_to_slotinfo will add more slots to the same
generation, for which no storage will be allocated, as the dtv generation
checks will claim no work is necessary. This will lead to uninitialized dtv
entries and will likely cause a SIGSEGV when thread local variables are
accessed.
2011-05-14 21:25:43 -04:00
Ulrich Drepper
2fc54d6f9f
Fix initialization of optimization values for AIO
2011-05-14 19:30:37 -04:00
Ulrich Drepper
98d76b46d2
Fix handling of conversion problem in CP932 module
2011-05-14 11:37:36 -04:00
Ulrich Drepper
da3c19ef5a
Fix potential problem with out-of-scope buffer
2011-05-14 11:13:31 -04:00
Ulrich Drepper
ca408c157c
Initialize variable in _IO_new_file_close_it
...
The last change left a variable in some situations uninitialized.
2011-05-14 10:59:54 -04:00
Ulrich Drepper
d6f67f7d83
Handle recursive calls in backtrace better
2011-05-14 10:46:17 -04:00
Ulrich Drepper
0656e90edc
Optimize conversion of single character in gconv
2011-05-14 01:03:08 -04:00
Ulrich Drepper
1af4e29837
Fix handling of incomplete character storage in state
...
If iconv is called more than once in a row for adding bytes to the sequence
while still remain under the minimum size of a character and if STORE_REST
is defined, we didn't consume any input. Fix that.
2011-05-14 00:53:21 -04:00
Andreas Schwab
da62f81bdd
Add support for generated PIE link rules
2011-05-13 23:31:43 -04:00
Ulrich Drepper
20030ae6d7
Fix error messages in test.
2011-05-13 21:10:29 -04:00
Ulrich Drepper
fcabc0f8b1
Fix file descriptor position after fclose
...
fclose should leave the file descriptor position after the last read
or written byte.
2011-05-13 21:08:45 -04:00
Piotr Bury
320a5dc07b
Fix resizing able for unique symbols when adding symbol for copy relocation
2011-05-12 21:59:09 -04:00
Ulrich Drepper
f574184a0e
Fix sched_setscheduler call in spawn implementation
2011-05-11 23:58:02 -04:00
Ulrich Drepper
e1fb097f44
Report write error in addmnt even for cached streams.
2011-05-11 23:37:25 -04:00
Ulrich Drepper
eac80ce2fa
Fix typo.
2011-05-11 12:02:24 -04:00
Ulrich Drepper
22836f52e3
Fix up testing for valid $ORIGIN use
2011-05-11 00:15:38 -04:00
Ulrich Drepper
7b3b0b2a63
More configurability for secondary group lookup
...
Together with a previous patch which introduced the initgroups
entry in nsswitch.conf this patch allows more customization of
the lookups for initgroups/getgrouplist. Nothing changes if
the groups entry in nsswitch.conf is used. If the initgroups entry
is used instead the code now doesn't automatically continue looking
for more entries aftedr a successful lookup. Instead the normal
rules are followed which do specify that by default no more
service is consulted. This can be overwritten with
[SUCCESS=continue]
appropriately placed in the line.
2011-05-10 00:36:29 -04:00
Ulrich Drepper
24c55fb3b3
Just BZ annotations
2011-05-09 23:29:28 -04:00
Ulrich Drepper
be97a69ebe
Add support for CP770, CP771, CP772, CP773, and CP774
2011-05-09 23:15:39 -04:00
Ulrich Drepper
c1e9e399b3
Add ary language entry.
2011-05-09 18:49:24 -04:00
Ulrich Drepper
96b4b1b04e
Support Colon Sign
...
Used in the Costa Rican locale and now also in the El Salvadorian
locale.
2011-05-09 18:37:52 -04:00
Kevin Bortis
bdc2f971ee
Add wae_CH locale
2011-05-09 14:04:43 -04:00
Ulrich Drepper
2952b11705
Use appropriate type for return value checking
2011-05-09 13:15:01 -04:00
Ulrich Drepper
2a81eaa5a2
Transliterate U20B9.
2011-05-09 11:53:58 -04:00
Ulrich Drepper
6fb2dde3f1
Make complete getcwd work in rtld
2011-05-08 14:53:20 -04:00
Ulrich Drepper
7fb90fb89b
Fix Linux getcwd for long paths
...
The getcwd syscall (so far?) can only handle path up to one page
in size. There is no limit about directory hierarchy depth, though,
and the POSIX getcwd is supposed to handle this. In that case fall
back to the generic getcwd.
Additionally, optimize the generic getcwd to use openat when possible
to change the asymptotic performance from O(N^2) to O(n).
2011-05-08 08:37:19 -04:00
Ulrich Drepper
28377d1bf5
Optimize fdopendir a bit.
...
Don't call fcntl(F_SETFD) unnecessarily.
2011-05-08 00:48:30 -04:00
Alan Modra
66bdbaa452
static tls memory leak on TLS_DTV_AT_TP archs
2011-05-07 21:27:51 -04:00
Ulrich Drepper
c1e9ea3517
Doc fixes.
2011-05-07 13:30:39 -04:00
Jonathan Nieder
9572119174
Actually undefine ARG_MAX from <linux/limits.h>
2011-05-07 13:20:33 -04:00
Ulrich Drepper
f87dfb1f11
Backport BIND code to query name as TLD.
2011-05-07 13:05:19 -04:00
Ulrich Drepper
47c3cd7a74
Allow $ORIGIN to reference trusted directoreis in SUID binaries.
2011-05-07 11:44:26 -04:00
Paul Pluzhnikov
8a35c9120f
Add missing {__BEGIN,__END}_DECLS to sys/sysmacros.h
2011-05-07 09:03:36 -04:00
Ulrich Drepper
acd41f47ea
Report if no record is found by initgroups in nss_files.
2011-05-06 12:54:12 -04:00
Andreas Schwab
597df64714
Install rpc/netdb.h again
2011-05-06 07:46:42 -04:00
Paul Pluzhnikov
b9af13014f
Use --{start,end}-group to handle circular dependency between libgcc.a and libc.a.
2011-05-05 15:37:07 -07:00
Andreas Schwab
4e34d5f589
Don't use removed rpc headers
2011-05-05 07:36:40 -04:00
Andreas Schwab
00ee369c1c
ldconfig: don't crash on empty path in config file
2011-05-03 13:44:25 -04:00
Maciej Babinski
0b592a30f5
getaddrinfo(AF_INET6) does not return scope_id info provided by NSS modules
2011-05-02 21:11:17 -04:00
Ulrich Drepper
6e04cbbe79
Fix pathconf(_PC_BUF_SIZE).
2011-05-02 20:59:51 -04:00
Bruno Haible
e4ecafe004
Fix getnameinfo flags parameter type.
2011-05-01 21:36:43 -04:00
Ulrich Drepper
125ee683b3
Add finer grained control for initgroups lookups to NSS.
2011-04-29 11:16:30 -04:00
Eric Blake
b722481ac2
Use al possible bytes from fopen mode string.
2011-04-22 23:40:57 -04:00
H.J. Lu
4df46dbda7
Fix "make xcheck" in sunrpc.
2011-04-22 23:31:52 -04:00
Ulrich Drepper
e84142d2a9
Fix reallocation bug in last nss_files change.
2011-04-21 12:07:52 -04:00
Ulrich Drepper
877175d8ea
Fix build problem in sunrpc.
2011-04-20 14:02:41 -04:00
Ulrich Drepper
ab8eed78a6
Define initgroups callback for nss_files.
2011-04-19 13:43:03 -04:00
Richard Sandiford
e3d8f58414
elf.h: Define R_ARM_IRELATIVE reloc type.
2011-04-19 09:38:42 -07:00
Ulrich Drepper
af190f4565
Update Russian translation.
2011-04-19 07:27:42 -04:00
Ulrich Drepper
53cf59efd8
Add before-compile to dependencies for librpc_compat_pic objects.
2011-04-17 22:52:11 -04:00
Mike Frysinger
4c559bcdf3
Fix static linking with checking x86/x86-64 memcpy.
2011-04-17 22:20:47 -04:00
Andreas Schwab
4420675c9d
Fix POWER4/POWER7 optimized strncmp to not read past differing bytes
2011-04-17 22:03:53 -04:00
Ulrich Drepper
75ea32abcd
Fix FPU context handling in getcontext on x86-64.
...
fnstenv on x86-64 seems to clear the state. Work around.
2011-04-17 21:51:26 -04:00
Andreas Krebbel
2739047682
Use .machine to prevent AS from complaining about z9-109 instructions in iconv modules
2011-04-17 20:43:59 -04:00
Andreas Krebbel
1044270502
Skip extra zeroes when searching auxv on s390
2011-04-17 20:41:45 -04:00
Ulrich Drepper
7b57bfe598
Obsolete RPC implementation in libc.
2011-04-16 21:59:36 -04:00
Ulrich Drepper
e6c6149412
Fix memory leak in TLS of loaded objects.
2011-04-10 22:43:01 -04:00
Andreas Schwab
34fe483e12
Don't leave empty element in rpath when skipping an element
2011-04-09 14:55:26 -04:00
Andreas Schwab
f12a32e6f0
Make ppc sync_file_range cancelable.
2011-04-09 11:07:18 -04:00
Ulrich Drepper
38a7d692fc
Fix typo in comment.
2011-04-09 11:01:37 -04:00
Andreas Schwab
e451d22b22
Maintain stack alignment in ____longjmp_chk on x86_64
2011-04-07 16:23:52 -04:00
Andreas Schwab
821ae7137b
Revert "Fix strncmp page test to limit length to size of object"
...
This reverts commit e513f34605
.
2011-04-07 08:21:00 +02:00
Andreas Schwab
e513f34605
Fix strncmp page test to limit length to size of object
2011-04-05 13:45:23 +02:00
Ulrich Drepper
8cb700c0f3
Fix typo in CL.
2011-04-05 06:44:05 -04:00