diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-02 09:35:23 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2007-10-02 09:35:23 -0300 |
commit | 31c64df39bad4c709a2fd5ca6a336f4b652a8613 (patch) | |
tree | 446ddfa131feff27fd807d6a3eaf73bc0ddd7482 | |
parent | 71afbdb50df4058a56ed567f03c9a82f5f9d130e (diff) |
- methods/gpgv.cc: conversion from string constant to 'char*';
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | methods/gpgv.cc | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 592fbe14d..b8e9889b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -63,6 +63,7 @@ apt (0.7.7) UNRELEASED; urgency=low has type 'size_t'; - apt-pkg/deb/dpkgpm.cc: initialization order and conversion from string constant to 'char*'; + - methods/gpgv.cc: conversion from string constant to 'char*'; [ Ian Jackson ] * dpkg-triggers: Deal properly with new package states. 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); |