Anders Johansson
ea547a1a6e
Fix a few asserts and IO calls in nscd.
...
The nscd/*cache.c files contain assert()s, writeall() and sendfileall() calls
that invalidly use together &dataset->resp and total where either dataset or
dataset->head.recsize should be used instead one of the components. In the
writeall() and sendfileall() cases, it is unlikely to matter in practice, but
the assertions can fail sometimes without a proper reason.
2009-10-29 22:18:26 -07:00
Steve Langasek
5c53736b52
Fix nss_files if /etc/hosts is missing.
2009-10-29 22:04:58 -07:00
John Sullivan
ee6f35389c
Fix typos in format strings of malloc_info.
2009-10-29 21:50:35 -07:00
Ulrich Drepper
5debe36313
Bump timeout for utmp operations to 10s.
2009-10-29 21:41:19 -07:00
Ulrich Drepper
801720e63b
Fix compat handling in *at functions.
...
When passed an empty string for the filename, the compat code
using /proc in all *at functions did the wrong thing.
2009-10-29 21:33:26 -07:00
Ulrich Drepper
584715c3a9
Fix AIO when thread creation failed.
...
Several bugs fixed when we needed to create a thread to work on AIO
requests but failed and there is not one running.
2009-10-29 21:01:24 -07:00
Joe Landers
c240c3a58f
Fix error handling in NIS.
...
A buffer was freed even though it wasn't allocated as expected. Do
this only when !batch_read.
2009-10-29 19:59:59 -07:00
Joe Landers
1a9e411e2a
Fix memory leak in NIS grp database handling.
2009-10-29 16:22:01 -07:00
Ulrich Drepper
cc88b371a5
Fix return value of puts for very long strings.
2009-10-29 16:03:07 -07:00
Ulrich Drepper
67854c131c
Fix repairing of memusage trace files.
2009-10-29 14:19:33 -07:00
Ulrich Drepper
e0f471a118
Print timestamp in nscd debug messages.
2009-10-29 13:45:10 -07:00
Andreas Schwab
d79eccd6dd
Fix errno handling in posix_openpt.
...
The implementation of posix_openpt on Linux can fail in a few extra
ways if the appropriate pseudo filesystems are not mounted etc. In
some of these cases we have to explicitly set errno.
2009-10-29 11:27:53 -07:00
Andreas Schwab
22bc5239e1
Fix wrap-around in memusage.
2009-10-29 11:25:20 -07:00
Ulrich Drepper
d94760f944
Fix getttyname on Linux when called for different devices.
...
If a second call to ttyname is not for the same type of device (e.g.,
serial vs ptty) the prefix of the buffer was wrong. Don't rely on
the previous content, always reinitialize it.
2009-10-29 11:02:34 -07:00
Philip Prindeville
8d55628106
Add macros for DSCP markings.
2009-10-29 10:40:55 -07:00
Ulrich Drepper
81c84bd902
Fix F_GETOWN on some Linux archs.
...
The syscall conventions on some Linux archs prevented F_GETOWN from working
correctly in some situations. This can be rectified when using the new
F_GETOWN_EX command.
2009-10-29 10:12:59 -07:00
Ulrich Drepper
d9e8f9ec55
Define F_OWNER_* and f_owner_ex for Linux targets.
2009-10-29 08:48:17 -07:00
Ulrich Drepper
92934e8b84
Allow compat handling of getutmp.
2009-10-29 08:33:12 -07:00
Petar Bogdanovic
3a85895fa3
Fix mixing IPv4 and IPv6 name server in resolv.conf.
2009-10-29 08:17:48 -07:00
Joseph S. Myers
3ad3a4d059
Readd definition of __expl in ldbl-128
2009-10-28 11:14:56 +01:00
Jakub Jelinek
98363ded87
Fix range checks in coshl.
2009-10-27 13:46:08 -07:00
H.J. Lu
001659f4d5
Implement SSE4.2 optimized strchr and strrchr.
2009-10-22 22:47:12 -07:00
Andreas Schwab
bc5e846218
Handle IFUNC symbols in dlsym.
2009-10-21 06:23:42 -07:00
Andreas Schwab
b7805d0ba8
Correct errno handling in expm1.
2009-10-19 21:23:15 -07:00
David S. Miller
a0902db9fe
Add ____longjmp_chk for sparc
...
tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because
of some limitations of kernel signal delivery on sparc that I need
to fix, it has nothing to do with the longjmp_chk implementation.
(The problem with tst-longjmp_chk2 is that it tries to do a stack
fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel
will refuse to setup the signal stack and deliver the signal if the
register windows can't be written out to the stack first)
2009-10-14 14:57:16 +02:00
Andreas Schwab
4bb04b1fb6
Fix USE_MULTIARCH conditional
2009-10-13 16:12:47 +02:00
Ulrich Drepper
1abedcdad2
Remove duplicate __set_errno call in random_r.c.
2009-10-08 13:46:47 -07:00
Ulrich Drepper
1219ddfe54
Typo fix.
2009-10-08 13:39:00 -07:00
Ulrich Drepper
b68053cf7d
New Czech translation.
2009-10-08 13:11:13 -07:00
Andreas Schwab
96961bf71d
Fix descriptor leak when calling dlopen with RTLD_NOLOAD
2009-10-07 10:25:38 +02:00
Roland McGrath
b0f3a2e43f
Clean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.
2009-10-06 20:01:23 -07:00
Roland McGrath
9d6982d5d2
Clean up x86 multiarch HAS_FOO macros.
2009-10-06 19:59:03 -07:00
Andreas Schwab
930799d555
Fix week-1stday in C locale
2009-10-05 10:52:22 +02:00
Ulrich Drepper
78aa397939
Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.
2009-10-01 01:18:41 -07:00
Ulrich Drepper
f8d7c1eadd
Merge branch 'master' of ssh://sources.redhat.com/git/glibc
...
Conflicts:
ChangeLog
2009-09-29 06:13:11 -07:00
Andreas Schwab
199eb0de8d
Check for integer overflows in formatting functions
2009-09-29 06:11:59 -07:00
Samuel Thibault
ff28353181
Fix Hurd mkdirat.
2009-09-28 11:37:20 -07:00
Ulrich Drepper
9d076f21cd
Fix locale program error handling
...
If an unknown name is passed to locale, report it and fail.
2009-09-28 10:35:41 -07:00
H.J. Lu
f450806e22
Handle future binutils versions correctly.
2009-09-28 04:18:09 -07:00
Ulrich Drepper
4fd894620f
Fix missing reloc dependency
...
When DL_LOOKUP_ADD_DEPENDENCY was introduced a few callers of
_dl_lookup_versioned_symbol were not properly adjusted. One of them
survived until now.
2009-09-28 03:19:58 -07:00
Samuel Thibault
0d1804061a
Fix IXANY feature macro conditions.
2009-09-27 16:26:59 -07:00
Andreas Schwab
ae0f0dbd0e
Fix typo in is646 gconv module
2009-09-20 09:42:48 +02:00
Ulrich Drepper
fc0c556c5f
Hungarian and Vietnamese translation update.
2009-09-20 00:21:30 -07:00
Roland McGrath
487a6d7735
Remove some unused variables.
2009-09-19 17:19:41 -07:00
Roland McGrath
7967983fd4
configure tweaks, support $libc_add_on_config_subdirs
2009-09-15 14:14:42 -07:00
Ulrich Drepper
02bf610ca8
Handle -- on getconf command line.
2009-09-09 22:15:27 -07:00
H.J. Lu
0549ce8ec1
Support binutils 2.100 and 3.0.
2009-09-08 16:04:30 -07:00
Jakub Jelinek
6dfeb5245b
Fix __longjmp_chk on s390/s390x.
...
s390/s390x hasn't been updated to handle alternate stacks properly.
2009-09-08 16:00:25 -07:00
Ulrich Drepper
7a7e49c020
Fix endless loop in localedef.
...
localedef got into an endless loop in case order_start was used for
the unnamed_section twice and the first use didn't actually result
into any definition.
2009-09-07 02:32:29 -07:00
Ulrich Drepper
d76da20f7f
Handle POSIX2_LINE_MAX in getconf.
2009-09-07 00:18:06 -07:00