From 64b4c03ee79d5df053df7dabd33e88e0ebef1f20 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 15 Nov 2010 13:54:47 +0100 Subject: cmdline/apt-get.cc: create the mkdtemp dir in /tmp --- cmdline/apt-get.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmdline') diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index cf4f1ab36..53def383d 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -2819,7 +2819,7 @@ bool DoChangelog(CommandLine &CmdL) if (verset.empty() == true) return false; - char *tmpdir = mkdtemp(strdup("apt-changelog-XXXXXX")); + char *tmpdir = mkdtemp(strdup("/tmp/apt-changelog-XXXXXX")); if (tmpdir == NULL) { return _error->Errno("mkdtemp", "mkdtemp failed"); } -- cgit v1.2.3