summaryrefslogtreecommitdiff
path: root/difftool/sqfsdiff.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 14:27:19 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-08-21 15:22:01 +0200
commit1c8e61f284ff04e3b63c46044d7b890a7e93e302 (patch)
tree43ec4c898f70e456095a1de5eb3bd358e44c9bfe /difftool/sqfsdiff.h
parent4ff2b4f689f4e530b6c6f3eed17a595f7ccf56fb (diff)
Make unified dir to sqfs comparison work
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'difftool/sqfsdiff.h')
-rw-r--r--difftool/sqfsdiff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/difftool/sqfsdiff.h b/difftool/sqfsdiff.h
index ce6929f..836b499 100644
--- a/difftool/sqfsdiff.h
+++ b/difftool/sqfsdiff.h
@@ -33,6 +33,10 @@ typedef struct {
bool new_is_dir;
bool compare_super;
const char *extract_dir;
+
+ /* holds the coresponding dirfds if old or new is a directory */
+ int old_fd;
+ int new_fd;
} sqfsdiff_t;
enum {