Browse Source

- methods/gpgv.cc: conversion from string constant to 'char*';

debian/1.8.y
Otavio Salvador 16 years ago
parent
commit
31c64df39b
  1. 1
      debian/changelog
  2. 6
      methods/gpgv.cc

1
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.

6
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);

Loading…
Cancel
Save