summaryrefslogtreecommitdiff
path: root/cmdline/apt-extracttemplates.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:55 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:55 +0000
commit7512b6da45579e72ace53880604388269734dfe3 (patch)
treea21f928ee68e3beeca5f1ecc0cea94f47722b100 /cmdline/apt-extracttemplates.cc
parent4decd43cbd7fc6c9f3719d6bfc8ac040bd4d5371 (diff)
bump the soname up one (to 3.1.2)
Author: tausq Date: 2001-03-03 23:02:39 GMT bump the soname up one (to 3.1.2) fixed a bug in apt-extracttemplates where it might not form the directory name properly
Diffstat (limited to 'cmdline/apt-extracttemplates.cc')
-rw-r--r--cmdline/apt-extracttemplates.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdline/apt-extracttemplates.cc b/cmdline/apt-extracttemplates.cc
index 3fd572e4f..60ec3c3fd 100644
--- a/cmdline/apt-extracttemplates.cc
+++ b/cmdline/apt-extracttemplates.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: apt-extracttemplates.cc,v 1.5 2001/03/03 22:45:59 tausq Exp $
+// $Id: apt-extracttemplates.cc,v 1.6 2001/03/03 23:02:39 tausq Exp $
/* ######################################################################
APT Extract Templates - Program to extract debconf config and template
@@ -246,7 +246,7 @@ string WriteFile(const char *prefix, const char *data)
{
char fn[512];
static int i;
- snprintf(fn, sizeof(fn), "%s%s.%u%d", _config->Find("APT::ExtractTemplates::TempDir", TMPDIR).c_str(), prefix, getpid(), i++);
+ snprintf(fn, sizeof(fn), "%s/%s.%u%d", _config->Find("APT::ExtractTemplates::TempDir", TMPDIR).c_str(), prefix, getpid(), i++);
FileFd f;
if (data == NULL)
data = "";