Roland McGrath
3aa6513708
Fix tst-chmod not to write into srcdir.
2010-04-09 13:59:34 -07:00
Ulrich Drepper
e326768467
Add tests for recent getopt changes.
2010-04-07 22:59:40 -07:00
Eric Blake
66b93be793
getopt mishandles optstring of "+:"
2010-04-07 17:56:20 -07:00
Eric Blake
cf0b68196c
getopt mistakenly allows '-;' as short option
2010-04-07 17:28:36 -07:00
Eric Blake
aa7f642769
Fix -W with optional parameters in getopt.
...
According to the getopt documentation, if "W;" is part of optstring, then '-W
foo' should behave like '--foo'. But if "foo" uses an optional_argument, this
is not the case, since optarg is not NULL when using -W.
2010-04-07 17:16:27 -07:00
Ulrich Drepper
247fdc8ee6
Fix printing error messages in getopt.
2010-04-04 22:48:55 -07:00
Ulrich Drepper
ed08740859
Document problem with NATs in getaddrinfo.
2010-04-03 17:56:51 -07:00
Ulrich Drepper
0a164fe03e
Whitespace fixes.
2010-03-27 06:19:03 -07:00
Ulrich Drepper
a5f3b0f830
Fix one more issue with the glob patch.
2010-03-27 05:48:17 -07:00
Ulrich Drepper
c27849fbbf
Add test for last glob bug.
2010-03-24 12:10:51 -07:00
Ulrich Drepper
8f2e399413
Fix glob with empty pattern
2010-03-24 11:58:05 -07:00
Ulrich Drepper
561470e061
Update copyright year.
2010-03-15 11:50:59 -07:00
Paul Eggert
aef699dce1
regexec.c: avoid overflow in realloc buffer length computation
2010-01-22 12:41:12 -08:00
Paul Eggert
74bc9f14db
regexec.c: avoid leaks on out-of-memory failure paths
2010-01-22 12:33:58 -08:00
Paul Eggert
42a2c9b5c3
regexec.c: avoid overflow in computing sum of lengths
2010-01-22 12:22:18 -08:00
Paul Eggert
eadc09f22c
re_search_internal: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:15:53 -08:00
Paul Eggert
4cd028677b
prune_impossible_nodes: Avoid overflow in computing re_malloc buffer size
2010-01-22 12:03:56 -08:00
Paul Eggert
daa8454919
regexec.c: avoid arithmetic overflow in buffer size calculation
2010-01-22 10:52:38 -08:00
Paul Eggert
d044d844dd
regexec.c: simplify re_search_2_stub
2010-01-22 10:39:59 -08:00
Ulrich Drepper
5ddf954cf1
Simplify test in re_string_skip_chars.
2010-01-22 10:22:53 -08:00
Ulrich Drepper
4f08104cbf
regex_internal.c: don't assume WEOF fits in wchar_t
2010-01-22 10:17:45 -08:00
Ulrich Drepper
0dae5d4ec1
regex_internal.c: remove useless variable and the code to set it.
2010-01-22 09:57:30 -08:00
Ulrich Drepper
2236464488
Extend overflow detection in re_dfa_add_node.
2010-01-22 09:48:35 -08:00
Ulrich Drepper
54dd0ab31f
regex: avoid internal re_realloc overflow
2010-01-22 09:33:01 -08:00
Ulrich Drepper
aa732e2b2b
One forgotten checkin from regex changes.
2010-01-15 12:20:55 -08:00
Ulrich Drepper
2da42bc065
Fix a few more cases of ignored return values in regex.
2010-01-15 12:03:16 -08:00
Paul Eggert
21f5de55ec
regcomp.c: do not ignore memory allocation failure
2010-01-14 21:35:15 -08:00
Ulrich Drepper
6a7007d7be
Relax conditions in unistd.h.
2010-01-14 16:23:47 -08:00
Ulrich Drepper
52e2ea9a83
Relax visibility of some more declaration.
2010-01-14 13:22:06 -08:00
Ulrich Drepper
b1a6644267
Declare getpagesize in _GNU_SOURCE mode again.
2010-01-14 09:14:12 -08:00
Ulrich Drepper
25fdd5d134
Fix up sched.h for XPG7.
2010-01-12 11:48:45 -08:00
Jakub Jelinek
8500fa8325
Fix compile error with sys/wait.h.
2010-01-12 05:41:52 -08:00
Ulrich Drepper
21487cc929
Fix handling symbols removed in XPG7.
2010-01-11 14:49:17 -08:00
Ulrich Drepper
7cdb5a32f9
Fix up unistd.h for XPG7.
2010-01-11 14:43:46 -08:00
Ulrich Drepper
99d46ae379
Fix up sys/wait.h header for XPG7.
2010-01-10 11:06:06 -08:00
Ulrich Drepper
f9cfa295ae
Fix up sys/types.h for XPG7.
...
Also fix a test.
2010-01-10 07:16:54 -08:00
Ulrich Drepper
df06f4855e
Fix glob.h for XPG7.
2010-01-10 06:37:41 -08:00
Ulrich Drepper
f095bb7204
Add support for XPG7 testing.
...
The header conformance testing code needed extending for XPG7. This
exposed a few bugs in the headers. There are more changes to come.
2010-01-09 10:56:41 -08:00
Bruno Haible
4940d71bef
Add more warnings to exec functions.
2009-12-09 08:30:38 -08:00
Ulrich Drepper
3933378fd3
Whitespace fixes.
2009-11-17 16:24:26 -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
Mike Frsyinger
5ec794b4b5
Add missing stdio.h include.
2009-11-14 19:11:44 -08:00
Ulrich Drepper
02bf610ca8
Handle -- on getconf command line.
2009-09-09 22:15:27 -07:00
Ulrich Drepper
d76da20f7f
Handle POSIX2_LINE_MAX in getconf.
2009-09-07 00:18:06 -07:00
Ulrich Drepper
a1ed6c284a
Extend last test case.
2009-08-23 16:03:48 -07:00
Ulrich Drepper
8a7cea0199
Add test case for last fixed regex bug.
2009-08-23 15:33:40 -07:00
Ulrich Drepper
52db8039f5
Recognize ill-formed { } expressions in regcomp.
2009-08-23 15:22:00 -07:00
Ulrich Drepper
bdc7f5d76b
Also correct _POSIX2_* constants in case older standards are selected.
2009-08-23 14:55:51 -07:00
Ulrich Drepper
c6b6723e6b
Define _POSIX_VERSION correctly when older POSIX versions are selected.
2009-08-23 12:27:09 -07:00
Ulrich Drepper
666a9871f7
Avoid warnings in test cases.
...
The posix/tst-rfc3484* test cases caused warnings in newer gccs
because the unused but copied sin_zero part of sockaddr_in wasn't
explicitly initialized.
2009-07-23 12:53:50 -07:00