summaryrefslogtreecommitdiffstats
path: root/stats-upstream.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-02 17:43:34 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-02 17:43:34 +0200
commitf3fc9c27e6a9ade020e54d208bb0e4e00449d95e (patch)
treedba02d458721c6a257811638810f798d38787299 /stats-upstream.patch
parent3430d4f196857dd32f877740cb77b4d7ec6e750b (diff)
php-pecl-stats: 1.0.5 and 2.0.3
Diffstat (limited to 'stats-upstream.patch')
-rw-r--r--stats-upstream.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/stats-upstream.patch b/stats-upstream.patch
deleted file mode 100644
index 327d250..0000000
--- a/stats-upstream.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 9eadb06e96aabfaed7598bc3a7e730d74a9a9631 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@php.net>
-Date: Sat, 28 May 2016 09:48:44 +0200
-Subject: [PATCH] fix zend_parse_parameters call and segfault in
- stats_stat_binomial_coef
-
----
- php_stats.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/php_stats.c b/php_stats.c
-index 8b7c3ef..d7da5fd 100644
---- a/php_stats.c
-+++ b/php_stats.c
-@@ -3381,9 +3381,9 @@ PHP_FUNCTION(stats_stat_correlation)
- Not documented */
- PHP_FUNCTION(stats_stat_binomial_coef)
- {
-- int i;
-+ long i;
- long n;
-- int x;
-+ long x;
- double bc = 1.0;
-
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", &x, &n) == FAILURE) {
---
-2.1.4
-