From: Sebastian Harl Date: Fri, 25 Sep 2009 11:36:04 +0000 (+0200) Subject: patches: Updated bts428778-floating-point-exception for RRDtool 1.4. X-Git-Tag: experimental/1.4--rc2+20091004~36 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=691501e8c82eba649dc02fc48407b1caf8cc9edb;p=pkg-rrdtool.git patches: Updated bts428778-floating-point-exception for RRDtool 1.4. --- 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 */