Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn)

This commit is contained in:
Christian Stocker 2004-07-21 11:19:09 +00:00
parent dee534efba
commit 7b292e2fba

View File

@ -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));
}