Andreas Schwab
f55ffe58e9
Revert "Don't crash when dependencies are missing"
...
This reverts commit f2092faf2b
.
2011-08-22 10:58:42 +02:00
Andreas Schwab
87162f462e
Fix testsuite link failure
2011-08-22 10:55:32 +02:00
Ulrich Drepper
91b392a4ba
Use ifuncs for time and gettimeofday on x86-64
2011-08-21 13:52:28 -04:00
Ulrich Drepper
775a77e7e4
More optimizations of nss_files
2011-08-20 15:55:44 -04:00
Ulrich Drepper
89f447edba
Minor optimizatin in alias lookup in files NSS module
2011-08-20 15:25:16 -04:00
Ulrich Drepper
001f0a6c7c
Print message that there is no scope instead of being silent
2011-08-20 15:16:42 -04:00
Ulrich Drepper
49c74ba90e
Further improve printing os ELF symbol lookup scope information
2011-08-20 12:59:45 -04:00
Ulrich Drepper
5c43483f0c
Add test for BZ 13114
2011-08-20 09:22:16 -04:00
Andreas Jaeger
a101b025af
Fix fopen (non-existing-file, "re") errno
2011-08-20 09:12:49 -04:00
Ulrich Drepper
fd708658c3
Fix CL entry
2011-08-20 09:01:33 -04:00
Ulrich Drepper
0276a718c0
Fix minor CFI problem in regular x86-64 trampoline
2011-08-20 08:58:44 -04:00
Ulrich Drepper
c88f17668b
Fix CFI info in x86-64 trampolines for non-AVX code
2011-08-20 08:56:30 -04:00
Andreas Schwab
94d7165ffa
Adjust libm test ulps for powerpc
2011-08-20 08:39:39 -04:00
Andreas Schwab
51ccffa074
Use correct scandir64 implementation on ppc64
2011-08-20 08:33:42 -04:00
David S. Miller
c27714f111
Fix tst-writev on non-4K page size
2011-08-17 21:51:21 -04:00
Ulrich Drepper
44f0a71e58
Add rules to build libresolv with SSP flags
2011-08-17 21:36:23 -04:00
Andreas Schwab
8de79a248c
Avoid executable stack in makedb
2011-08-17 10:32:59 -04:00
Ulrich Drepper
c5305d88c7
Fix some problem of 32-bit pldd on 64-bit platforms
2011-08-17 10:31:15 -04:00
Ulrich Drepper
2772459841
Prevent possible race conditions by attaching pldd to all threads
2011-08-17 09:41:23 -04:00
Ulrich Drepper
174baab3f9
Improve printing of lookup scopes
...
The scope of a new object should be printed earlier and when the scope
of an already loaded object is extended only the changes should be
printed.
2011-08-16 16:11:03 -04:00
Ulrich Drepper
794bf65aac
Merge branch 'master' of ssh://sourceware.org/git/glibc
2011-08-16 11:20:14 -04:00
Ulrich Drepper
076fe0152b
Fix printing of scope number
2011-08-16 11:17:15 -04:00
Roland McGrath
85ae058936
More warning patrol, in dead code (sigh).
2011-08-14 19:26:36 -07:00
Ulrich Drepper
f3ed22607e
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-08-14 22:21:54 -04:00
Ulrich Drepper
a60df2c3db
Add missing initialization in service cache in nscd
2011-08-14 22:20:09 -04:00
Roland McGrath
69f6309711
More warning patrol.
2011-08-14 16:42:06 -07:00
Roland McGrath
675456ef83
Clean up locale/Makefile variables for -D switches.
2011-08-14 16:28:51 -07:00
Roland McGrath
5e4287d16f
Warning patrol.
2011-08-14 15:59:11 -07:00
David S. Miller
9c96ff2385
* sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
...
RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2011-08-14 04:09:28 -07:00
Ulrich Drepper
73d7af4f4c
Implement LD_DEBUG=scopes
2011-08-13 22:24:08 -04:00
Ulrich Drepper
1dc277048c
Fix caller information of NSS modules
2011-08-13 12:47:47 -04:00
Ulrich Drepper
f9ddf089f1
Fix compile problem
...
l10nflist compiles for localedef now. Optimize a bit.
2011-08-13 12:21:10 -04:00
Ulrich Drepper
9ac533d31b
Better debug information from ld.so
...
Differentiate between loading as a dependency and loading on request.
2011-08-12 13:20:11 -04:00
Ulrich Drepper
8e999d2962
Minor optimization of popcount in l10nflist
2011-08-11 14:07:04 -04:00
Ulrich Drepper
89edf2e911
Locale-independent parsing in libintl
2011-08-11 14:04:08 -04:00
Ulrich Drepper
2df1f7be58
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-08-11 13:02:45 -04:00
Andreas Schwab
14d9678512
Clean up PLT use for scandirat
2011-08-11 11:41:09 -04:00
David S. Miller
6761ac045d
* sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
...
enum.
* sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2011-08-10 23:09:24 -07:00
Ulrich Drepper
c55fbd1ea7
Implement scandirat function
2011-08-09 09:57:55 -04:00
Ulrich Drepper
879165f25a
Avoid multiple definitions of identical scandir cancellation handler
2011-08-08 13:49:37 -04:00
Ulrich Drepper
16292eddd7
Provide better output in string tests
...
If IMPL is called with a macro for the first parameter the macro does not
get expanded before the string is stored in the impl_t data structure.
2011-08-04 17:47:24 -04:00
Ulrich Drepper
cb7e923b71
Cleanup wcscmp test addition
2011-08-04 17:43:30 -04:00
Liubov Dmitrieva
cff8293390
New comprehensive test for wcscmp
2011-08-04 16:04:15 -04:00
Andreas Schwab
9be9bfcc9d
Properly tokenize nameserver line for servers with IPv6 address
2011-08-04 15:50:48 -04:00
Andreas Schwab
2e96f1c73b
Fix encoding name for IDN in getaddrinfo
2011-08-04 15:42:10 -04:00
Jakub Jelinek
85188888f6
Fix up __kernel_rem_pio2 for FLT_EVAL_METHOD != 0 architectures
2011-08-04 15:40:16 -04:00
Liubov Dmitrieva
5fa16e9b01
Improve x86-32 strcat functions with SSE2/SSSE3
2011-08-04 15:33:38 -04:00
Andreas Schwab
8c1a459f9a
Fix inline strncat/strncmp on x86
2011-08-04 14:59:25 -04:00
Ulrich Drepper
798be72d12
Define SEEK_DATA and SEEK_HOLE
2011-07-23 21:45:57 -04:00
Ulrich Drepper
8accd4dccc
Define AF_NFC and PF_NFC
2011-07-23 20:06:48 -04:00
Ulrich Drepper
cbff0d9689
Update ptrace constants
2011-07-23 19:10:18 -04:00
Ulrich Drepper
9191c04a7e
Adjust test for correct installation
2011-07-23 15:28:31 -04:00
Ulrich Drepper
bba33c289b
One more typo in AVX test
2011-07-23 15:18:13 -04:00
Ulrich Drepper
2ee5518515
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-07-23 00:04:15 -04:00
Ulrich Drepper
1aae088a8a
One more change to XSAVE patch
2011-07-22 23:33:22 -04:00
Ulrich Drepper
8e2045f555
Optimize __init_des_r
2011-07-22 23:25:40 -04:00
Ulrich Drepper
90f139ddd0
Add read barrier protecting DES initialization
2011-07-22 23:19:30 -04:00
Andreas Schwab
1d002f2539
Fix AVX check
2011-07-22 14:33:47 -04:00
Ulrich Drepper
21137f89c5
Fix overflow bug is optimized strncat for x86-64
2011-07-21 12:32:36 -04:00
Ulrich Drepper
a65c0b7a32
Add more tests for strcat and strncat.
2011-07-21 06:56:25 -04:00
Ulrich Drepper
90bb2039e9
Check for overflows in expressions
...
Some passed in values might cause overflows in expressions.
2011-07-20 22:53:58 -04:00
Ulrich Drepper
5644ef5461
Fix check for AVX enablement
...
The AVX bit is set if the CPU supports AVX. But this doesn't mean the
kernel does. Add checks according to Intel's documentation.
2011-07-20 21:21:03 -04:00
Ulrich Drepper
6986b98a18
Force :a_x86_64_ymm to be 16-byte aligned
2011-07-20 14:20:00 -04:00
Andreas Schwab
bfc9dc9bcf
Fix missing include
2011-07-20 14:12:57 -04:00
Ulrich Drepper
702e64bbd5
Updated translations.
2011-07-20 12:38:14 -04:00
Marek Polacek
295e904fe6
Add const attr to gnu_dev_{major,minor,makedev}
2011-07-20 12:35:29 -04:00
Marek Polacek
3ff9459622
dcigettext.c: Add missing bracket
2011-07-20 12:21:52 -04:00
Andreas Schwab
28b59fca7a
Use size_t for strlen results
2011-07-20 11:40:37 -04:00
Andreas Krebbel
19df733e64
S/390: Don't use r11 in INTERNAL_VSYSCALL_NCS macro
2011-07-19 20:29:27 -04:00
Marek Polacek
c8835729b8
_dl_sort_fini: Remove unused argument
2011-07-19 20:27:43 -04:00
Marek Polacek
8991e135f7
elf/cache.c: Remove unnecessary condition
2011-07-19 20:17:51 -04:00
Marek Polacek
b902330ca8
Avoid warning in nscd config file parsing code
2011-07-19 20:13:31 -04:00
Liubov Dmitrieva
99710781cc
Improve 64 bit strcat functions with SSE2/SSSE3
2011-07-19 17:11:54 -04:00
Ulrich Drepper
7dc6bd90c5
Use union to avoid casts in code to store results of hashsum computations
2011-07-19 16:53:43 -04:00
Andreas Schwab
e0e7228480
Fix alloca accounting in strxfm
2011-07-19 15:03:57 -04:00
Ulrich Drepper
feb1eb0be7
Avoid possible crashes in anormal nscd exits
2011-07-19 13:59:57 -04:00
Ulrich Drepper
298711ffe4
Fix typos in pretty much unused code in sched.h header.
2011-07-18 20:19:14 -04:00
Ulrich Drepper
f9d683894d
Updated Swedish and Dutch translations.
2011-07-18 20:13:01 -04:00
Roland McGrath
db290cf592
Never use -mpreferred-stack-boundary=2 on i386, now disallowed by GCC.
2011-07-16 03:10:06 -07:00
Roland McGrath
fd5e21c75d
Default to --with-default-link=yes if configure check finds good -shared layout.
2011-07-14 20:50:18 -07:00
Roland McGrath
5c55070081
Use linker --print-output-format option if available.
2011-07-14 20:50:17 -07:00
Roland McGrath
a6928d5102
Fix remaining explicit uses of shlib.lds to use $(shlib-lds).
2011-07-14 20:49:27 -07:00
Roland McGrath
661607b3dd
Quash a warning in strstr-c.c built for static.
2011-07-14 20:47:54 -07:00
Roland McGrath
9fa2c03227
Adjust relro test to work around GNU ld limitations.
2011-07-14 19:09:27 -07:00
Roland McGrath
defe906180
Fix a braino in new relro configure test.
2011-07-11 18:38:13 -07:00
Ulrich Drepper
319b9ad4bc
Generalize framework to register monitoring of files in nscd
...
nscd can clear caches when certain files change. The list of files
was hardcoded so far and worked for nss_files and nss_dns and those
modules which need no monitoring. nss_db, for instance, has its
own set of files to monitor. Now the NSS modules themselves can
request that certain files are monitored.
2011-07-11 14:50:24 -04:00
Roland McGrath
23bee3e867
Comment typo fix.
2011-07-10 14:58:51 -07:00
Ulrich Drepper
46a5b7f025
Transltion updates
2011-07-09 17:58:11 -04:00
Roland McGrath
113ddea447
Use an empirical check for .ctors/.dtors -> .init_array/.fini_array magic.
2011-07-09 14:41:39 -07:00
Roland McGrath
574920b446
Rewrite -z relro configure check to be empirical.
2011-07-09 13:55:24 -07:00
Roland McGrath
d30cf5bb00
Find readelf with AC_CHECK_TOOL for use in configure tests.
2011-07-09 04:06:34 -07:00
Ulrich Drepper
8538fdb3ec
(memalign_check): No need to use checked_request2size.
2011-07-08 13:20:41 -04:00
Andreas Jaeger
04d08991c4
Add test case strtod underflow
2011-07-08 13:16:26 -04:00
Ulrich Drepper
4e5f31c847
Handle ext4 in {,f}pathconf
...
ext4 has a higher LINK_MAX limit than ext2/3. Unfortunately it is
not easy to distinguish the filesystems from userlevel.
2011-07-07 10:53:16 -04:00
Andreas Dilger
de283087c7
Handle Lustre filesystem
2011-07-07 00:20:32 -04:00
Andreas Jaeger
c75fa153a9
Fix warnings in resolver code
2011-07-06 22:29:45 -04:00
Ulrich Drepper
1a544854c2
nis/nss_nisplus: Kill warnings
2011-07-06 22:22:48 -04:00
Ulrich Drepper
6f0eec6710
Add string/test-strncat.c
2011-07-06 21:44:29 -04:00
Ulrich Drepper
aae30307ae
iconvdata/johab.c: Don't inline unlikely called function
2011-07-06 21:42:59 -04:00
Ulrich Drepper
c0cfb5eb3d
Fix for installation in sysdeps/s390/s390-64/Makefile
2011-07-06 21:38:49 -04:00
Ulrich Drepper
01636b2140
Handle W; without long options in getopt
2011-07-06 21:27:14 -04:00
Ulrich Drepper
9895c8bc62
Change error code for underflows in strtod
2011-07-06 20:57:55 -04:00
Ulrich Drepper
960e5535b0
Add the extra check also in innetgr
2011-07-06 11:38:42 -04:00
Ulrich Drepper
5d4cf04250
Fix handling of chained netgroups
2011-07-06 10:52:31 -04:00
Roland McGrath
751eb97ef2
Default install_root value from DESTDIR.
2011-07-05 09:57:47 -07:00
Ulrich Drepper
f15f1e45ba
Avoid warning.
2011-07-05 06:56:12 -04:00
Roland McGrath
5e9b6af4a9
Fail if format.lds comes out empty.
2011-07-02 16:59:14 -07:00
Roland McGrath
84f9ea0f73
Generate testrun.sh to use relative directory names.
2011-07-02 16:03:04 -07:00
Roland McGrath
ea5ee9f73d
Rewrite local headers check to be more robust and informative.
2011-07-02 15:52:51 -07:00
Roland McGrath
1b74661a6b
Explicitly remove .gnu.glibc-stub sections with objcopy when not using
...
linker script.
2011-07-02 15:21:27 -07:00
Roland McGrath
f781ef4015
Add --with-default-link configure option.
2011-07-02 15:19:52 -07:00
Roland McGrath
2d4fa81e11
Consolidate shlib.lds references in new variables.
2011-07-02 15:13:05 -07:00
Roland McGrath
31fffa6b07
Make asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags.
2011-07-02 15:12:19 -07:00
Roland McGrath
4e34ac6a1e
Use -defsym=_begin=0 instead of linker script munging.
2011-07-02 15:11:43 -07:00
Ulrich Drepper
fcfc776bc6
Optimize long-word additions in SHA implementation
2011-07-02 12:30:03 -04:00
Ulrich Drepper
99231d9abe
nscd cleanups
...
Cleanup and optimize last patch. Add timeout fixes also to the
services cache.
2011-07-01 23:02:09 -04:00
Thorsten Kukuk
445b4a53ea
Handle nscd negtimeout==0
2011-07-01 22:53:01 -04:00
Andreas Schwab
6d4d8e8eef
nss_compat: query NIS domain only when needed
2011-07-01 18:37:28 -04:00
Andreas Schwab
89f654c57b
Make sure RES_USE_INET6 is always restored
2011-06-30 06:33:32 -04:00
Ulrich Drepper
2c0e54ff32
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2011-06-29 23:36:11 -04:00
Ulrich Drepper
cf3b23ffcd
Avoid write to invalid file descriptor in nscd
...
When readding entries to the group and services cache and the lookup
is unsuccesful, we tried to write the notfound record. Just don't
do it in this case.
2011-06-29 23:33:38 -04:00
Aurelien Jarno
751626f948
Fix build with multiarch disabled.
2011-06-29 05:00:49 -07:00
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
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