Correct test_tar_large so it works correctly with the libarchive 1.x API.
This commit is contained in:
parent
7a9e0a96e0
commit
438e9b4a9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181542
@ -179,7 +179,6 @@ memory_read_skip(struct archive *a, void *private, size_t skip)
|
||||
#else
|
||||
static off_t
|
||||
memory_read_skip(struct archive *a, void *_private, off_t skip)
|
||||
#endif
|
||||
{
|
||||
struct memdata *private = _private;
|
||||
|
||||
@ -198,6 +197,7 @@ memory_read_skip(struct archive *a, void *_private, off_t skip)
|
||||
}
|
||||
return (skip);
|
||||
}
|
||||
#endif
|
||||
|
||||
DEFINE_TEST(test_tar_large)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user