aboutsummaryrefslogtreecommitdiff
path: root/posix
AgeCommit message (Collapse)AuthorFilesLines
2012-01-24Remove posix/glob directory (standalone glob build support).Joseph Myers8-6085/+0
2012-01-07Remove pre-ISO C supportUlrich Drepper8-112/+105
No more __const.
2012-01-03Optimize regex a bitUlrich Drepper1-4/+32
2012-01-01Update copyright yearUlrich Drepper1-2/+2
2011-12-30Fix up regcomp/regexecJakub Jelinek1-1/+1
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 Schwab4-9/+8
2011-11-12Fix warnings in regexUlrich Drepper2-5/+6
2011-11-01Fix tst-rfc3484 build failuresUlrich Drepper3-0/+18
2011-10-29Mark a few more functions with __THROWNL.Ulrich Drepper1-3/+3
2011-10-27Don't mark memory synchronisation functions as leafAndreas Schwab1-1/+1
2011-09-10Cleanup of configuration optionsUlrich Drepper2-30/+28
Make several tool features mandatory and simplify the code.
2011-09-08Remove support for automatic cvs check-insUlrich Drepper1-6/+0
CVS use for glibc is long gone.
2011-09-08Add missing definition of LOCPATH for bug-regex32 runJohn Stanley1-0/+1
2011-09-05Try shell in posix_spawn* only in compat modeUlrich Drepper4-14/+52
2011-09-05Fix last checkinUlrich Drepper1-0/+1
2011-09-05Fix glob.h header by removing gcc 1.x supportUlrich Drepper1-16/+3
2011-07-23Define SEEK_DATA and SEEK_HOLEUlrich Drepper1-0/+4
2011-07-20Check for overflows in expressionsUlrich Drepper1-8/+34
Some passed in values might cause overflows in expressions.
2011-07-06Handle W; without long options in getoptUlrich Drepper1-2/+7
2011-06-10Quash some new warnings from GCC 4.6.Roland McGrath1-0/+1
2011-05-28Fix unnecessary overallocation due to incomplete characterUlrich Drepper4-15/+57
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 Drepper1-1/+0
2011-05-22Add a few more alloca size checksUlrich Drepper1-87/+276
2011-05-20Update documentation in regex.hReuben Thomas1-4/+9
2011-05-16Update RE_SYNTAX*_AWK constants in regex.hAharon Robbins1-9/+12
2011-05-15Provide more helpful error message in getoptUlrich Drepper3-21/+124
If provide with an ambiguous long option we now show all the possibilities.
2011-04-01Add syncfs syscall.Andreas Schwab1-0/+7
2011-04-01Fix typos in comments.Ulrich Drepper2-6/+6
2011-03-18Check size of pattern in wide character representation in fnmatch.Ulrich Drepper1-1/+12
2011-02-04Fix some warning nits.Roland McGrath1-2/+2
2011-01-17Update copyright year.Ulrich Drepper1-2/+2
2011-01-14FIx handling of unterminated [ expression in fnmatch.Ulrich Drepper5-14/+30
2010-12-27Fix infloop on persistent failing calloc in regex.Jim Meyering1-0/+2
2010-11-12Fix memory leak in fnmatchAndreas Schwab3-8/+15
2010-10-12One more regex memory leak fixed.Ulrich Drepper2-0/+3
2010-10-11More regex memory leak fixes and tests.Ulrich Drepper3-10/+36
2010-10-11Test case for last regex problem.Ulrich Drepper2-2/+24
2010-10-11Fix memory leak for some invalid regular expressions.Ulrich Drepper1-1/+9
2010-09-21Undo feature selection for ftruncate.Ulrich Drepper1-0/+3
2010-08-24Rejigger header generation for default uname implementation.Roland McGrath1-0/+8
2010-08-09Avoid too much stack use in fnmatch.Ulrich Drepper2-61/+128
2010-06-19Correct checking loop in group_member.Ulrich Drepper1-4/+5
2010-06-14Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek1-4/+4
This patch fixes some cases which fail to parse with C++.
2010-05-05Fix lookup of collation sequence value during regexp matchingAndreas Schwab1-1/+1
2010-04-09Fix tst-chmod not to write into srcdir.Roland McGrath1-1/+1
2010-04-07Add tests for recent getopt changes.Ulrich Drepper6-1/+396
2010-04-07getopt mishandles optstring of "+:"Eric Blake1-2/+4
2010-04-07getopt mistakenly allows '-;' as short optionEric Blake1-1/+1
2010-04-07Fix -W with optional parameters in getopt.Eric Blake1-1/+6
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 Drepper1-12/+13