Commit Graph

17192 Commits

Author SHA1 Message Date
Ulrich Drepper
3933378fd3 Whitespace fixes. 2009-11-17 16:24:26 -08:00
Ulrich Drepper
3a00b16da4 Add missing test files. 2009-11-17 16:23:57 -08:00
Paolo Bonzini
815d8147a3 Fix ranges with multibyte characters as endpoints.
This is another bug in computing the fastmap.  It was reported by a user
of sed because it usually does not happen with !_LIBC.  However, it is
there in that case too.

The bug is that whenever we have a range at the beginning of the regex,
the regex must be tested on any possible multibyte character.  The reason
why _LIBC masks it, is that in general there is a collation symbol for
each possible multibyte-character lead byte, so all the lead bytes are
in general already part of the fastmap.

The tests use cyrillic characters as an example.  With _LIBC, they pass
without the patch too, but you can make them fail by removing collation
symbols handling.
2009-11-17 16:23:24 -08:00
Ulrich Drepper
7443244740 Handle LC_GLOBAL_LOCALE in duplocale. 2009-11-17 09:37:31 -08:00
Ulrich Drepper
4fb9241e4e Fix _NC_LOCALE_NAME definition. 2009-11-17 09:18:11 -08:00
Ulrich Drepper
2866eeb1b7 Add missing Linux MADV_* definitions. 2009-11-17 06:43:39 -08:00
H.J. Lu
65a1148bdd Use a simple loop on data shorter than software pipeline.
When data is shorter than software pipeline, recovery may fail. This
patch avoids it by using a simple loop on data shorter than software
pipeline.
2009-11-14 19:20:19 -08:00
Mike Frsyinger
fabe43aba8 Missing CL. 2009-11-14 19:16:49 -08:00
Mike Frsyinger
f9a7bd536e Fix building on x86 with older kernel headers.
Fix building on x86 when older linux headers lack __NR_fallocate define.
2009-11-14 19:16:01 -08:00
Mike Frsyinger
5ec794b4b5 Add missing stdio.h include. 2009-11-14 19:11:44 -08:00
Ulrich Drepper
0079dd2382 Add support for new Linux error ERFKILL. 2009-11-14 10:20:25 -08:00
Ulrich Drepper
8964681064 Fix F_SETOWN_EX and F_GETOWN_EX definitions. 2009-11-14 08:28:40 -08:00
Ulrich Drepper
24c0bf7a76 Start 2.12 development. 2009-11-12 08:46:19 -08:00
Andreas Schwab
51e4196f16 Handle running out of buffer space with IPv6 mapping enabled.
With big DNS answers like the one you get for goodtimesdot.com you can
get a truncated address list if IPv6 mapping is enabled.  Instead tell
the caller to resize the buffer.
2009-11-10 07:36:50 -08:00
Caolan McNamara
6515a01fc1 Avoid memset warning in one case. 2009-11-10 06:29:13 -08:00
Ulrich Drepper
639d6699e9 Fix up whitespaces. 2009-11-06 09:34:23 -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
9c04f7c155 Fix aliasing problem in tst-sem11. 2009-10-30 09:35:20 -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
Ulrich Drepper
9dd5b8a167 Mentin new my_MM locale in NEWS. 2009-10-30 08:36:41 -07:00
Ulrich Drepper
d9624df95e Fix whitespaces. 2009-10-30 08:15:20 -07:00
Ulrich Drepper
8a44c44fc0 Fix last change to it_CH and it_IT. 2009-10-30 08:14:29 -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
Ulrich Drepper
b47525dd86 Fix first weekday for ast_ES locale. 2009-10-30 07:18:24 -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
Daniel Jacobowitz
25db0f6ca9 Fix races in setXid implementation. 2009-10-30 01:00:44 -07:00
Alan Modra
31c759bf37 Uglify IFUNC tests for PPC. 2009-10-30 00:48:54 -07:00
Ulrich Drepper
51a71cf063 Mention IFUNC for PPC. 2009-10-30 00:41:33 -07:00
Alan Modra
77799d9d9b Implement IFUNC for PPC. 2009-10-30 00:39:38 -07:00
Jorge Guerrero
9fd76770c3 Define am_pm , t_fmt_ampm, first_weekday for es_CO locale. 2009-10-30 00:31:32 -07:00
Ulrich Drepper
0d2f180dd0 Add a few defines to <netinet/udp.h>. 2009-10-30 00:27:27 -07:00
Neskie Manuel
675a462ba3 Fix accents in shs_CA locale. 2009-10-30 00:22:34 -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
Nicolo' Chieffo
bf20990de0 Fix date_fmt for it_IT and it_CH locales. 2009-10-29 22:49:17 -07:00
Ulrich Drepper
204fcca27c Fix IA-64 and S390 sigevent definitions. 2009-10-29 22:43:08 -07:00