Code

patches: Removed bts332766-negative-timestamps - included upstream.
authorSebastian Harl <sh@tokkee.org>
Fri, 25 Sep 2009 11:21:13 +0000 (13:21 +0200)
committerSebastian Harl <sh@tokkee.org>
Fri, 25 Sep 2009 11:21:13 +0000 (13:21 +0200)
debian/changelog
debian/patches/bts332766-negative-timestamps [deleted file]
debian/patches/series

index da7e184d5a624480ee8576d0f413a1507881961c..c61b56b8009200211bcf8e81e35bf4e07e86251d 100644 (file)
@@ -12,8 +12,9 @@ rrdtool (1.4~rc2-1) experimental; urgency=low
       not cleaned up by any Makefile.
   * debian/patches:
     - Removed bts494874-gnu-kfreebsd - included upstream.
+    - Removed bts332766-negative-timestamps - included upstream.
 
- -- Sebastian Harl <tokkee@debian.org>  Fri, 25 Sep 2009 13:11:46 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Fri, 25 Sep 2009 13:20:52 +0200
 
 rrdtool (1.3.8-1) unstable; urgency=low
 
diff --git a/debian/patches/bts332766-negative-timestamps b/debian/patches/bts332766-negative-timestamps
deleted file mode 100644 (file)
index 9ae9a15..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-diff a/src/rrd_update.c b/src/rrd_update.c
---- a/src/rrd_update.c
-+++ b/src/rrd_update.c
-@@ -972,6 +972,11 @@ static int get_time_from_reading(
-             return -1;
-         };
-         setlocale(LC_NUMERIC, old_locale);
-+        if (tmp < 0.0){
-+            gettimeofday(&tmp_time, 0);
-+            tmp = (double)tmp_time.tv_sec + (double)tmp_time.tv_usec * 1e-6f + tmp;
-+        }
-+
-         *current_time = floor(tmp);
-         *current_time_usec = (long) ((tmp - (double) *current_time) * 1e6f);
-     }
index 3d450d2c5e36ba5b869a2607f615ace10b18a6bd..c23c2262ad59298c6b7e8cef01f54d0226f3b23b 100644 (file)
@@ -5,4 +5,3 @@ no-rpath-for-perl
 implicit-decl-fix
 compiler-warning-fixes
 bts530814-hurd
-bts332766-negative-timestamps