]> granicus.if.org Git - php/commitdiff
MFH. Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn)
authorChristian Stocker <chregu@php.net>
Wed, 21 Jul 2004 11:20:33 +0000 (11:20 +0000)
committerChristian Stocker <chregu@php.net>
Wed, 21 Jul 2004 11:20:33 +0000 (11:20 +0000)
run-tests.php

index 817113f600ad0b5f6a869cb0f1310a4c699b460e..e2073876c35587a21b3424937a993dba37928b29 100755 (executable)
@@ -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));
                }