summaryrefslogtreecommitdiff
path: root/lang/php4/files/patch-ext::pcre::php_pcre.c
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-06-03 16:27:01 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-06-03 16:27:01 +0000
commite3c782fdc48de037610bdae1847ded4078714cc6 (patch)
treed6e170e5298644aa82e51e0096053e9796918f1e /lang/php4/files/patch-ext::pcre::php_pcre.c
parentCommit something that I've been sitting on for just about months now: (diff)
Update to 4.3.7 release.
Notes
Notes: svn path=/head/; revision=110782
Diffstat (limited to 'lang/php4/files/patch-ext::pcre::php_pcre.c')
-rw-r--r--lang/php4/files/patch-ext::pcre::php_pcre.c47
1 files changed, 0 insertions, 47 deletions
diff --git a/lang/php4/files/patch-ext::pcre::php_pcre.c b/lang/php4/files/patch-ext::pcre::php_pcre.c
deleted file mode 100644
index 164f47283c36..000000000000
--- a/lang/php4/files/patch-ext::pcre::php_pcre.c
+++ /dev/null
@@ -1,47 +0,0 @@
---- ext/pcre/php_pcre.c.orig Sun Feb 1 20:56:16 2004
-+++ ext/pcre/php_pcre.c Sat May 8 00:50:32 2004
-@@ -47,20 +47,6 @@
-
- ZEND_DECLARE_MODULE_GLOBALS(pcre)
-
--
--static void *php_pcre_malloc(size_t size)
--{
-- return pemalloc(size, 1);
--}
--
--
--static void php_pcre_free(void *ptr)
--{
-- if (ptr)
-- pefree(ptr, 1);
--}
--
--
- static void php_free_pcre_cache(void *data)
- {
- pcre_cache_entry *pce = (pcre_cache_entry *) data;
-@@ -107,14 +93,6 @@
- REGISTER_LONG_CONSTANT("PREG_SPLIT_OFFSET_CAPTURE", PREG_SPLIT_OFFSET_CAPTURE, CONST_CS | CONST_PERSISTENT);
- REGISTER_LONG_CONSTANT("PREG_GREP_INVERT", PREG_GREP_INVERT, CONST_CS | CONST_PERSISTENT);
-
-- pcre_malloc = php_pcre_malloc;
-- pcre_free = php_pcre_free;
--
--#ifdef NO_RECURSE
-- pcre_stack_malloc = php_pcre_malloc;
-- pcre_stack_free = php_pcre_free;
--#endif
--
- return SUCCESS;
- }
- /* }}} */
-@@ -548,7 +526,7 @@
- }
- }
-
-- php_pcre_free((void *) stringlist);
-+ pcre_free((void *) stringlist);
- }
- }
- else { /* Failed to match */