Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ustar, main: Dynamically allocate member structs | Patrick McDermott | 2023-04-18 | 1 | -17/+26 |
| | | | | | 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 | 1 | -0/+11 |
| | |||||
* | ustar, main: Show type, uname, and gname | Patrick McDermott | 2023-04-17 | 1 | -0/+28 |
| | |||||
* | 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 | 1 | -3/+25 |
| | |||||
* | ustar, main: Show size of member files | Patrick McDermott | 2023-04-17 | 1 | -1/+2 |
| | | | | Also fix integer type (maximum file size is 8^12-1 = 68719476735). | ||||
* | ustar: Search for multiple member names | Patrick McDermott | 2023-04-17 | 1 | -3/+12 |
| | |||||
* | ustar: Don't read sought file | Patrick McDermott | 2023-04-17 | 1 | -4/+4 |
| | |||||
* | ustar: Fix seeking | Patrick McDermott | 2023-04-15 | 1 | -10/+6 |
| | |||||
* | ustar: Fix read buffer | Patrick McDermott | 2023-04-15 | 1 | -19/+22 |
| | |||||
* | Eliminate magic numbers | Patrick McDermott | 2023-04-14 | 1 | -12/+14 |
| | |||||
* | gzip, ustar: Add *_free() functions | Patrick McDermott | 2023-04-14 | 1 | -1/+6 |
| | |||||
* | ustar: Rewrite | Patrick McDermott | 2023-04-14 | 1 | -36/+111 |
| | |||||
* | ustar: Improve end detection | Patrick McDermott | 2023-04-13 | 1 | -2/+7 |
| | |||||
* | ustar: Size field (and all other ints) is octal | Patrick McDermott | 2023-04-13 | 1 | -1/+1 |
| | |||||
* | ustar: Verify magic | Patrick McDermott | 2023-04-13 | 1 | -0/+5 |
| | |||||
* | ustar: Implement | Patrick McDermott | 2023-04-13 | 1 | -0/+109 |