Ulrich Drepper
5c0b8d9013
Fix quoting in some installed shell scripts
2011-06-28 18:14:01 -04:00
Ulrich Drepper
9113ea1f3f
Remove the --experimental-malloc option
...
It's well tested, make it the default.
2011-06-28 16:53:01 -04:00
Andreas Schwab
a417218158
Fix crash in GB18030 encoder
2011-06-28 03:15:30 -04:00
Roland McGrath
62bede1313
Distinguish configure check for .ctors/.dtors header/trailers.
2011-06-27 20:39:05 -07:00
Roland McGrath
78a7eee7fa
Fix missing .ctors/.dtors lead word in soinit
2011-06-27 20:26:54 -07:00
Ulrich Drepper
034807a9cb
Fix handling of RES_USE_INET6 big in nscd
...
This fixes BZ #12350 also for nscd.
2011-06-27 13:10:44 -04:00
Ulrich Drepper
4902da17c8
Add missing HAVE_SENDFILE definition
2011-06-27 12:29:04 -04:00
Ulrich Drepper
5ce33a6295
Minimal cleanup in innetgr.
2011-06-27 10:57:37 -04:00
H.J. Lu
c2344f56e4
Use __gettimeofday instead of gettimeofday
2011-06-26 03:08:01 -04:00
Ulrich Drepper
68468076c2
We don't use linkobj/libc.so at runtmie, no need to check for text rels
...
This also works around a toolchain issu.
2011-06-26 03:04:07 -04:00
H.J. Lu
acb0d739c5
Fix unwind info in 32bit SSE2/SSSE3 strncpy
2011-06-25 01:32:27 -04:00
H.J. Lu
8912479f9e
Improved st{r,p}{,n}cpy for SSE2 and SSSE3 on x86-64
2011-06-24 15:14:22 -04:00
Ulrich Drepper
d5495a116c
Work around limit in writev in 2.6.38+ kernels
2011-06-24 14:59:17 -04:00
H.J. Lu
0b1cbaaef5
Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32
2011-06-24 14:15:32 -04:00
Marek Polacek
07f494a027
nss_db: Quash read implicit declaration warning
...
In the function `internal_setent' is used the function read, but the forward
declaration is missing. Thusly fixed.
2011-06-24 02:57:27 -04:00
Ulrich Drepper
fa3fc0fe5f
Avoid __check_pf calls in getaddrinfo unless really needed
2011-06-22 15:00:54 -04:00
Andreas Schwab
e12df166d3
Fix Ipv4&IPv6 lookup in getaddrinfo
...
Problem introduced in the last patch.
2011-06-22 14:35:49 -04:00
Ulrich Drepper
84e2a551a7
Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation
2011-06-22 10:32:07 -04:00
Ulrich Drepper
852eb34d5c
Rate limit expensive _SC_NPROCESSORS_ONLN computation
2011-06-22 09:50:39 -04:00
Ulrich Drepper
6e502e1945
Clean up after kernel sigcontext header mess
2011-06-22 08:32:55 -04:00
Ulrich Drepper
51f9aa6a1e
Fix crash in unsuccessful uses of nss_db
2011-06-21 17:09:44 -04:00
Ulrich Drepper
c0244a9ded
Fix IPv6-only lookups through getaddrinfo
...
A recent patch introduced a problem where IPv6 lookups happily returned
IPv4 addresses.
2011-06-21 17:03:38 -04:00
Ulrich Drepper
c5e3c2ae59
Minor optimization of getaddrinfo after recent patch
2011-06-21 13:06:42 -04:00
Ulrich Drepper
75d39ff212
Add missing DL_CALL_FCT
2011-06-21 11:23:25 -04:00
David S. Miller
42675c6ff0
Add an elf_ifunc_invoke interface so that architectures can implement
...
the ifunc resolver calls however they wish.
2011-06-20 19:56:40 -07:00
Ulrich Drepper
57912a71cc
Fix typo in recent resolver change which causes segvs
2011-06-15 22:43:58 -04:00
Andreas Schwab
ee22793dd0
Improve 64-bit build
...
An imperfect version of fxstatat64 was used in ld.so.
2011-06-15 21:46:20 -04:00
Ulrich Drepper
77fb911743
Install db-Makefile
2011-06-15 21:26:56 -04:00
Ulrich Drepper
40c1b22cd7
Cleanup of db-XXX.c
2011-06-15 21:06:19 -04:00
Ulrich Drepper
9f2da732e7
Add initgroups lookups to nss_db
2011-06-15 21:06:19 -04:00
Ulrich Drepper
82e9a1f7df
Add initgroups lookup support to getent
2011-06-15 21:06:19 -04:00
Ulrich Drepper
c41af17eed
Fix handling of initgroups database.
2011-06-15 21:06:19 -04:00
Ulrich Drepper
a9e836b040
Optimize hash table generation in makedb
2011-06-15 21:06:19 -04:00
Ulrich Drepper
2666d441c2
Reenable nss_db with a completely new implementation
...
No longer is Berkeley db used. Instead a simple hash function is used.
The database files are not updated once they are created and therefore
no complicated database is needed.
2011-06-15 21:06:18 -04:00
Ulrich Drepper
9ee76b5ae8
Rewrite makedb to avoid using db library
2011-06-15 21:06:18 -04:00
Andreas Jaeger
c71ca1f89c
Quash two memset undeclared warnings.
2011-06-14 13:11:39 -07:00
Ulrich Drepper
3154bfb8c7
Fix memory leak in getaddrinfo
2011-06-13 08:31:50 -04:00
Roland McGrath
decd4e50b6
Better detect total failure of linker script generation.
2011-06-10 23:37:35 -07:00
Roland McGrath
5615eaf264
Quash some new warnings from GCC 4.6.
2011-06-10 22:44:20 -07:00
Roland McGrath
b68e08db76
Use AC_LANG_PROGRAM in nss-crypt check.
2011-06-10 11:09:12 -07:00
Roland McGrath
b350afabd9
Revert -r -> -Wl,-r change.
2011-06-10 10:34:45 -07:00
Roland McGrath
28368601e3
Use -Wl,-r instead of plain -r.
2011-06-09 17:07:50 -07:00
Ulrich Drepper
11988f8f96
Add pldd program
2011-06-09 07:06:21 -04:00
Ulrich Drepper
8621fc3b99
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-06-09 07:03:25 -04:00
David S. Miller
9b849836f5
sparc: Fix LD_BIND_NOW with multiarch.
2011-06-07 19:51:06 -07:00
Ulrich Drepper
e80fab373c
Start 2.15 development
2011-06-07 22:22:10 -04:00
Andreas Krebbel
5a31b2836d
S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
2011-06-07 07:26:27 -04:00
Roland McGrath
069e52f836
Use canonical FSF .texi files for LGPL and FDL texts.
2011-06-06 16:16:55 -07:00
Jakub Jelinek
f16846a5f2
Fix <bits/mqueue2.h> for C++
2011-06-04 14:21:45 -04:00
Ulrich Drepper
06c07b8b9f
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-06-03 07:02:32 -04:00
H.J. Lu
3d29045b5e
Assume Intel Core i3/i5/i7 processor if AVX is available
2011-06-03 07:01:25 -04:00
Ulrich Drepper
8c29731192
Fix typo in stack guard setup code for old kernels
2011-05-31 14:23:01 -04:00
Ulrich Drepper
c8fc0c9169
Don't free non-malloced memory and fix memory leak
2011-05-31 08:45:44 -04:00
Ulrich Drepper
356f8bc660
2.14 release
2011-05-31 00:12:33 -04:00
Ulrich Drepper
5b27a807d5
No need for RANLIB make variable anymore
2011-05-31 00:09:58 -04:00
Ulrich Drepper
41fce8bd09
Also translation messages in .ksh files
2011-05-31 00:09:03 -04:00
Ulrich Drepper
4769ae77fc
Handle DNS server failures in case of AF_UNSPEC lookups correctly
2011-05-30 22:48:47 -04:00
Ulrich Drepper
6b1e7d1992
Handle DSOs without any dependency in ld.so
2011-05-30 12:31:25 -04:00
Ulrich Drepper
4997db7429
One more thinko in CL
2011-05-30 11:57:50 -04:00
Ulrich Drepper
18a84741d8
Fix typo in CL
2011-05-30 11:14:06 -04:00
Ulrich Drepper
01f16ab0a5
Prevent loader from loading itself
2011-05-30 01:55:40 -04:00
Ulrich Drepper
7ae22829af
Restore _res correctly
...
getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups. The restoring didn't allow for the resolver to set
additional bits in _res.
2011-05-29 23:49:49 -04:00
Ulrich Drepper
553149f603
Reference wrong BZ
2011-05-29 22:28:01 -04:00
Ulrich Drepper
873ca50461
Interpret numeric values in shadow file as signed
2011-05-29 22:26:43 -04:00
Ulrich Drepper
652ffab113
Make resolv.conf parsing more compact
2011-05-29 22:07:49 -04:00
Ulrich Drepper
16985fd0c7
Recognize use-vc option in resolv.conf
2011-05-29 21:43:33 -04:00
Ulrich Drepper
c30b7ee2c3
Record when bug 11577 was fixed and by which patch
2011-05-29 21:33:30 -04:00
Ulrich Drepper
0464f746e8
Don't build AVX tests with old compilers
2011-05-29 21:25:58 -04:00
Ulrich Drepper
7d17596c19
Mark malloc hook variables as deprecated
2011-05-29 21:10:23 -04:00
Ulrich Drepper
cf6bbbd701
Declare malloc hook variables as volatile.
2011-05-29 20:40:08 -04:00
Ulrich Drepper
13f1ab36a4
Fix typo in last patch to locarchive.c
2011-05-29 20:26:04 -04:00
Ulrich Drepper
80e2212d8e
Same change for the other siginfi.h files
2011-05-29 20:12:15 -04:00
Ulrich Drepper
b1ebd700c5
Don't document si_code used for raise()
2011-05-29 20:05:30 -04:00
Ulrich Drepper
8887a920a4
Fix unnecessary overallocation due to incomplete character
...
When incomplete characters are found at the end of a string the
code ran amok and allocated lots of memory. Stricter limits
are now in place.
2011-05-28 17:14:30 -04:00
Ulrich Drepper
4f031072a5
Handle failure of _nl_explode_name in all cases
2011-05-28 16:59:30 -04:00
Ulrich Drepper
d0478f0c81
Fix build for platforms with socketcall syscall
2011-05-28 13:18:57 -04:00
Ulrich Drepper
de81b24662
Unify messages
...
Some shell scripts unnecessarily used different formats for some
messages. Unify them to reduce the work of translators.
2011-05-28 09:49:05 -04:00
Ulrich Drepper
c738465a4c
Add support for time syscall in vDSO
2011-05-28 01:53:26 -04:00
Ulrich Drepper
f1f929d74a
Add sendmmsg syscall
2011-05-28 01:43:20 -04:00
Ulrich Drepper
ce67228d57
Set setns system call
2011-05-28 00:53:13 -04:00
Ulrich Drepper
a8509ca540
Use getcpu definition from vDSO on x86-64
2011-05-27 16:09:52 -04:00
Ulrich Drepper
fdc2fefe46
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
NEWS
2011-05-27 08:37:18 -04:00
Ulrich Drepper
e57420c6c6
Add test for last iconv bug
2011-05-27 08:35:44 -04:00
Andreas Schwab
4d07db153e
Fix conversion to ISO-2022-JP-2 with ISO-8859-7 designation
2011-05-27 08:34:00 -04:00
Jakub Jelinek
ea486f691d
Undo accidental change in x86-64 user.h
2011-05-25 16:57:13 -04:00
Ulrich Drepper
6f03843395
Update Japanese translation
2011-05-25 15:14:21 -04:00
Ulrich Drepper
67f86a251e
Define RLIMIT_RTTIME
2011-05-23 15:53:37 -04:00
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