cvs: php4 / run-tests2.php
| From: | Shane Caraveo | Date: | Sun, 30 Mar 2003 05:00:03 +0000 |
| Subject: | cvs: php4 / run-tests2.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19845@lists.php.net to get a copy of this message | ||
shane Sun Mar 30 00:00:03 2003 EDT
Modified files:
/php4 run-tests2.php
Log:
uncomment removal of temp file
update changes from run-tests
Index: php4/run-tests2.php
diff -u php4/run-tests2.php:1.8 php4/run-tests2.php:1.9
--- php4/run-tests2.php:1.8 Tue Mar 25 02:45:18 2003
+++ php4/run-tests2.php Sun Mar 30 00:00:03 2003
@@ -585,7 +585,7 @@
$out .= fread($fd, 8192);
fclose($fd);
}
- #unlink($tmp_file);
+ unlink($tmp_file);
if ($removeheaders &&
preg_match("/^(.*?)\r?\n\r?\n(.*)/s", $this->incoming_payload, $match)) {
return $match[2];
@@ -1436,7 +1436,7 @@
$wanted_re = str_replace("%i", "[+\-]?[0-9]+", $wanted_re);
$wanted_re = str_replace("%d", "[0-9]+", $wanted_re);
$wanted_re = str_replace("%x", "[0-9a-fA-F]+", $wanted_re);
- $wanted_re = str_replace("%f", "[+\-]?\.?[0-9]+\.?[0-9]*", $wanted_re);
+ $wanted_re = str_replace("%f", "[+\-]?\.?[0-9]+\.?[0-9]*(E-?[0-9]+)?",
$wanted_re);
$wanted_re = str_replace("%c", ".", $wanted_re);
// %f allows two points "-.0.0" but that is the best *simple* expression
}