From cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 2 Jul 2010 12:55:19 -0400 Subject: Fix cmd_run overwriting the environment Some commands need the environment to function properly. One such example is check_ssh and check_by_ssh when a SOCKS proxy is required. This patch use setenv and extern char **environ to alter and pass the new environment to the child process Those modules have been added to Gnulib for portability. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 5cbb9027..79ddc535 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,7 @@ This file documents the major additions and syntax changes between releases. Fix translations when extra-opts aren't enabled (Jan Wagner - #2832884) Fix parsing of multi-line strings in check_snmp (broken in 1.4.14) and enhance output in such case (#2832451) Fix detection of pst3 64-bit compile flags with Sun CC + Fix cmd_run overwriting the environment, which would break some commands that needed it WARNINGS Updated developer documentation to say that performance labels should not have an equals sign or single quote in the label -- cgit v1.2.3-74-g34f1