Samuel Thibault
db65366043
Hurd: Update posix_opt.h
2012-05-10 15:57:27 -07:00
Marek Polacek
5ac3ea17df
Fix attributes for fortify functions.
2012-04-29 15:34:20 +02:00
Roland McGrath
d6a403f953
Fix last change.
2012-03-25 12:01:29 -07:00
Roland McGrath
ac4c54f0cc
Fix confstr use of local buffer outside its extent.
2012-03-25 11:36:35 -07:00
Paul Pluzhnikov
3ff4252677
2012-03-23 Daniel Jacobowitz <dmj@google.com>
...
Paul Pluzhnikov <ppluzhnikov@google.com>
[BZ #6528 ]
* grp/Makefile (otherlibs): Don't set it.
* inet/Makefile (otherlibs): Likewise.
* login/Makefile (otherlibs): Likewise.
* nscd/Makefile (otherlibs): Likewise.
* posix/Makefile (otherlibs): Likewise.
* pwd/Makefile (otherlibs): Likewise.
* rt/Makefile (otherlibs): Likewise.
* sunrpc/Makefile (otherlibs): Likewise.
* nss/Makefile (otherlibs): Likewise.
Add libnss_files to routines and static-only-routines.
($(objpfx)getent): Remove rule.
* resolv/Makefile: Add libnss_dns and libresolv to routines and
static-only-routines.
2012-03-23 09:47:03 -07:00
H.J. Lu
eb96ffb07d
Move stdio-common/_itoa.h to sysdeps/generic
2012-03-20 16:00:23 -07:00
Paul Eggert
c524201ab0
Replace FSF snail mail address with URL in miscellaneous files.
2012-03-10 00:45:35 +00:00
Ulrich Drepper
a4300c7a4d
Remove distribute variable from Makefiles
2012-03-07 05:17:13 -05:00
Stanislav Brabec
71b5d1c5d5
[BZ #13637 ]
...
* posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
of remain_len that may cause incomplete multi-byte character and
false match.
* posix/bug-regex33.c: New file.
* posix/Makefile (tests): Add bug-regex33.
2012-02-28 16:16:45 +01:00
Ulrich Drepper
d94a467080
Add first fixes for conformtest for POSIX2008
2012-02-26 21:32:56 -05:00
Ulrich Drepper
4efeffc1d5
Fix up POSIX testing in conformtest
2012-02-26 13:17:27 -05:00
Ulrich Drepper
3134156779
First steps to get conformtest fully working
2012-02-25 23:18:39 -05:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Joseph Myers
a037381ff8
Remove posix/glob directory (standalone glob build support).
2012-01-24 22:30:03 +00:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
9f1151705e
Optimize regex a bit
2012-01-03 07:54:15 -05:00
Ulrich Drepper
81fb02b046
Update copyright year
2012-01-01 05:50:05 -05:00
Jakub Jelinek
2ba92745c3
Fix up regcomp/regexec
...
The problem is that parse_bracket_symbol is miscompiled, and it turns
out it is because of an incorrect attribute on re_string_fetch_byte_case.
Unlike re_string_peek_byte_case, this one is really not pure, it modifies memory
(increments pstr->cur_idx), and with the pure attribute GCC assumed it doesn't
and it cached the presumed value of regexp->cur_idx in a variable across the
for (;; ++i)
{
if (i >= BRACKET_NAME_BUF_SIZE)
return REG_EBRACK;
if (token->type == OP_OPEN_CHAR_CLASS)
ch = re_string_fetch_byte_case (regexp);
else
ch = re_string_fetch_byte (regexp);
if (re_string_eoi(regexp))
return REG_EBRACK;
if (ch == delim && re_string_peek_byte (regexp, 0) == ']')
break;
elem->opr.name[i] = ch;
}
2011-12-30 17:13:56 -05:00
Andreas Schwab
f3a6cc0a56
Fix access after end of search string in regex matcher
2011-11-30 11:03:20 +01:00
Ulrich Drepper
5e2b63c658
Fix warnings in regex
2011-11-12 01:23:45 -05:00
Ulrich Drepper
fadb59f8d3
Fix tst-rfc3484 build failures
2011-11-01 10:55:29 -04:00
Ulrich Drepper
9beb233493
Mark a few more functions with __THROWNL.
2011-10-29 15:56:44 -04:00
Andreas Schwab
3871f58f06
Don't mark memory synchronisation functions as leaf
2011-10-27 17:20:14 +02:00
Ulrich Drepper
3ce1f29594
Cleanup of configuration options
...
Make several tool features mandatory and simplify the code.
2011-09-10 14:34:15 -04:00
Ulrich Drepper
92963737c4
Remove support for automatic cvs check-ins
...
CVS use for glibc is long gone.
2011-09-08 23:19:04 -04:00
John Stanley
b0727fd83f
Add missing definition of LOCPATH for bug-regex32 run
2011-09-08 22:57:23 -04:00
Ulrich Drepper
d96de9634a
Try shell in posix_spawn* only in compat mode
2011-09-05 20:24:50 -04:00
Ulrich Drepper
54b1f8b6bf
Fix last checkin
2011-09-05 20:06:01 -04:00
Ulrich Drepper
d48e586806
Fix glob.h header by removing gcc 1.x support
2011-09-05 17:31:23 -04:00
Ulrich Drepper
798be72d12
Define SEEK_DATA and SEEK_HOLE
2011-07-23 21:45:57 -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
01636b2140
Handle W; without long options in getopt
2011-07-06 21:27:14 -04:00
Roland McGrath
5615eaf264
Quash some new warnings from GCC 4.6.
2011-06-10 22:44:20 -07: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
9ce9d0ec90
Remove unused variable
2011-05-28 14:43:43 -04:00
Ulrich Drepper
f2962a7195
Add a few more alloca size checks
2011-05-22 23:04:16 -04:00
Reuben Thomas
78e64fdcaa
Update documentation in regex.h
2011-05-20 09:14:03 -04:00
Aharon Robbins
a4b89fd846
Update RE_SYNTAX*_AWK constants in regex.h
2011-05-16 10:28:44 -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
Andreas Schwab
81a5726bd2
Add syncfs syscall.
2011-04-01 13:08:28 -04:00
Ulrich Drepper
4c1423edfb
Fix typos in comments.
2011-04-01 10:39:30 -04:00
Ulrich Drepper
8126d90480
Check size of pattern in wide character representation in fnmatch.
2011-03-18 05:29:20 -04:00
Roland McGrath
a0bf67cca2
Fix some warning nits.
2011-02-04 10:53:51 -08:00
Ulrich Drepper
c0dafcf176
Update copyright year.
2011-01-17 15:08:10 -05:00
Ulrich Drepper
794c3ad3a4
FIx handling of unterminated [ expression in fnmatch.
2011-01-14 08:06:22 -05:00
Jim Meyering
2543fef229
Fix infloop on persistent failing calloc in regex.
2010-12-27 18:19:56 -05:00
Andreas Schwab
3540d66b66
Fix memory leak in fnmatch
2010-11-12 03:51:28 -05:00
Ulrich Drepper
b833d51fbb
One more regex memory leak fixed.
2010-10-12 09:00:33 -04:00
Ulrich Drepper
e9b9cbf5e9
More regex memory leak fixes and tests.
2010-10-11 22:46:44 -04:00
Ulrich Drepper
ef06edbee6
Test case for last regex problem.
2010-10-11 12:34:53 -04:00