Subject: | Negative Interval for Time::HiRes::Sleep() |
Hello
I get the following Error in File::Tail Version 0.98
Time::HiRes::sleep(-0.0675344): negative time not invented yet at /usr/lib/perl5/site_perl/5.8.0/File/Tail.pm line 529.
Please Check the code. I think you have a subtraction to set the interval, which can result in a negative value.
The Error occured in function read at line 529.
I think the problem is in line 508, where the subtraction is made.
The Time, when the error occured: 09/11/2003 21:01:53
I need a solution for this problem as soon as possible, until that, I will do a manual fix that will check for a negative interval value bevore call the sleep function at line 529.
My Environment:
Cygwin Version:
CYGWIN_NT-5.0 svztuc01 1.5.3(0.90/3/2) 2003-09-01 13:15 i686 unknown unknown Cygwin
Perl Version: This is perl, v5.8.0 built for cygwin-multi-64int
Time::HiRes Version:
$Id: HiRes.pm,v 1.20 1999/03/16 02:26:13 wegscd Exp $
$Log: HiRes.pm,v $ Revision 1.20 1999/03/16 02:26:13 wegscd Add
documentation for NVTime and U2Time.
Regards
Thomas Kujawa