Skip Menu |
 

This queue is for tickets about the File-Tail CPAN distribution.

Report information
The Basics
Id: 4345
Status: new
Priority: 0/
Queue: File-Tail

People
Owner: Nobody in particular
Requestors: thomas.kujawa [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.98
Fixed in: (no value)



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
From: Debashish Mishra <debashish_mishra [...] persistent.co.in
Download (untitled) / with headers
text/plain 1.4k
I find the bug could be reproduced on our Solaris m/cs (2.8) and Perl version 5.8.3. I feel it's a quite general problem and wondering how it escaped testers. The fix doesn't seem to be very difficult either. Can't we add that into the module? Regards, Debashish. [guest - Mon Nov 10 05:14:38 2003]: Show quoted text
> 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
From: djarne [...] ragingwire.net
Download (untitled) / with headers
text/plain 1.1k
Please provide the "quick fix" for (-neg) numbers within module. Thanks D [guest - Mon Nov 10 05:14:38 2003]: Show quoted text
> 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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.