summary refs log tree commit diff
path: root/posix
Commit message (Collapse)AuthorAgeFilesLines
* Optimize regex a bitUlrich Drepper2012-01-031-4/+32
|
* Update copyright yearUlrich Drepper2012-01-011-2/+2
|
* Fix up regcomp/regexecJakub Jelinek2011-12-301-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; }
* Fix access after end of search string in regex matcherAndreas Schwab2011-11-304-9/+8
|
* Fix warnings in regexUlrich Drepper2011-11-122-5/+6
|
* Fix tst-rfc3484 build failuresUlrich Drepper2011-11-013-0/+18
|
* Mark a few more functions with __THROWNL.Ulrich Drepper2011-10-291-3/+3
|
* Don't mark memory synchronisation functions as leafAndreas Schwab2011-10-271-1/+1
|
* Cleanup of configuration optionsUlrich Drepper2011-09-102-30/+28
| | | | Make several tool features mandatory and simplify the code.
* Remove support for automatic cvs check-insUlrich Drepper2011-09-081-6/+0
| | | | CVS use for glibc is long gone.
* Add missing definition of LOCPATH for bug-regex32 runJohn Stanley2011-09-081-0/+1
|
* Try shell in posix_spawn* only in compat modeUlrich Drepper2011-09-054-14/+52
|
* Fix last checkinUlrich Drepper2011-09-051-0/+1
|
* Fix glob.h header by removing gcc 1.x supportUlrich Drepper2011-09-051-16/+3
|
* Define SEEK_DATA and SEEK_HOLEUlrich Drepper2011-07-231-0/+4
|
* Check for overflows in expressionsUlrich Drepper2011-07-201-8/+34
| | | | Some passed in values might cause overflows in expressions.
* Handle W; without long options in getoptUlrich Drepper2011-07-061-2/+7
|
* Quash some new warnings from GCC 4.6.Roland McGrath2011-06-101-0/+1
|
* Fix unnecessary overallocation due to incomplete characterUlrich Drepper2011-05-284-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.
* Remove unused variableUlrich Drepper2011-05-281-1/+0
|
* Add a few more alloca size checksUlrich Drepper2011-05-221-87/+276
|
* Update documentation in regex.hReuben Thomas2011-05-201-4/+9
|
* Update RE_SYNTAX*_AWK constants in regex.hAharon Robbins2011-05-161-9/+12
|
* Provide more helpful error message in getoptUlrich Drepper2011-05-153-21/+124
| | | | If provide with an ambiguous long option we now show all the possibilities.
* Add syncfs syscall.Andreas Schwab2011-04-011-0/+7
|
* Fix typos in comments.Ulrich Drepper2011-04-012-6/+6
|
* Check size of pattern in wide character representation in fnmatch.Ulrich Drepper2011-03-181-1/+12
|
* Fix some warning nits.Roland McGrath2011-02-041-2/+2
|
* Update copyright year.Ulrich Drepper2011-01-171-2/+2
|
* FIx handling of unterminated [ expression in fnmatch.Ulrich Drepper2011-01-145-14/+30
|
* Fix infloop on persistent failing calloc in regex.Jim Meyering2010-12-271-0/+2
|
* Fix memory leak in fnmatchAndreas Schwab2010-11-123-8/+15
|
* One more regex memory leak fixed.Ulrich Drepper2010-10-122-0/+3
|
* More regex memory leak fixes and tests.Ulrich Drepper2010-10-113-10/+36
|
* Test case for last regex problem.Ulrich Drepper2010-10-112-2/+24
|
* Fix memory leak for some invalid regular expressions.Ulrich Drepper2010-10-111-1/+9
|
* Undo feature selection for ftruncate.Ulrich Drepper2010-09-211-0/+3
|
* Rejigger header generation for default uname implementation.Roland McGrath2010-08-241-0/+8
|
* Avoid too much stack use in fnmatch.Ulrich Drepper2010-08-092-61/+128
|
* Correct checking loop in group_member.Ulrich Drepper2010-06-191-4/+5
|
* Fix a couple of __REDIRECT () __THROW occurrencesJakub Jelinek2010-06-141-4/+4
| | | | This patch fixes some cases which fail to parse with C++.
* Fix lookup of collation sequence value during regexp matchingAndreas Schwab2010-05-051-1/+1
|
* Fix tst-chmod not to write into srcdir.Roland McGrath2010-04-091-1/+1
|
* Add tests for recent getopt changes.Ulrich Drepper2010-04-076-1/+396
|
* getopt mishandles optstring of "+:"Eric Blake2010-04-071-2/+4
|
* getopt mistakenly allows '-;' as short optionEric Blake2010-04-071-1/+1
|
* Fix -W with optional parameters in getopt.Eric Blake2010-04-071-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.
* Fix printing error messages in getopt.Ulrich Drepper2010-04-041-12/+13
|
* Document problem with NATs in getaddrinfo.Ulrich Drepper2010-04-031-0/+9
|
* Whitespace fixes.Ulrich Drepper2010-03-271-2/+2
|