2
0
mirror of https://github.com/vasi/pixz synced 2024-10-30 15:21:41 +00:00
Commit Graph

260 Commits

Author SHA1 Message Date
Dave Vasilevsky
f93d7e7845 If output is a TTY, print usage 2012-10-13 08:25:08 -04:00
Dave Vasilevsky
570b026d0a Add help option 2012-10-13 08:20:23 -04:00
Dave Vasilevsky
034805e2a6 Combine linux and BSD endian code 2012-10-13 07:38:14 -04:00
Dave Vasilevsky
8c4ae8b0d6 Link to github 2012-10-13 07:12:48 -04:00
Dave Vasilevsky
b02ae92561 test.sh: Make it general, make it work 2012-10-13 07:11:16 -04:00
Dave Vasilevsky
b47e687a55 Platform independent endian support 2012-10-13 06:55:12 -04:00
Dave Vasilevsky
e9ba952c22 Don't hardcode LIBPREFIX 2012-10-13 06:23:18 -04:00
Dave Vasilevsky
c5f99bf4b4 Add -lpthreads to handle non-explicit linking 2012-09-18 03:10:03 -04:00
Dave Vasilevsky
ee8a3404f9 Works on 32-bit 2012-09-18 01:57:41 -04:00
Dave Vasilevsky
bd56f5706c Add license 2011-08-08 15:26:19 -04:00
Dave Vasilevsky
71a4cae83d Warning about data-loss when assuming tarball-mode. 2011-08-06 16:34:13 -03:00
Dave Vasilevsky
816f6d7a52 Compile with older glibc, thanks to Bringfried Stecklum 2011-05-17 15:04:15 -04:00
Dave Vasilevsky
ee3249bd47 fix off-by-one error: if file ends at block boundary, must go to next file; tar_next_block will take care of getting the next block 2010-11-11 22:00:18 -05:00
Dave Vasilevsky
3a87ea5231 More blocks, to smooth out inconsistent read times. Allow OPTS in LDFLAGS 2010-10-16 19:11:53 -04:00
Dave Vasilevsky
c43bd28154 Fix digit option processing 2010-10-16 03:06:08 -04:00
Dave Vasilevsky
f28ba365fa Fix race condition; header cleanup 2010-10-14 04:20:11 -04:00
Dave Vasilevsky
1a224d3b80 More docs! 2010-10-14 02:29:14 -04:00
Dave Vasilevsky
d77e121515 oops again, turn off debug mode 2010-10-14 02:16:06 -04:00
Dave Vasilevsky
b4753b60b9 Woops, forgot to add pixz.c, how embarassing! 2010-10-14 02:14:58 -04:00
Dave Vasilevsky
0f21868543 tabs to spaces 2010-10-14 02:13:23 -04:00
Dave Vasilevsky
17bf2bc294 Doc update 2010-10-14 02:11:46 -04:00
Dave Vasilevsky
4713b32cf1 Single driver 2010-10-14 01:48:08 -04:00
Dave Vasilevsky
e675206a8e Move operations to functions 2010-10-14 00:56:26 -04:00
Dave Vasilevsky
cfa025697d Fix writing last file; Make pixz_read into a function 2010-10-14 00:39:43 -04:00
Dave Vasilevsky
101cb11c18 Move pread -> read 2010-10-14 00:27:50 -04:00
Dave Vasilevsky
f06306a5e7 Check sizes against index, but only can do so after extraction starts 2010-10-14 00:21:52 -04:00
Dave Vasilevsky
322baeb5d3 Tests fine against normal xz files 2010-10-14 00:01:11 -04:00
Dave Vasilevsky
6bb84ae256 Oops, re-enable multi-header 2010-10-13 23:37:50 -04:00
Dave Vasilevsky
2c5c33120a Don't read index unless necessary 2010-10-13 23:36:48 -04:00
Dave Vasilevsky
9d0c5e314a Allow copyfile multiple-headers; fix eof bug. 2010-10-13 23:25:21 -04:00
Dave Vasilevsky
6435564db4 Use off_t 2010-10-13 22:59:14 -04:00
Dave Vasilevsky
02140baf7e compare file names 2010-10-13 22:56:43 -04:00
Dave Vasilevsky
29d1bfeb36 Reorg 2010-10-13 22:42:54 -04:00
Dave Vasilevsky
7fb3234f93 Work again without file index 2010-10-13 22:40:11 -04:00
Dave Vasilevsky
bd678c0924 Create wanted list even if no specs given 2010-10-13 22:37:56 -04:00
Dave Vasilevsky
5850a10301 Revert "Works without wanted files"
This reverts commit 8a05b40c53.
2010-10-13 22:33:28 -04:00
Dave Vasilevsky
8a05b40c53 Works without wanted files 2010-10-13 17:34:19 -04:00
Dave Vasilevsky
009d616db5 Check tar contents on output. TODO: No wanted files? Check index against files? 2010-10-13 17:26:55 -04:00
Dave Vasilevsky
b1ffeb1490 Fast-extraction works, non-tar too! Disable DEBUG 2010-10-13 13:14:30 -04:00
Dave Vasilevsky
0b37d9398d fix todo 2010-10-13 13:06:56 -04:00
Dave Vasilevsky
557cae0350 Extrac spec-matching into function 2010-10-13 12:53:05 -04:00
Dave Vasilevsky
6f83d58d51 Make sure each spec matches something 2010-10-13 12:47:51 -04:00
Dave Vasilevsky
7aae647657 Extraction works! Need to fix non-matching spec behavior; test huge-file extraction 2010-10-13 12:32:10 -04:00
Dave Vasilevsky
e6fa56efec Cleanup file structure 2010-10-13 12:05:07 -04:00
Dave Vasilevsky
8b5dcf2e47 Only decode wanted blocks 2010-10-13 12:01:39 -04:00
Dave Vasilevsky
5b9896d074 Establish wanted files at start 2010-10-13 11:48:28 -04:00
Dave Vasilevsky
62e24fb4c1 Actually match like tar does 2010-10-13 01:55:22 -04:00
Dave Vasilevsky
7aed15667b Fix listing bug; Search for files we want, badly 2010-10-13 01:40:49 -04:00
Dave Vasilevsky
adf778d4a7 specify files with -i and -o 2010-10-13 01:10:40 -04:00
Dave Vasilevsky
8c7333d2f7 Ignore pread binary 2010-10-12 23:44:51 -04:00