summaryrefslogtreecommitdiffstats
path: root/php-pecl-memcache-3.0.6-fdcast.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-memcache-3.0.6-fdcast.patch')
-rw-r--r--php-pecl-memcache-3.0.6-fdcast.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/php-pecl-memcache-3.0.6-fdcast.patch b/php-pecl-memcache-3.0.6-fdcast.patch
deleted file mode 100644
index 50d3021..0000000
--- a/php-pecl-memcache-3.0.6-fdcast.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Fix php_stream_cast() usage.
-
---- memcache-3.0.6/memcache_pool.c.fdcast 2011-04-11 05:56:53.000000000 +0100
-+++ memcache-3.0.6/memcache_pool.c 2012-07-05 15:27:02.447511095 +0100
-@@ -746,9 +746,9 @@ static int mmc_server_connect(mmc_pool_t
- }
-
- /* check connection and extract socket for select() purposes */
-- void *fd;
-+ int fd;
-
-- if (!io->stream || php_stream_cast(io->stream, PHP_STREAM_AS_FD_FOR_SELECT, &fd, 1) != SUCCESS) {
-+ if (!io->stream || php_stream_cast(io->stream, PHP_STREAM_AS_FD_FOR_SELECT, (void **)&fd, 1) != SUCCESS) {
- mmc_server_seterror(mmc, errstr != NULL ? errstr : "Connection failed", errnum);
- mmc_server_deactivate(pool, mmc TSRMLS_CC);
-