[Pkg-nagios-changes] [pkg-nagios-plugins] 10/413: LC_NUMERIC fix for check_procs
Jan Wagner
waja at moszumanska.debian.org
Tue Nov 26 23:13:00 UTC 2013
This is an automated email from the git hooks/post-receive script.
waja pushed a commit to branch master
in repository pkg-nagios-plugins.
commit 8bd868ec49a74e743534a43820dc688b83799553
Author: Sean Finney <seanius at debian.org>
Date: Sat Feb 18 13:08:32 2006 +0000
LC_NUMERIC fix for check_procs
---
debian/changelog | 9 ++++++---
debian/patches/00list | 1 +
debian/patches/24_check_procs_localefix.dpatch | 17 +++++++++++++++++
3 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5e890a5..43ad91d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,13 @@
-nagios-plugins (1.4.2-7) unstable; urgency=high
+nagios-plugins (1.4.2-7) unstable; urgency=medium
[sean finney]
* update build dependencies to build against libmysqlclient15-dev.
- fixes (now) rc bug, urgency thus set to high.
+ fixes (now) rc bug, urgency bumped (closes: #343785).
+ * properly set LC_NUMERIC in check_procs. fix also committed for
+ next upstream release. thanks to Hadmut Danisch for
+ catching this (closes: #353201).
- -- sean finney <seanius at debian.org> Sat, 18 Feb 2006 13:47:54 +0100
+ -- sean finney <seanius at debian.org> Sat, 18 Feb 2006 13:56:25 +0100
nagios-plugins (1.4.2-6) unstable; urgency=low
diff --git a/debian/patches/00list b/debian/patches/00list
index 0521098..cd25343 100644
--- a/debian/patches/00list
+++ b/debian/patches/00list
@@ -13,3 +13,4 @@
21_de.po_fixes.dpatch
22_check_smb_hostaddress.dpatch
23_check_axis.dpatch
+24_check_procs_localefix.dpatch
diff --git a/debian/patches/24_check_procs_localefix.dpatch b/debian/patches/24_check_procs_localefix.dpatch
new file mode 100755
index 0000000..bc1c3ff
--- /dev/null
+++ b/debian/patches/24_check_procs_localefix.dpatch
@@ -0,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 24_check_procs_localefix.dpatch by <seanius at debian.org>
+##
+## DP: make sure LC_NUMERIC is properly set because the plugin parses output
+
+ at DPATCH@
+diff -urNad nagios-plugins-1.4.2~/plugins/check_procs.c nagios-plugins-1.4.2/plugins/check_procs.c
+--- nagios-plugins-1.4.2~/plugins/check_procs.c 2005-09-15 10:27:58.000000000 +0200
++++ nagios-plugins-1.4.2/plugins/check_procs.c 2006-02-18 13:52:13.000000000 +0100
+@@ -116,6 +116,7 @@
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
++ setlocale (LC_NUMERIC, "POSIX");
+
+ input_buffer = malloc (MAX_INPUT_BUFFER);
+ procprog = malloc (MAX_INPUT_BUFFER);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-plugins.git
More information about the Pkg-nagios-changes
mailing list