CVSROOT:        /cvs/src
Module name:    src
Changes by:     [email protected]  2010-02-04 12:35:49

Modified files:
        winsup/cygwin  : ChangeLog Makefile.in nlsfuncs.cc wchar.h 
        winsup/cygwin/regex: COPYRIGHT cname.h engine.c regcomp.c 
                             regerror.c regex.3 regex.7 regex2.h 
                             regexec.c regfree.c utils.h 
Added files:
        winsup/cygwin/include: regex.h 
Removed files:
        winsup/cygwin/regex: cclass.h engine.ih mkh regcomp.ih 
                             regerror.ih regex.h tests 

Log message:
        Replace regex files with multibyte-aware version from FreeBSD.
        * Makefile.in (install-headers): Remove extra command to install
        regex.h.
        (uninstall-headers): Remove extra command to uninstall regex.h.
        * nlsfuncs.cc (collate_lcid): Make externally available to allow
        access to collation internals from regex functions.
        (collate_charset): Ditto.
        * wchar.h: Add __cplusplus guards to make C-clean.
        * include/regex.h: New file, replacing regex/regex.h.  Remove UCB
        advertising clause.
        * regex/COPYRIGHT: Accommodate BSD license.  Remove UCB advertising
        clause.
        * regex/cclass.h: Remove.
        * regex/cname.h: New file from FreeBSD.
        * regex/engine.c: Ditto.
        (NONCHAR): Tweak for Cygwin.
        * regex/engine.ih: Remove.
        * regex/mkh: Remove.
        * regex/regcomp.c: New file from FreeBSD.  Tweak slightly for Cygwin.
        Import required collate internals from nlsfunc.cc.
        (p_ere_exp): Add GNU-specific \< and \> handling for word boundaries.
        (p_simp_re): Ditto.
        (__collate_range_cmp): Define.
        (p_b_term): Use Cygwin-specific collate internals.
        (findmust): Ditto.
        * regex/regcomp.ih: Remove.
        * regex/regerror.c: New file from FreeBSD.  Fix a few compiler warnings.
        * regex/regerror.ih: Remove.
        * regex/regex.7: New file from FreeBSD.  Remove UCB advertising clause.
        * regex/regex.h: Remove.  Replaced by include/regex.h.
        * regex/regexec.c: New file from FreeBSD.  Fix a few compiler warnings.
        * regex/regfree.c: New file from FreeBSD.
        * regex/tests: Remove.
        * regex/utils.h: New file from FreeBSD.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.4796&r2=1.4797
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/Makefile.in.diff?cvsroot=src&r1=1.232&r2=1.233
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/nlsfuncs.cc.diff?cvsroot=src&r1=1.7&r2=1.8
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/wchar.h.diff?cvsroot=src&r1=1.11&r2=1.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/regex.h.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/COPYRIGHT.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/cname.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/engine.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regcomp.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regerror.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regex.3.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regex.7.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regex2.h.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regexec.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regfree.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/utils.h.diff?cvsroot=src&r1=1.1&r2=1.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/cclass.h.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/engine.ih.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/mkh.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regcomp.ih.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regerror.ih.diff?cvsroot=src&r1=1.1&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/regex.h.diff?cvsroot=src&r1=1.3&r2=NONE
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/regex/tests.diff?cvsroot=src&r1=1.1&r2=NONE

Reply via email to