summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:39:05 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2007-10-02 09:39:05 -0300
commit70e6f24e3b39f7cc72cecab181b10c1f79474182 (patch)
treea4c67c840b5a33beeffac15c790c23de3245537a
parentb856433668b3ffeab82ae2712f2e672a5dca1396 (diff)
- cmdline/apt-extracttemplates.cc: likewise;
-rw-r--r--cmdline/apt-extracttemplates.cc2
-rw-r--r--debian/changelog1
2 files changed, 2 insertions, 1 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 6d580cc28..de22386b9 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -249,7 +249,7 @@ string WriteFile(const char *package, const char *prefix, const char *data)
{
char fn[512];
static int i;
- char *tempdir = NULL;
+ const char *tempdir = NULL;
tempdir = getenv("TMPDIR");
if (tempdir == NULL)
diff --git a/debian/changelog b/debian/changelog
index 802f6f4d9..ad887b29e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -65,6 +65,7 @@ apt (0.7.7) UNRELEASED; urgency=low
string constant to 'char*';
- methods/gpgv.cc: conversion from string constant to 'char*';
- methods/ftp.cc: likewise;
+ - cmdline/apt-extracttemplates.cc: likewise;
[ Ian Jackson ]
* dpkg-triggers: Deal properly with new package states.