diff options
author | Martin Matuska <mm@FreeBSD.org> | 2012-02-14 12:39:23 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2012-02-14 12:39:23 +0000 |
commit | 0bc6198f4866c570a9282b4ee1d9c241b48f6dab (patch) | |
tree | e0a3dd0a204688924c2be1d0bcfaa097d0b9e759 /devel/pcre/files/patch-pcre_compile.c | |
parent | - Mark as deprecated. Set expiration date to 2012-03-14. (diff) |
Update PCRE to 8.30
Add support for binding pcretest to libedit [1]
PR: ports/162565 [1]
Notes
Notes:
svn path=/head/; revision=291335
Diffstat (limited to 'devel/pcre/files/patch-pcre_compile.c')
-rw-r--r-- | devel/pcre/files/patch-pcre_compile.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/devel/pcre/files/patch-pcre_compile.c b/devel/pcre/files/patch-pcre_compile.c deleted file mode 100644 index 4634113df003..000000000000 --- a/devel/pcre/files/patch-pcre_compile.c +++ /dev/null @@ -1,34 +0,0 @@ ---- pcre_compile.c 2011/12/15 11:57:39 806 -+++ pcre_compile.c 2011/12/18 10:03:38 807 -@@ -1655,7 +1655,8 @@ - case OP_ASSERTBACK: - case OP_ASSERTBACK_NOT: - do cc += GET(cc, 1); while (*cc == OP_ALT); -- /* Fall through */ -+ cc += _pcre_OP_lengths[*cc]; -+ break; - - /* Skip over things that don't match chars */ - -@@ -6450,10 +6451,10 @@ - - if (ptr[1] != CHAR_PLUS && ptr[1] != CHAR_MINUS) - { -- BOOL isnumber = TRUE; -+ BOOL is_a_number = TRUE; - for (p = ptr + 1; *p != 0 && *p != terminator; p++) - { -- if ((cd->ctypes[*p] & ctype_digit) == 0) isnumber = FALSE; -+ if ((cd->ctypes[*p] & ctype_digit) == 0) is_a_number = FALSE; - if ((cd->ctypes[*p] & ctype_word) == 0) break; - } - if (*p != terminator) -@@ -6461,7 +6462,7 @@ - *errorcodeptr = ERR57; - break; - } -- if (isnumber) -+ if (is_a_number) - { - ptr++; - goto HANDLE_NUMERICAL_RECURSION; |