|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch php-ttyname_r-test.patch for *Compile Issues Bug #71219Patch version 2015-12-25 18:35 UTC Return to Bug #71219 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions:Developer: atoth@atoth.sote.hu
diff -urN php-5.6.16-orig/configure php-5.6.16-dwok/configure
--- php-5.6.16-orig/configure 2015-11-26 00:43:26.000000000 +0100
+++ php-5.6.16-dwok/configure 2015-12-25 19:10:27.537985626 +0100
@@ -79179,7 +79179,7 @@
{
char buf[64];
- return ttyname_r(0, buf, 64) ? 1 : 0;
+ return ttyname_r(0, buf, 64) ? 0 : 1;
}
_ACEOF
diff -urN php-5.6.16-orig/ext/posix/config.m4 php-5.6.16-dwok/ext/posix/config.m4
--- php-5.6.16-orig/ext/posix/config.m4 2015-11-25 21:28:38.000000000 +0100
+++ php-5.6.16-dwok/ext/posix/config.m4 2015-12-25 19:10:40.854128401 +0100
@@ -21,7 +21,7 @@
{
char buf[64];
- return ttyname_r(0, buf, 64) ? 1 : 0;
+ return ttyname_r(0, buf, 64) ? 0 : 1;
}
],[
AC_MSG_RESULT([yes])
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 17:00:02 2025 UTC |