From d56c826725426d05919cf055e1553343352bce60 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 14 Mar 2011 14:58:41 +1100 Subject: [PATCH] Add fd_in field to struct rzip_control. --- lrzip.c | 1 + lrzip_private.h | 1 + 2 files changed, 2 insertions(+) diff --git a/lrzip.c b/lrzip.c index 653891c..4945828 100644 --- a/lrzip.c +++ b/lrzip.c @@ -467,6 +467,7 @@ void decompress_file(rzip_control *control) fatal("Failed to open %s\n", infilecopy); } } + control->fd_in = fd_in; if (!(TEST_ONLY | STDOUT)) { if (FORCE_REPLACE) diff --git a/lrzip_private.h b/lrzip_private.h index 74dd163..9df5f97 100644 --- a/lrzip_private.h +++ b/lrzip_private.h @@ -189,6 +189,7 @@ struct rzip_control { int minor_version; i64 st_size; long page_size; + int fd_in; int fd_out; int fd_hist; char encrypt;