Colin Percival 3c3619cdad Convert compression_skip from taking a size_t skip length request and
returning the length skipped in a ssize_t to using off_t for both.  This
does not break any A[BP]Is, since compression_skip is entirely internal
to libarchive.

If a skip request is > SSIZE_MAX, don't pass it down to the client layer
skip function, since those still uses size_t / ssize_t.  Instead, just
read the data and throw it away.

With this commit, libarchive/bsdtar should now successfully skip archive
entries of >2GB on 32-bit systems, but does so slower than necessary.
The performance will improve with a future A[BP]I breaking commit which
makes client layer skip functions use off_t.

Discussed with:	kientzle
MFC after:	1 week
2007-01-04 12:45:00 +00:00
..
2005-02-13 23:45:54 +00:00
2006-09-17 21:27:35 +00:00
2005-10-04 22:00:35 +00:00
2006-10-09 05:12:54 +00:00
2006-07-27 04:54:03 +00:00
2006-07-27 04:54:03 +00:00
2005-11-24 10:43:35 +00:00
2006-04-13 08:12:31 +00:00
2006-09-17 21:27:35 +00:00
2006-12-06 06:44:20 +00:00
2006-09-21 01:30:04 +00:00
2006-09-17 21:27:35 +00:00
2006-03-16 15:18:17 +00:00
2006-10-28 10:53:39 +00:00
2006-10-20 14:15:42 +00:00
2005-11-24 11:26:36 +00:00
2006-10-21 15:12:36 +00:00
2006-07-28 21:34:37 +00:00
2006-03-23 14:09:21 +00:00