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

 
 

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

Submitted by:  None
Submitted on:  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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    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.3