FreeBSD Bugzilla – Attachment 65236 Details for
Bug 96730
Update port: databases/pecl-memcache fix SIGSEGV
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pecl-memcache.patch
pecl-memcache.patch (text/plain), 1.66 KB, created by
Marcus Alves Grando
on 2006-05-03 20:50:21 UTC
(
hide
)
Description:
pecl-memcache.patch
Filename:
MIME Type:
Creator:
Marcus Alves Grando
Created:
2006-05-03 20:50:21 UTC
Size:
1.66 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/pcvs/ports/databases/pecl-memcache/Makefile,v >retrieving revision 1.7 >diff -u -r1.7 Makefile >--- Makefile 15 Mar 2006 15:27:19 -0000 1.7 >+++ Makefile 3 May 2006 19:43:44 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= memcache > PORTVERSION= 2.0.1 >+PORTREVISION= 1 > CATEGORIES= databases > MASTER_SITES= http://pecl.php.net/get/ > PKGNAMEPREFIX= pecl- >@@ -20,11 +21,9 @@ > USE_PHPEXT= yes > PHP_MODNAME= memcache > >-CONFIGURE_ARGS= --with-zlib-dir=/usr >+USE_DOS2UNIX= yes > >-post-extract: >- @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt|php)" -print0 | \ >- ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' >+CONFIGURE_ARGS= --with-zlib-dir=/usr > > .if !defined(NOPORTDOCS) > post-install: >Index: files/patch-memcache.c >=================================================================== >RCS file: /home/pcvs/ports/databases/pecl-memcache/files/patch-memcache.c,v >retrieving revision 1.1 >diff -u -r1.1 patch-memcache.c >--- files/patch-memcache.c 21 Jan 2006 17:27:36 -0000 1.1 >+++ files/patch-memcache.c 3 May 2006 19:43:44 -0000 >@@ -1,5 +1,5 @@ >---- ./memcache.c.orig Wed Jan 4 23:33:18 2006 >-+++ ./memcache.c Wed Jan 4 23:33:25 2006 >+--- memcache.c.orig Wed May 3 16:41:31 2006 >++++ memcache.c Wed May 3 16:42:05 2006 > @@ -120,7 +120,7 @@ > > /* {{{ macros */ >@@ -9,3 +9,14 @@ > > #if ZEND_DEBUG > >+@@ -580,7 +580,9 @@ >+ if ((version = mmc_get_version(mmc TSRMLS_CC)) == NULL && !_mmc_open(mmc, error_string, errnum TSRMLS_CC)) { >+ break; >+ } >+- efree(version); >++ if (version) { >++ efree(version); >++ } >+ mmc->status = MMC_STATUS_CONNECTED; >+ } >+ return 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 96730
: 65236