aboutsummaryrefslogtreecommitdiff
path: root/posix
AgeCommit message (Collapse)Author
2012-01-03Optimize regex a bitUlrich Drepper
2012-01-01Update copyright yearUlrich Drepper
2011-12-30Fix up regcomp/regexecJakub Jelinek
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-11-30Fix access after end of search string in regex matcherAndreas Schwab
2011-11-12Fix warnings in regexUlrich Drepper
2011-11-01Fix tst-rfc3484 build failuresUlrich Drepper
2011-10-29Mark a few more functions with __THROWNL.Ulrich Drepper
2011-10-27Don't mark memory synchronisation functions as leafAndreas Schwab
2011-09-10Cleanup of configuration optionsUlrich Drepper
Make several tool features mandatory and simplify the code.
2011-09-08Remove support for automatic cvs check-insUlrich Drepper
CVS use for glibc is long gone.
2011-09-08Add missing definition of LOCPATH for bug-regex32 runJohn Stanley
2011-09-05Try shell in posix_spawn* only in compat modeUlrich Drepper
2011-09-05Fix last checkinUlrich Drepper
2011-09-05Fix glob.h header by removing gcc 1.x supportUlrich Drepper
2011-07-23Define SEEK_DATA and SEEK_HOLEUlrich Drepper
2011-07-20Check for overflows in expressionsUlrich Drepper
Some passed in values might cause overflows in expressions.
2011-07-06Handle W; without long options in getoptUlrich Drepper
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath
2011-05-28Fix unnecessary overallocation due to incomplete characterUlrich Drepper
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-28Remove unused variableUlrich Drepper
2011-05-22Add a few more alloca size checksUlrich Drepper
2011-05-20Update documentation in regex.hReuben Thomas
2011-05-16Update RE_SYNTAX*_AWK constants in regex.hAharon Robbins
2011-05-15Provide more helpful error message in getoptUlrich Drepper
If provide with an ambiguous long option we now show all the possibilities.
2011-04-01Add syncfs syscall.Andreas Schwab
2011-04-01Fix typos in comments.Ulrich Drepper
2011-03-18Check size of pattern in wide character representation in fnmatch.Ulrich Drepper
2011-02-04Fix some warning nits.Roland McGrath
2011-01-17Update copyright year.Ulrich Drepper
2011-01-14FIx handling of unterminated [ expression in fnmatch.Ulrich Drepper
2010-12-27Fix infloop on persistent failing calloc in regex.Jim Meyering
2010-11-12Fix memory leak in fnmatchAndreas Schwab
2010-10-12One more regex memory leak fixed.Ulrich Drepper
2010-10-11More regex memory leak fixes and tests.Ulrich Drepper
2010-10-11Test case for last regex problem.Ulrich Drepper
2010-10-11Fix memory leak for some invalid regular expressions.Ulrich Drepper
2010-09-21Undo feature selection for ftruncate.Ulrich Drepper
2010-08-24Rejigger header generation for default uname implementation.Roland McGrath
2010-08-09Avoid too much stack use in fnmatch.Ulrich Drepper
2010-06-19Correct checking loop in group_member.Ulrich Drepper
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek
This patch fixes some cases which fail to parse with C++.
2010-05-05Fix lookup of collation sequence value during regexp matchingAndreas Schwab
2010-04-09Fix tst-chmod not to write into srcdir.Roland McGrath
2010-04-07Add tests for recent getopt changes.Ulrich Drepper
2010-04-07getopt mishandles optstring of "+:"Eric Blake
2010-04-07getopt mistakenly allows '-;' as short optionEric Blake
2010-04-07Fix -W with optional parameters in getopt.Eric Blake
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-04Fix printing error messages in getopt.Ulrich Drepper
2010-04-03Document problem with NATs in getaddrinfo.Ulrich Drepper
2010-03-27Whitespace fixes.Ulrich Drepper