| Commit message (Expand) | Author | Age | Files | Lines |
| * | upgrade to latest upstream TRE regex code (0.8.0)•••the main practical results of this change are
1. the regex code is no longer subject to LGPL; it's now 2-clause BSD
2. most (all?) popular nonstandard regex extensions are supported
I hesitate to call this a "sync" since both the old and new code are
heavily modified. in one sense, the old code was "more severely"
modified, in that it was actively hostile to non-strictly-conforming
expressions. on the other hand, the new code has eliminated the
useless translation of the entire regex string to wchar_t prior to
compiling, and now only converts multibyte character literals as
needed.
in the future i may use this modified TRE as a basis for writing the
long-planned new regex engine that will avoid multibyte-to-wide
character conversion entirely by compiling multibyte bracket
expressions specific to UTF-8.
| Rich Felker | 2012-03-20 | 5 | -1155/+1024 |
| * | make glob mark symlinks-to-directories with the GLOB_MARK flag•••POSIX is unclear on whether it should, but all historical
implementations seem to behave this way, and it seems more useful to
applications.
| Rich Felker | 2012-01-23 | 1 | -1/+1 |
| * | support GLOB_PERIOD flag (GNU extension) to glob function•••patch by sh4rm4
| Rich Felker | 2012-01-22 | 1 | -1/+2 |
| * | duplicate re_nsub in LSB/glibc ABI compatible location | Rich Felker | 2011-06-16 | 1 | -1/+1 |
| * | fix handling of d_name in struct dirent•••basically there are 3 choices for how to implement this variable-size
string member:
1. C99 flexible array member: breaks using dirent.h with pre-C99 compiler.
2. old way: length-1 string: generates array bounds warnings in caller.
3. new way: length-NAME_MAX string. no problems, simplifies all code.
of course the usable part in the pointer returned by readdir might be
shorter than NAME_MAX+1 bytes, but that is allowed by the standard and
doesn't hurt anything.
| Rich Felker | 2011-06-06 | 1 | -3/+2 |
| * | safety fix for glob's vla usage: disallow patterns longer than PATH_MAX•••this actually inadvertently disallows some valid patterns with
redundant / or * characters, but it's better than allowing unbounded
vla allocation.
eventually i'll write code to move the pattern to the stack and
eliminate redundancy to ensure that it fits in PATH_MAX at the
beginning of glob. this would also allow it to be modified in place
for passing to fnmatch rather than copied at each level of recursion.
| Rich Felker | 2011-06-05 | 1 | -0/+2 |
| * | eliminate (harmless in this case) vla usage in fnmatch.c | Rich Felker | 2011-06-05 | 1 | -1/+1 |
| * | fix bug in TRE found by clang (typo && instead of &) | Rich Felker | 2011-04-07 | 1 | -1/+1 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 7 | -0/+5364 |