DragonFly-2.3.0.615.ga0bb9 master include regex.h lib/libc/regex cclass.h cname.h engine.c re_format.7 regcomp.c regerror.c regex.3 regex2.h regexec.c regfree.c utils.h

Peter Avalos pavalos at crater.dragonflybsd.org
Tue Apr 7 00:13:44 PDT 2009


commit a0bb9527e66ae20ed57597e6fdafbcfc65888244
Author: Peter Avalos <pavalos at theshell.com>
Date:   Tue Jan 27 09:17:46 2009 -0500

    Sync libc/regex with FreeBSD:
    
    -Make regular expression matching aware of multibyte characters.
    
    -Some WARNS cleanup.
    
    -Only stop evaluation of a back reference if the match length is
    zero and the recursion level is too deep.
    
    -Add restrict type-qualifier.

Summary of changes:
 include/regex.h            |   25 ++-
 lib/libc/regex/cclass.h    |   63 ----
 lib/libc/regex/cname.h     |    5 +-
 lib/libc/regex/engine.c    |  345 +++++++++++++--------
 lib/libc/regex/re_format.7 |   12 +-
 lib/libc/regex/regcomp.c   |  752 +++++++++++++++-----------------------------
 lib/libc/regex/regerror.c  |   14 +-
 lib/libc/regex/regex.3     |   83 ++++--
 lib/libc/regex/regex2.h    |   92 +++---
 lib/libc/regex/regexec.c   |   78 ++++-
 lib/libc/regex/regfree.c   |   22 +-
 lib/libc/regex/utils.h     |    5 +-
 12 files changed, 691 insertions(+), 805 deletions(-)
 delete mode 100644 lib/libc/regex/cclass.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a0bb9527e66ae20ed57597e6fdafbcfc65888244


-- 
DragonFly BSD source repository





More information about the Commits mailing list