From af859f09084b4f6163501f216ba8cc2356fb3f93 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 27 Apr 2016 17:36:07 +0200 Subject: edsp: dump: support dumping into compressed file --- cmdline/apt-dump-solver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmdline/apt-dump-solver.cc b/cmdline/apt-dump-solver.cc index cb7233059..0de248e75 100644 --- a/cmdline/apt-dump-solver.cc +++ b/cmdline/apt-dump-solver.cc @@ -61,7 +61,7 @@ int main(int argc,const char *argv[]) /*{{{*/ RemoveFile(argv[0], filename); FileFd input, output; if (input.OpenDescriptor(STDIN_FILENO, FileFd::ReadOnly) == false || - output.Open(filename, FileFd::WriteOnly | FileFd::Create | FileFd::Exclusive, 0600) == false || + output.Open(filename, FileFd::WriteOnly | FileFd::Create | FileFd::Exclusive, FileFd::Extension, 0600) == false || CopyFile(input, output) == false || input.Close() == false || output.Close() == false) { std::ostringstream out; -- cgit v1.2.3