Skip to content

Commit c9d3ff0

Browse files
committed
Revert "Fixed bug #71219"
This reverts commit 14d6744. 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.
1 parent 14d6744 commit c9d3ff0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

NEWS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ PHP NEWS
6363
- PDO_pgsql:
6464
. Fixed bug #70313 (PDO statement fails to throw exception). (Matteo)
6565

66-
- Posix:
67-
. Fixed bug #71219 (php's configure script incorrectly checks for ttyname_r
68-
availability). (Nikita)
69-
7066
- Reflection:
7167
. Fixed bug #72222 (ReflectionClass::export doesn't handle array constants).
7268
(Nikita Nefedov)

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);
24+
return ttyname_r(0, buf, 64) ? 1 : 0;
2525
}
2626
],[
2727
AC_MSG_RESULT([yes])

0 commit comments

Comments
 (0)