projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7603a29
)
gettimeofday() requires perl version newer than 5.6
author
Yang Tse
<yangsita@gmail.com>
Thu, 17 Dec 2009 03:50:32 +0000
(
03:50
+0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 17 Dec 2009 03:50:32 +0000
(
03:50
+0000)
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
b15237f
..
44f681e
100644
(file)
--- a/
tests/ftpserver.pl
+++ b/
tests/ftpserver.pl
@@
-44,7
+44,7
@@
require "getpart.pm";
require "ftp.pm";
BEGIN {
- if($] >
=
5.006) {
+ if($] > 5.006) {
use Time::HiRes qw( gettimeofday );
}
}
@@
-71,7
+71,7
@@
sub getlogfilename {
#
sub logmsg {
my $now;
- if($] >
=
5.006) {
+ if($] > 5.006) {
my ($seconds, $usec) = gettimeofday();
my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
localtime($seconds);