root / trunk / data / grep / regcomp.diff
| Revision 199, 0.8 kB (checked in by saurik, 8 months ago) |
|---|
-
lib/regex.c
diff -ru grep-2.5/lib/regex.c grep-2.5+iPhone/lib/regex.c
old new 80 80 # define PUT_CHAR(c) putchar (c) 81 81 #endif /* MBS_SUPPORT */ 82 82 83 #ifdef _LIBC84 /* We have to keep the namespace clean. */85 83 # define regfree(preg) __regfree (preg) 86 84 # define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef) 87 85 # define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) 88 86 # define regerror(errcode, preg, errbuf, errbuf_size) \ 89 87 __regerror(errcode, preg, errbuf, errbuf_size) 88 #ifdef _LIBC 89 /* We have to keep the namespace clean. */ 90 90 # define re_set_registers(bu, re, nu, st, en) \ 91 91 __re_set_registers (bu, re, nu, st, en) 92 92 # define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \
Note: See TracBrowser
for help on using the browser.
