[munin] Adding debug patch

fenris02 fenris02 at fedoraproject.org
Tue Aug 7 03:09:10 UTC 2012


commit 9dd22aebdd6bca320b09d87856f36d093e692a73
Author: D. Johnson <fenris02 at fedoraproject.org>
Date:   Mon Aug 6 22:08:50 2012 -0500

    Adding debug patch

 munin-2.0.4-Utils-cluck.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/munin-2.0.4-Utils-cluck.patch b/munin-2.0.4-Utils-cluck.patch
new file mode 100644
index 0000000..5ba660a
--- /dev/null
+++ b/munin-2.0.4-Utils-cluck.patch
@@ -0,0 +1,12 @@
+--- master/lib/Munin/Master/Utils.pm.orig	2012-07-30 09:25:33.000000000 -0500
++++ master/lib/Munin/Master/Utils.pm	2012-08-05 14:07:57.236121331 -0500
+@@ -904,6 +904,9 @@
+ 
+ 	my $storable_filename_tmp = $storable_filename . ".tmp.$$";
+ 
++	use Carp qw(cluck);
++	cluck "data is null at " unless $data;
++
+ 	# Write datafile.storable, in network order to be architecture indep
+         Storable::nstore($data, $storable_filename_tmp);
+ 


More information about the scm-commits mailing list