From: Christian Stocker Date: Wed, 21 Jul 2004 11:20:33 +0000 (+0000) Subject: MFH. Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn) X-Git-Tag: php-5.0.1RC1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2f3142c7863c3c4b53bb0a40d84d7e967a5dba6;p=php MFH. Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn) --- diff --git a/run-tests.php b/run-tests.php index 817113f600..e2073876c3 100755 --- a/run-tests.php +++ b/run-tests.php @@ -445,7 +445,6 @@ if (!getenv('NO_INTERACTION')) { if (!strncasecmp($user_input, 'y', 1) || strlen(trim($user_input)) == 0) { echo "\nPlease enter your email address.\n(Your address will be mangled so that it will not go out on any\nmailinglist in plain text): "; flush(); - $fp = fopen("php://stdin", "r+"); $user_email = trim(fgets($fp, 1024)); $user_email = str_replace("@", " at ", str_replace(".", " dot ", $user_email)); }