From 70e6f24e3b39f7cc72cecab181b10c1f79474182 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 2 Oct 2007 09:39:05 -0300 Subject: - cmdline/apt-extracttemplates.cc: likewise; --- cmdline/apt-extracttemplates.cc | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3