[php-src] master: Remove outdated Zend/zend_istdiostream.h file (#13765)

From: Date: Thu, 21 Mar 2024 09:51:03 +0000
Subject: [php-src] master: Remove outdated Zend/zend_istdiostream.h file (#13765)
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127818@lists.php.net to get a copy of this message
Author: Peter Kokot (petk) Committer: GitHub (web-flow) Pusher: petk Date: 2024-03-21T10:37:14+01:00 Commit: https://github.com/php/php-src/commit/79e4ca1e41fd92f58fb6ed8ef7d20f70773da94a Raw diff: https://github.com/php/php-src/commit/79e4ca1e41fd92f58fb6ed8ef7d20f70773da94a.diff Remove outdated Zend/zend_istdiostream.h file (#13765) This removes the unused and obsolete Zend/zend_istdiostream.h header and symbols on Windows: - HAVE_STDIOSTR_H - HAVE_CLASS_ISTDIOSTREAM - istdiostream Changed paths: D Zend/zend_istdiostream.h M UPGRADING.INTERNALS M Zend/zend_config.w32.h Diff: diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index ee111d4e7c49..cdeeac14d1f4 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -91,6 +91,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES - Symbol DBA_CDB_MAKE removed in ext/dba. - Symbol HAVE_LIBM has been removed. - Symbol HAVE_INET_ATON has been removed. + - The Zend/zend_istdiostream.h header has been removed. b. Unix build system changes - The configure option --with-imap-ssl has been removed. diff --git a/Zend/zend_config.w32.h b/Zend/zend_config.w32.h index da6b1f89580f..ffd5f1736ee4 100644 --- a/Zend/zend_config.w32.h +++ b/Zend/zend_config.w32.h @@ -38,10 +38,6 @@ #include <float.h> -#define HAVE_STDIOSTR_H 1 -#define HAVE_CLASS_ISTDIOSTREAM -#define istdiostream stdiostream - #if _MSC_VER < 1900 #define snprintf _snprintf #endif diff --git a/Zend/zend_istdiostream.h b/Zend/zend_istdiostream.h deleted file mode 100644 index 74470d2ae588..000000000000 --- a/Zend/zend_istdiostream.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | Zend Engine | - +----------------------------------------------------------------------+ - | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | - +----------------------------------------------------------------------+ - | This source file is subject to version 2.00 of the Zend license, | - | that is bundled with this package in the file LICENSE, and is | - | available through the world-wide-web at the following url: | - | http://www.zend.com/license/2_00.txt. | - | If you did not receive a copy of the Zend license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@zend.com so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Authors: Andi Gutmans <andi@php.net> | - | Zeev Suraski <zeev@php.net> | - +----------------------------------------------------------------------+ -*/ - -#ifndef _ZEND_STDIOSTREAM -#define _ZEND_STDIOSTREAM - -#if defined(ZTS) && !defined(HAVE_CLASS_ISTDIOSTREAM) -class istdiostream : public istream -{ -private: - stdiobuf _file; -public: - istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); } - stdiobuf* rdbuf()/* const */ { return &_file; } -}; -#endif - -#endif

« previous php.cvs (#127818) next »