com php-src: Revert "Fixed bug #71219": NEWS ext/posix/config.m4
| From: | Nikita Popov | Date: | Sat, 30 Jul 2016 16:34:34 +0000 |
| Subject: | com php-src: Revert "Fixed bug #71219": NEWS ext/posix/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93501@lists.php.net to get a copy of this message | ||
Commit: c9d3ff0c6e86398b9471428ab49c6a6fa47ae977
Author: Nikita Popov <nikic@php.net> Sat, 30 Jul 2016 18:34:34 +0200
Parents: 14d674442ef86ad4e862228a1ff5ecd322ae7759
Branches: PHP-5.6 PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c9d3ff0c6e86398b9471428ab49c6a6fa47ae977
Log:
Revert "Fixed bug #71219"
This reverts commit 14d674442ef86ad4e862228a1ff5ecd322ae7759.
I misread the discussion on the bug -- this is not the correct
fix. However the other proposed fix does not work either, so just
reverting for now.
Bugs:
https://bugs.php.net/71219
Changed paths:
M NEWS
M ext/posix/config.m4
Diff:
diff --git a/NEWS b/NEWS
index 33a3170..bc4df65 100644
--- a/NEWS
+++ b/NEWS
@@ -63,10 +63,6 @@ PHP NEWS
- PDO_pgsql:
. Fixed bug #70313 (PDO statement fails to throw exception). (Matteo)
-- Posix:
- . Fixed bug #71219 (php's configure script incorrectly checks for ttyname_r
- availability). (Nikita)
-
- Reflection:
. Fixed bug #72222 (ReflectionClass::export doesn't handle array constants).
(Nikita Nefedov)
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4
index eb0d1db..82b80ce 100644
--- a/ext/posix/config.m4
+++ b/ext/posix/config.m4
@@ -21,7 +21,7 @@ int main(int argc, char *argv[])
{
char buf[64];
- return !ttyname_r(0, buf, 64);
+ return ttyname_r(0, buf, 64) ? 1 : 0;
}
],[
AC_MSG_RESULT([yes])