summaryrefslogtreecommitdiff
path: root/methods/gpgv.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-11-28 16:46:46 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2007-11-28 16:46:46 +0100
commitac3dee0e5091f19b77de96eec5241cb57c13f2a1 (patch)
tree2a82dd1c7a487f830bc4ec569c9f4e3775ddf4e8 /methods/gpgv.cc
parent318dd26ac9bdbb30bcd22201393dc73d8566b3cf (diff)
parent757f20941a19d5e1e9ebd74ecd5a4d5b0012644f (diff)
merge with the debian tree
Diffstat (limited to 'methods/gpgv.cc')
-rw-r--r--methods/gpgv.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 227e08d63..2b1fa5169 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -121,9 +121,9 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
// Redirect the pipe to the status fd (3)
dup2(fd[1], 3);
- putenv("LANG=");
- putenv("LC_ALL=");
- putenv("LC_MESSAGES=");
+ putenv((char *)"LANG=");
+ putenv((char *)"LC_ALL=");
+ putenv((char *)"LC_MESSAGES=");
execvp(gpgvpath.c_str(), (char **)Args);
exit(111);