1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Many files:

Prefix regex functions/types with "my_" as our
  library is not compatible with normal regex lib.
my_regex.h:
  Rename: regex/regex.h -> regex/my_regex.h
This commit is contained in:
kent@mysql.com
2005-09-29 02:08:24 +02:00
parent 7e6a78a1ae
commit 844d964f2d
19 changed files with 97 additions and 96 deletions

View File

@@ -8,11 +8,10 @@
#include <my_global.h>
#include <m_string.h>
#include <m_ctype.h>
#include <regex.h>
#ifdef __WIN__
#include <limits.h>
#endif
#include "my_regex.h"
#include "utils.h"
#include "regex2.h"
@@ -110,11 +109,11 @@ static int nope = 0; /* for use in asserts; shuts lint up */
* have been prototyped.
*/
int /* 0 success, REG_NOMATCH failure */
regexec(preg, str, nmatch, pmatch, eflags)
const regex_t *preg;
my_regexec(preg, str, nmatch, pmatch, eflags)
const my_regex_t *preg;
const char *str;
size_t nmatch;
regmatch_t pmatch[];
my_regmatch_t pmatch[];
int eflags;
{
register struct re_guts *g = preg->re_g;