Commit Graph

11947 Commits

Author SHA1 Message Date
Caolan McNamara
6515a01fc1 Avoid memset warning in one case. 2009-11-10 06:29:13 -08:00
Philippe De Muyter
868f7a4053 Fix spelling of (Newton-)Raphson 2009-11-06 09:33:27 -08:00
Holger Hans Peter Freyther
685cb08356 Fix spelling in memusagestat.c 2009-11-06 09:32:06 -08:00
H.J. Lu
8608ae1f7b Properly handle STT_GNU_IFUNC symbols in do_sym.
do_sym should use DL_FIXUP_VALUE_XXX macros to call IFUNC function.
Otherwise, it won't compile on ia64. This patch fixes it and adds
a test.
2009-11-06 09:30:56 -08:00
Andreas Schwab
5b55d23611 Correct readahead syscall wrapper on powerpc32.
Due to alignment of 64bit parameters there is a dummy second argument.
But other than that the syscall arguments are directly mapped to the
function arguments.
2009-11-06 09:29:24 -08:00
Jakub Jelinek
872873d48d Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink,
and this patch is needed on the glibc side.  Without it ld.so segfaults,
as in dl-conflict.c sym_map is always NULL.  While dl-machine.h could use
RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense,
because with prelink we know it is already properly relocated (all relative
relocations are applied by prelink).
2009-11-06 09:27:41 -08:00
Jakub Jelinek
34df851b33 Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.
As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes
are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just
found, fallocate is wrong too.
The problem is that only off_t is remapped to the 64-bit type transparently,
__off_t is not.
2009-11-06 09:26:31 -08:00
Andreas Schwab
13f6812ffb Make name of libgcc_s library configurable 2009-11-03 23:52:01 +01:00
Ulrich Drepper
cc49a5a883 Restore locking in free_check.
This code is only used when MALLOC_CHECK_ is used.  Then some bogus
crashes and/or assert could result from the locking changes.  The code
ain't fast.
2009-11-01 07:27:00 -08:00
Ulrich Drepper
7f9cd6ed20 2.11 release. 2009-10-30 10:17:08 -07:00
Ulrich Drepper
3005703bb9 Add cast in tst-execstack to avoid warning. 2009-10-30 09:26:00 -07:00
Ulrich Drepper
1c52a97a1e Avoid warning in scanf test. 2009-10-30 09:23:24 -07:00
Ulrich Drepper
08c7ad975c Avoid two warnings in strtol{,l} tests. 2009-10-30 09:22:34 -07:00
Keith Stribley
3c2c4bf6f7 Implement Burmese language locale for Myanmar. 2009-10-30 08:14:02 -07:00
Ulrich Drepper
3a83202db6 Implement mkostemps and mkostemps64. 2009-10-30 08:02:30 -07:00
Andreas Schwab
2c5c07f5fc Add missing declarations. 2009-10-30 07:15:12 -07:00
Andreas Schwab
de2cc8095b Fix typo in readlinkat 2009-10-30 14:18:18 +01:00
Roland McGrath
6cfe8609b8 New simplified make dist using git archive. 2009-10-30 03:30:14 -07:00
Alan Modra
31c759bf37 Uglify IFUNC tests for PPC. 2009-10-30 00:48:54 -07:00
Alan Modra
77799d9d9b Implement IFUNC for PPC. 2009-10-30 00:39:38 -07:00
Ulrich Drepper
0d2f180dd0 Add a few defines to <netinet/udp.h>. 2009-10-30 00:27:27 -07:00
Ulrich Drepper
7f3146e789 Implement mkstemps and mkstemps64. 2009-10-30 00:11:07 -07:00
Ulrich Drepper
471d4931f8 Add sml entry to ISO 639 list. 2009-10-29 23:21:18 -07:00
Ulrich Drepper
75ded9bcdf Initialize local variable in resolver.
When the DNS server doesn't reply at all we possibly tested
an unitialized variable.
2009-10-29 23:01:58 -07:00
Ulrich Drepper
204fcca27c Fix IA-64 and S390 sigevent definitions. 2009-10-29 22:43:08 -07:00
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