diff options
author | David Kalnischkies <david@kalnischkies.de> | 2020-11-07 21:39:00 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2020-11-07 21:48:21 +0100 |
commit | 418f9272606857e312f485778a1ef1b263236463 (patch) | |
tree | 3c41a5c015ecdb3b5afe4f7e068682d2e4cec754 /methods | |
parent | 9e1398b164f55238990907f63dfdef60588d9b24 (diff) |
Support reading compressed patches in rred direct call modes
The acquire system mode does this for a long time already and as it is
easy to implement and handy for manual testing as well we can support
it in the other modes, too.
Diffstat (limited to 'methods')
-rw-r--r-- | methods/rred.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rred.cc b/methods/rred.cc index b7825721c..0184456bf 100644 --- a/methods/rred.cc +++ b/methods/rred.cc @@ -806,7 +806,7 @@ int main(int argc, const char *argv[]) for (; argi < argmax; ++argi) { FileFd patch; - if (not patch.Open(CmdL.FileList[argi], FileFd::ReadOnly)) + if (not patch.Open(CmdL.FileList[argi], FileFd::ReadOnly, FileFd::Extension)) { _error->DumpErrors(std::cerr); return 1; |