bugstoreBackup - Bugs: bug #32787, Bug in...

 
 

bug #32787: Bug in /usr/share/storebackup/lib/dateTools.pl, function sub: false calculation of seconds $s1

Submitter:  None
Submitted:  Tue 15 Mar 2011 07:29:55 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 15 Mar 2011 07:29:55 AM UTC, original submission:  

detected while trying to use keepDuplicate = 6h

diff -u dateTools.pl.org dateTools.pl
--- dateTools.pl.org    2011-03-15 08:08:33.000000000 +0100
+++ dateTools.pl        2011-03-15 08:14:24.000000000 +0100
@@ -1128,7 +1128,7 @@
 # x - d1 - s1 = x - s1 - (1day - s2)
 #             = x - d1 - 1day + s2
 
-    my $s1 = $subSec + 60 ($subMin + 24 $subHour);
+    my $s1 = $subSec + 60 $subMin + 3600 $subHour;
     my $s2 = 86400 - $s1;           # Restzeit in Sek bis vollen Tag
     $self->add('-sec' => $s2);
     $subDay++;


VERSION   2011.03.15 08:24:28 12927 storeBackup.pl, 3.2, build 361


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hjclaes (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-30 hjclaes StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code