compiler/clib/regex: Switched to NetBSD version of the regex functions.
commit72bee015c74b7362d70765f7ac40e7b46c29d251
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 17 Mar 2012 11:14:32 +0000 (17 11:14 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 17 Mar 2012 11:14:32 +0000 (17 11:14 +0000)
tree5ad9498d8d21240466493a7cfd7faaab5d474403
parent85012de141d8ee3575f126ee062cd828e79a4eb5
compiler/clib/regex: Switched to NetBSD version of the regex functions.

These functions don't depend on functions in compiler/clib/locale allowing to reowrk locale support.

Some netBSD peculiarities removed:
 * _DIAGASSERT() -> assert(), and define NDEBUG if !DEBUG
 * Don't incluce <sys/cdefs.h>
 * Don't include "namespace.h"
 * u_int32_t -> uint32_t
 * __UNCONST(string) -> (char *)string

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44417 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
14 files changed:
compiler/clib/regex/COPYRIGHT
compiler/clib/regex/Makefile.inc [new file with mode: 0644]
compiler/clib/regex/WHATSNEW [new file with mode: 0644]
compiler/clib/regex/cclass.h [new file with mode: 0644]
compiler/clib/regex/cname.h
compiler/clib/regex/engine.c
compiler/clib/regex/re_format.7 [new file with mode: 0644]
compiler/clib/regex/regcomp.c
compiler/clib/regex/regerror.c
compiler/clib/regex/regex.3 [new file with mode: 0644]
compiler/clib/regex/regex2.h
compiler/clib/regex/regexec.c
compiler/clib/regex/regfree.c
compiler/clib/regex/utils.h