Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main, ustar: Add comments | Patrick McDermott | 2023-04-18 | 2 | -0/+28 |
| | |||||
* | main: Check debian-version | Patrick McDermott | 2023-04-18 | 1 | -0/+18 |
| | |||||
* | gzip: Cast to avoid warnings | Patrick McDermott | 2023-04-18 | 1 | -2/+3 |
| | |||||
* | ustar: Use char type | Patrick McDermott | 2023-04-18 | 1 | -32/+32 |
| | | | | | | POSIX requires header characters to be encoded in ISO/IEC 646, a 7-bit code, so the extra bit in (unsigned char) is unnecessary. So fix a bunch of warnings and get rid of casts. | ||||
* | ustar: Fix a couple warnings | Patrick McDermott | 2023-04-18 | 1 | -2/+2 |
| | |||||
* | ustar: Make size unsigned | Patrick McDermott | 2023-04-18 | 2 | -2/+2 |
| | |||||
* | main: Set max column widths and free members | Patrick McDermott | 2023-04-18 | 3 | -7/+48 |
| | |||||
* | ustar, main: Dynamically allocate member structs | Patrick McDermott | 2023-04-18 | 3 | -42/+53 |
| | | | | | TODO: Save max strlen()s in first loop and printf() and free() in second loop. | ||||
* | ustar, main: Show mode and mtime | Patrick McDermott | 2023-04-17 | 4 | -11/+42 |
| | |||||
* | ustar, main: Show type, uname, and gname | Patrick McDermott | 2023-04-17 | 3 | -1/+36 |
| | |||||
* | ustar: Verify typeflag | Patrick McDermott | 2023-04-17 | 1 | -4/+20 |
| | |||||
* | Revert "ustar: Verify full magic field" | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | | | | | | | This reverts commit 1203f44aa85a88cfdc3008e7f14818c85bfe46c3. POSIX requires "ustar\0" but BusyBox tar creates "ustar ". Again, standard? What standard? | ||||
* | ustar: Verify full magic field | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | |||||
* | Revert "ustar: Verify version" | Patrick McDermott | 2023-04-17 | 1 | -4/+0 |
| | | | | | | | This reverts commit 8858721eceff2d22099ed42bee049b35a0fc712c. POSIX requires "00" but BusyBox tar creates " \0". Apparently standards are irrelevant. | ||||
* | ustar: Verify version | Patrick McDermott | 2023-04-17 | 1 | -0/+4 |
| | |||||
* | ustar: Verify header checksums | Patrick McDermott | 2023-04-17 | 2 | -4/+25 |
| | |||||
* | TODO: Checksum | Patrick McDermott | 2023-04-17 | 1 | -0/+1 |
| | |||||
* | ustar, main: Show size of member files | Patrick McDermott | 2023-04-17 | 3 | -3/+7 |
| | | | | Also fix integer type (maximum file size is 8^12-1 = 68719476735). | ||||
* | ustar: Search for multiple member names | Patrick McDermott | 2023-04-17 | 4 | -7/+16 |
| | |||||
* | TODO: New file | Patrick McDermott | 2023-04-17 | 1 | -0/+4 |
| | |||||
* | main: Fix control file name | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | |||||
* | main: Improve error messages about inner archive | Patrick McDermott | 2023-04-17 | 1 | -3/+6 |
| | |||||
* | gzip: Make more robust | Patrick McDermott | 2023-04-17 | 1 | -4/+17 |
| | |||||
* | ustar: Don't read sought file | Patrick McDermott | 2023-04-17 | 1 | -4/+4 |
| | |||||
* | design.txt: Remove | Patrick McDermott | 2023-04-15 | 1 | -56/+0 |
| | |||||
* | main: Uncomment control file reading | Patrick McDermott | 2023-04-15 | 1 | -5/+5 |
| | |||||
* | ustar: Fix seeking | Patrick McDermott | 2023-04-15 | 1 | -10/+6 |
| | |||||
* | main: Print error messages | Patrick McDermott | 2023-04-15 | 1 | -0/+10 |
| | |||||
* | main: Cast function type | Patrick McDermott | 2023-04-15 | 3 | -3/+7 |
| | |||||
* | main: Simplify/improve error handling | Patrick McDermott | 2023-04-15 | 1 | -18/+25 |
| | |||||
* | ustar: Fix read buffer | Patrick McDermott | 2023-04-15 | 3 | -21/+24 |
| | |||||
* | [WIP] main: Print control file and list data files | Patrick McDermott | 2023-04-14 | 1 | -18/+92 |
| | |||||
* | Eliminate magic numbers | Patrick McDermott | 2023-04-14 | 4 | -17/+29 |
| | |||||
* | gzip, ustar: Add *_free() functions | Patrick McDermott | 2023-04-14 | 5 | -6/+22 |
| | |||||
* | main: List outer archive members | Patrick McDermott | 2023-04-14 | 1 | -5/+49 |
| | |||||
* | ustar: Rewrite | Patrick McDermott | 2023-04-14 | 2 | -40/+127 |
| | |||||
* | gzip: Rewrite | Patrick McDermott | 2023-04-14 | 2 | -102/+51 |
| | |||||
* | design.txt: Rework | Patrick McDermott | 2023-04-13 | 1 | -12/+37 |
| | |||||
* | design.txt: New file | Patrick McDermott | 2023-04-13 | 1 | -0/+31 |
| | |||||
* | ustar: Improve end detection | Patrick McDermott | 2023-04-13 | 1 | -2/+7 |
| | |||||
* | ustar: Fix EOF logic | Patrick McDermott | 2023-04-13 | 1 | -7/+11 |
| | |||||
* | ustar: Size field (and all other ints) is octal | Patrick McDermott | 2023-04-13 | 1 | -1/+1 |
| | |||||
* | main: Free zlib buffers | Patrick McDermott | 2023-04-13 | 1 | -0/+1 |
| | |||||
* | gzip: Set windowBits for gzip | Patrick McDermott | 2023-04-13 | 1 | -1/+1 |
| | |||||
* | ustar: Verify magic | Patrick McDermott | 2023-04-13 | 1 | -0/+5 |
| | |||||
* | main: List archive members | Patrick McDermott | 2023-04-13 | 3 | -9/+38 |
| | |||||
* | ustar: Implement | Patrick McDermott | 2023-04-13 | 3 | -1/+142 |
| | |||||
* | gzip: Split out return value constants | Patrick McDermott | 2023-04-13 | 4 | -17/+42 |
| | |||||
* | gzip: Implement | Patrick McDermott | 2023-04-13 | 3 | -0/+176 |
| | |||||
* | build: Link against zlib | Patrick McDermott | 2023-04-12 | 2 | -2/+7 |
| |