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
..
2006-12-10 07:11:04 +00:00
2006-10-08 02:50:34 +00:00
2006-10-08 14:02:00 +00:00
2007-01-04 12:45:00 +00:00
2006-05-21 15:15:21 +00:00
2005-07-31 03:30:48 +00:00
2005-07-22 17:19:05 +00:00
2005-07-22 17:19:05 +00:00
2006-09-25 11:53:58 +00:00
2005-10-04 15:02:07 +00:00
2005-07-22 17:19:05 +00:00
2007-01-03 05:00:03 +00:00
2006-10-14 01:11:44 +00:00
2006-11-02 00:54:38 +00:00
2005-02-13 23:45:54 +00:00
2006-03-18 11:01:06 +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
2005-12-04 09:34:56 +00:00
2006-12-25 02:24:39 +00:00
2005-07-22 17:19:05 +00:00
2006-07-27 04:54:03 +00:00
2005-11-10 18:07:07 +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-02-04 09:40:21 +00:00
2006-09-17 21:27:35 +00:00
2005-08-24 12:38:26 +00:00
2006-12-18 17:08:07 +00:00
2006-12-06 06:44:20 +00:00
2006-06-19 08:10:23 +00:00
2006-01-17 15:35:57 +00:00
2006-07-26 07:46:32 +00:00
2005-11-10 18:07:07 +00:00
2006-03-17 18:54:44 +00:00
2006-07-30 19:29:26 +00:00
2006-09-21 01:30:04 +00:00
2006-03-18 21:37:05 +00:00
2006-10-17 16:56:29 +00:00
2005-07-22 17:19:05 +00:00
2005-07-22 17:19:05 +00:00
2006-11-10 23:33:25 +00:00
2005-11-10 18:07:07 +00:00
2006-04-13 07:25:02 +00:00
2006-09-17 21:27:35 +00:00
2006-12-18 17:08:07 +00:00
2006-03-17 18:54:44 +00:00
2006-03-17 18:54:44 +00:00
2006-03-29 04:20:53 +00:00
2006-08-26 23:16:35 +00:00
2006-03-22 16:58:15 +00:00
2006-03-16 15:18:17 +00:00
2006-11-06 22:07:47 +00:00
2006-10-28 10:53:39 +00:00
2006-07-31 13:29:36 +00:00
2006-12-20 05:05:44 +00:00
2006-10-20 14:15:42 +00:00
2006-10-31 21:21:48 +00:00
2006-04-23 17:06:18 +00:00
2005-11-24 11:26:36 +00:00
2006-11-05 19:00:08 +00:00
2006-10-21 15:12:36 +00:00
2006-03-17 18:54:44 +00:00
2005-07-20 14:35:26 +00:00
2006-07-28 21:34:37 +00:00
2006-03-23 14:09:21 +00:00
2006-10-14 20:35:56 +00:00
2006-03-18 21:37:05 +00:00
2006-11-11 17:16:35 +00:00
2005-07-22 17:19:05 +00:00