public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/php] private-php86: 5.6.21RC1
@ 2026-11-27  7:27 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-11-27  7:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : efcccf32c99f06813bb12a90b131e61da63e4f90
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2016-04-18T10:35:52+02:00
Stats  : +9/-69 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/efcccf32c99f06813bb12a90b131e61da63e4f90?branch=private-php86

Log:
5.6.21RC1

---
diff --git a/.gitignore b/.gitignore
index ef31f53..a931580 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,3 +68,4 @@ php-5.5.*.xz
 /php-5.6.19-strip.tar.xz
 /php-5.6.20RC1-strip.tar.xz
 /php-5.6.20-strip.tar.xz
+/php-5.6.21RC1-strip.tar.xz

diff --git a/php-5.4.7-odbctimer.patch b/php-5.4.7-odbctimer.patch
deleted file mode 100644
index 88c4da4..0000000
--- a/php-5.4.7-odbctimer.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From 657494235eafe048e9fa6a19dcdb3c73a0cbe6ec Mon Sep 17 00:00:00 2001
-From: Remi Collet <fedora@famillecollet.com>
-Date: Thu, 27 Sep 2012 13:45:32 +0200
-Subject: [PATCH] Fixed bug #63171, script hangs if odbc call during timeout
-
----
- ext/odbc/php_odbc.c |   21 ++++++++++++++-------
- 1 file changed, 14 insertions(+), 7 deletions(-)
-
-diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
-index 52d46b2..2169e65 100644
---- a/ext/odbc/php_odbc.c
-+++ b/ext/odbc/php_odbc.c
-@@ -431,7 +431,8 @@ static void _free_odbc_result(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- 			efree(res->values);
- 			res->values = NULL;
- 		}
--		if (res->stmt) {
-+		/* If aborted via timer expiration, don't try to call any unixODBC function */
-+		if (res->stmt && !(PG(connection_status) & PHP_CONNECTION_TIMEOUT)) {
- #if defined(HAVE_SOLID) || defined(HAVE_SOLID_30) || defined(HAVE_SOLID_35)
- 			SQLTransact(res->conn_ptr->henv, res->conn_ptr->hdbc,
- 						(SQLUSMALLINT) SQL_COMMIT);
-@@ -484,9 +485,12 @@ static void _close_odbc_conn(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- 		}
- 	}
- 
--   	safe_odbc_disconnect(conn->hdbc);
--	SQLFreeConnect(conn->hdbc);
--	SQLFreeEnv(conn->henv);
-+	/* If aborted via timer expiration, don't try to call any unixODBC function */
-+	if (!(PG(connection_status) & PHP_CONNECTION_TIMEOUT)) {
-+		safe_odbc_disconnect(conn->hdbc);
-+		SQLFreeConnect(conn->hdbc);
-+		SQLFreeEnv(conn->henv);
-+	}
- 	efree(conn);
- 	ODBCG(num_links)--;
- }
-@@ -512,9 +516,12 @@ static void _close_odbc_pconn(zend_rsrc_list_entry *rsrc TSRMLS_DC)
- 		}
- 	}
- 	
--	safe_odbc_disconnect(conn->hdbc);
--	SQLFreeConnect(conn->hdbc);
--	SQLFreeEnv(conn->henv);
-+	/* If aborted via timer expiration, don't try to call any unixODBC function */
-+	if (!(PG(connection_status) & PHP_CONNECTION_TIMEOUT)) {
-+		safe_odbc_disconnect(conn->hdbc);
-+		SQLFreeConnect(conn->hdbc);
-+		SQLFreeEnv(conn->henv);
-+	}
- 	free(conn);
- 
- 	ODBCG(num_links)--;
--- 
-1.7.10
-

diff --git a/php.spec b/php.spec
index fb91046..0f273fd 100644
--- a/php.spec
+++ b/php.spec
@@ -64,16 +64,16 @@
 %global db_devel  libdb-devel
 %endif
 
-#global rcver  RC1
+%global rcver  RC1
 %global rpmrel 1
 
 Summary: PHP scripting language for creating dynamic web sites
 Name: php
-Version: 5.6.20
+Version: 5.6.21
 %if 0%{?rcver:1}
-Release: 0.%{rpmrel}.%{rcver}%{?dist}.1
+Release: 0.%{rpmrel}.%{rcver}%{?dist}
 %else
-Release: %{rpmrel}%{?dist}.1
+Release: %{rpmrel}%{?dist}
 %endif
 # All files licensed under PHP version 3.01, except
 # Zend is licensed under Zend
@@ -108,10 +108,6 @@ Patch6: php-5.6.3-embed.patch
 Patch7: php-5.3.0-recode.patch
 Patch8: php-5.6.17-libdb.patch
 
-# Fixes for extension modules
-# https://bugs.php.net/63171 no odbc call during timeout
-Patch21: php-5.4.7-odbctimer.patch
-
 # Functional changes
 Patch40: php-5.4.0-dlopen.patch
 Patch42: php-5.6.13-systzdata-v12.patch
@@ -716,8 +712,6 @@ httpd -V  | grep -q 'threaded:.*yes' && exit 1
 %patch7 -p1 -b .recode
 %patch8 -p1 -b .libdb
 
-%patch21 -p1 -b .odbctimer
-
 %patch40 -p1 -b .dlopen
 %patch42 -p1 -b .systzdata
 %patch43 -p1 -b .headers
@@ -1486,6 +1480,9 @@ rm -f README.{Zeus,QNX,CVS-RULES}
 
 
 %changelog
+* Mon Apr 18 2016 Remi Collet <remi@fedoraproject.org> 5.6.21-0.1.RC1
+- update to 5.6.21RC1
+
 * Fri Apr 15 2016 David Tardon <dtardon@redhat.com> - 5.6.20-1.1
 - rebuild for ICU 57.1
 

diff --git a/sources b/sources
index 48cc890..d562aef 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2674685c36600dbd90e84485b8502183  php-5.6.20-strip.tar.xz
+f7af84888e2b99d36f8aef4a6d7a07c1  php-5.6.21RC1-strip.tar.xz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-27  7:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-27  7:27 [rpms/php] private-php86: 5.6.21RC1 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox