cvs: php-src / run-tests.php
| From: | Christian Stocker | Date: | Wed, 21 Jul 2004 11:19:10 +0000 |
| Subject: | cvs: php-src / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27942@lists.php.net to get a copy of this message | ||
chregu Wed Jul 21 07:19:10 2004 EDT
Modified files:
/php-src run-tests.php
Log:
Fix for Bug 29010 "make test does not wait to email address" (by Sebastian Nohn)
http://cvs.php.net/diff.php/php-src/run-tests.php?r1=1.195&r2=1.196&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.195 php-src/run-tests.php:1.196
--- php-src/run-tests.php:1.195 Wed May 26 14:23:21 2004
+++ php-src/run-tests.php Wed Jul 21 07:19:09 2004
@@ -445,7 +445,6 @@
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));
}