From: Otavio Salvador Date: Tue, 2 Oct 2007 12:39:05 +0000 (-0300) Subject: - cmdline/apt-extracttemplates.cc: likewise; X-Git-Tag: 0.7.21~227^2~1 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/70e6f24e3b39f7cc72cecab181b10c1f79474182 - cmdline/apt-extracttemplates.cc: likewise; --- 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.