Skip to content

Commit 2118dcb

Browse files
committed
Merge branch 'PHP-7.1'
* PHP-7.1: Fixed bug #71219 configure script incorrectly checks for ttyname_r
2 parents 87f7113 + d5553b9 commit 2118dcb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ PHP NEWS
8888
(Adam Baratz)
8989
. Fixed bug #73396 (bigint columns are returned as strings). (Adam Baratz)
9090

91+
- posix:
92+
. Fixed bug #71219 (configure script incorrectly checks for ttyname_r). (atoh)
93+
9194
- Session:
9295
. Fixed bug #73461 (Prohibit session save handler recursion). (Yasuo)
9396
. PR #2233 Removed register_globals related code and "!" can be used as $_SESSION key name. (Yasuo)

ext/posix/config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ int main(int argc, char *argv[])
2121
{
2222
char buf[64];
2323
24-
return ttyname_r(0, buf, 64) ? 1 : 0;
24+
return !ttyname_r(0, buf, 64);
2525
}
2626
],[
2727
AC_MSG_RESULT([yes])

0 commit comments

Comments
 (0)