CVS update: php3/regex

From: Date: Mon, 05 Oct 1998 16:14:55 +0000
Subject: CVS update: php3/regex
Groups: php.dev 
Request: Send a blank email to php-dev+get-1684@lists.php.net to get a copy of this message
Date: Monday October 5, 1998 @ 12:14 Author: zeev Update of /repository/php3/regex In directory asf:/u2/tmp/cvs-serv12936/regex Modified Files: engine.ih regcomp.ih regerror.ih Log Message: url.c fixes... I don't think we need warnings in those internally called functions. Also handle freeing memory in case of errors. Index: php3/regex/engine.ih diff -c php3/regex/engine.ih:1.3 php3/regex/engine.ih:1.4 *** php3/regex/engine.ih:1.3 Thu Jun 4 13:00:08 1998 --- php3/regex/engine.ih Mon Oct 5 12:14:55 1998 *************** *** 1,9 **** ! /* ========= begin header generated by ./mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === engine.c === */ static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags); static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst); static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev); --- 1,9 ---- ! /* ========= begin header generated by ../../regex/mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === ../../regex/engine.c === */ static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags); static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst); static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev); *************** *** 32,35 **** #ifdef __cplusplus } #endif ! /* ========= end header generated by ./mkh ========= */ --- 32,35 ---- #ifdef __cplusplus } #endif ! /* ========= end header generated by ../../regex/mkh ========= */ Index: php3/regex/regcomp.ih diff -c php3/regex/regcomp.ih:1.4 php3/regex/regcomp.ih:1.5 *** php3/regex/regcomp.ih:1.4 Thu Jun 4 13:00:09 1998 --- php3/regex/regcomp.ih Mon Oct 5 12:14:55 1998 *************** *** 1,9 **** ! /* ========= begin header generated by ./mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === regcomp.c === */ static void p_ere(register struct parse *p, int stop); static void p_ere_exp(register struct parse *p); static void p_str(register struct parse *p); --- 1,9 ---- ! /* ========= begin header generated by ../../regex/mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === ../../regex/regcomp.c === */ static void p_ere(register struct parse *p, int stop); static void p_ere_exp(register struct parse *p); static void p_str(register struct parse *p); *************** *** 45,48 **** #ifdef __cplusplus } #endif ! /* ========= end header generated by ./mkh ========= */ --- 45,48 ---- #ifdef __cplusplus } #endif ! /* ========= end header generated by ../../regex/mkh ========= */ Index: php3/regex/regerror.ih diff -c php3/regex/regerror.ih:1.3 php3/regex/regerror.ih:1.4 *** php3/regex/regerror.ih:1.3 Thu Jun 4 13:00:09 1998 --- php3/regex/regerror.ih Mon Oct 5 12:14:55 1998 *************** *** 1,12 **** ! /* ========= begin header generated by ./mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === regerror.c === */ static char *regatoi(const regex_t *preg, char *localbuf); #ifdef __cplusplus } #endif ! /* ========= end header generated by ./mkh ========= */ --- 1,12 ---- ! /* ========= begin header generated by ../../regex/mkh ========= */ #ifdef __cplusplus extern "C" { #endif ! /* === ../../regex/regerror.c === */ static char *regatoi(const regex_t *preg, char *localbuf); #ifdef __cplusplus } #endif ! /* ========= end header generated by ../../regex/mkh ========= */ -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#1684) next »