author | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 2 Jul 2010 16:55:19 +0000 (12:55 -0400) | ||
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | |
Fri, 2 Jul 2010 16:55:19 +0000 (12:55 -0400) | ||
commit | cf2bcf6c7afa8eb7a54e01f98a9998a7e1ac0852 | |
tree | 3739ed79238c65567ad1001a4f80856af652f660 | tree | snapshot |
parent | 6b6051606175d870bb45bbe67866c1643d4d964a | commit | diff |
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.
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 | diff | blob | history | |
lib/utils_cmd.c | diff | blob | history |