cvs: php-src(PHP_5_0) / run-tests.php
| From: | Christian Stocker | Date: | Wed, 21 Jul 2004 11:20:34 +0000 |
| Subject: | cvs: php-src(PHP_5_0) / run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-27943@lists.php.net to get a copy of this message | ||
chregu Wed Jul 21 07:20:34 2004 EDT
Modified files: (Branch: PHP_5_0)
/php-src run-tests.php
Log:
MFH. 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.195.2.1&ty=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.195 php-src/run-tests.php:1.195.2.1
--- php-src/run-tests.php:1.195 Wed May 26 14:23:21 2004
+++ php-src/run-tests.php Wed Jul 21 07:20:33 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));
}