From 691501e8c82eba649dc02fc48407b1caf8cc9edb Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 25 Sep 2009 13:36:04 +0200 Subject: [PATCH] patches: Updated bts428778-floating-point-exception for RRDtool 1.4. --- debian/changelog | 3 ++- debian/patches/bts428778-floating-point-exception | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7323d23..9a2d3fd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,8 +14,9 @@ rrdtool (1.4~rc2-1) experimental; urgency=low - Removed bts494874-gnu-kfreebsd - included upstream. - Removed bts332766-negative-timestamps - included upstream. - Removed compiler-warning-fixes - included upstream. + - Updated bts428778-floating-point-exception for RRDtool 1.4. - -- Sebastian Harl Fri, 25 Sep 2009 13:21:43 +0200 + -- Sebastian Harl Fri, 25 Sep 2009 13:35:34 +0200 rrdtool (1.3.8-1) unstable; urgency=low diff --git a/debian/patches/bts428778-floating-point-exception b/debian/patches/bts428778-floating-point-exception index cefb3dd..613f1ea 100644 --- a/debian/patches/bts428778-floating-point-exception +++ b/debian/patches/bts428778-floating-point-exception @@ -11,7 +11,7 @@ diff a/src/rrd_create.c b/src/rrd_create.c + { + rrd_set_error("Invalid step: must be greater than 0."); + rrd_free2(rrd); -+ close(rrd_file); ++ rrd_close(rrd_file_dn); + return(-1); + } /* startup missing pdp count */ -- 2.30.2