Code

debian/patches: Removed bts498183-segfault-madvise.
authorSebastian Harl <sh@tokkee.org>
Sat, 20 Dec 2008 13:40:45 +0000 (14:40 +0100)
committerSebastian Harl <sh@tokkee.org>
Sat, 20 Dec 2008 13:59:01 +0000 (14:59 +0100)
This patch has been included upstream.

debian/changelog
debian/patches/bts498183-segfault-madvise [deleted file]
debian/patches/series

index b2a309fc4547865bf18f916a9406de8fc6969124..f9ceba23f2d3d99f5bd8126f940d928714779b7b 100644 (file)
@@ -7,8 +7,9 @@ rrdtool (1.3.5-1) unstable; urgency=low
       memory.
     - Removed bts493553-pango-utf-8 - included upstream.
     - Removed bts496847-error-handling - included upstream.
+    - Removed bts498183-segfault-madvise - included upstream.
 
- -- Sebastian Harl <sh@tokkee.org>  Sat, 20 Dec 2008 14:39:01 +0100
+ -- Sebastian Harl <sh@tokkee.org>  Sat, 20 Dec 2008 14:40:20 +0100
 
 rrdtool (1.3.1-4) unstable; urgency=high
 
diff --git a/debian/patches/bts498183-segfault-madvise b/debian/patches/bts498183-segfault-madvise
deleted file mode 100644 (file)
index b0697bf..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-diff a/src/rrd_open.c b/src/rrd_open.c
---- a/src/rrd_open.c
-+++ b/src/rrd_open.c
-@@ -363,6 +363,8 @@ void rrd_dontneed(
-             rrd->rra_def[i].row_cnt * rrd->stat_head->ds_cnt *
-             sizeof(rrd_value_t);
-     }
-+
-+    if (dontneed_start < rrd_file->file_len) {
- #ifdef USE_MADVISE
-     madvise(rrd_file->file_start + dontneed_start,
-             rrd_file->file_len - dontneed_start, MADV_DONTNEED);
-@@ -371,6 +373,8 @@ void rrd_dontneed(
-     posix_fadvise(rrd_file->fd, dontneed_start,
-                   rrd_file->file_len - dontneed_start, POSIX_FADV_DONTNEED);
- #endif
-+    }
-+
- #if defined DEBUG && DEBUG > 1
-     mincore_print(rrd_file, "after");
- #endif
index c64c5b1df847dbe82f33eec4c4e08e16d49251e2..fb2d7b592347989945ff30eadc31dc00f76d7ba5 100644 (file)
@@ -4,6 +4,5 @@ no-rpath-for-ruby
 no-rpath-for-perl
 implicit-decl-fix
 bts499350-data-corruption
-bts498183-segfault-madvise
 bts499349-memleaks
 typo-ruby