diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 16:21:05 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-15 16:39:14 +0200 |
commit | 849e6718448793b12d7c6641d59779ca12a2ba08 (patch) | |
tree | fa76f15435517cbfdfadef23411f64244a861162 /lib/tar/test/tar_iterator3.c | |
parent | d748c7114d2f06378ad0c76b6c981521dbcee92d (diff) |
libsquashfs: cleanup the flag situation on istream/ostream functions
- The ostream creation functions already have flag arguments,
but make them an sqfs_u32 instead of int.
- Add flag arguments to the istream functions, sanitzie and forward
them when opening the handle.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/tar_iterator3.c')
-rw-r--r-- | lib/tar/test/tar_iterator3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tar/test/tar_iterator3.c b/lib/tar/test/tar_iterator3.c index 9fd5f59..214fe9c 100644 --- a/lib/tar/test/tar_iterator3.c +++ b/lib/tar/test/tar_iterator3.c @@ -23,7 +23,8 @@ int main(int argc, char **argv) TEST_ASSERT(chdir(TEST_PATH) == 0); - ret = sqfs_istream_open_file(&fp, "format-acceptance/link_filled.tar"); + ret = sqfs_istream_open_file(&fp, "format-acceptance/link_filled.tar", + 0); TEST_EQUAL_I(ret, 0); TEST_NOT_NULL(fp); TEST_EQUAL_UI(((sqfs_object_t *)fp)->refcount, 1); |