diff options
author | Joe Watkins <krakjoe@php.net> | 2017-01-11 08:09:10 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-11 08:09:10 +0000 |
commit | 51d487786c7ac2393604695318aaa72376161f2f (patch) | |
tree | 4f8615874f28eddff8bfce93a06a27d1c777bcc2 /ext/posix | |
parent | 6a9efa2d3e6180c3df23dc8b7832f17b5de6acde (diff) | |
download | php-git-51d487786c7ac2393604695318aaa72376161f2f.tar.gz |
Fixed bug #71219 configure script incorrectly checks for ttyname_r
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/config.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index 9dfa70d1db..0c4c30561e 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) ? 1 : 0; + return !ttyname_r(0, buf, 64); } ],[ AC_MSG_RESULT([yes]) |