Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "gzip: Test code" | Patrick McDermott | 2023-05-02 | 1 | -103/+0 |
| | | | | This reverts commit 12277cad55c6d3910dbc24ab32baf405f8970d64. | ||||
* | gzip: Test code | Patrick McDermott | 2023-05-02 | 1 | -0/+103 |
| | |||||
* | gzip: Preserve gzip header | Patrick McDermott | 2023-05-02 | 1 | -9/+9 |
| | | | | | | zlib doesn't copy it anywhere between deflateSetHeader() and deflate(), so we need to make sure it doesn't get corrupted on the stack in the meantime. | ||||
* | ustar: Move SOURCE_DATE_EPOCH code to opk/write | Patrick McDermott | 2023-04-30 | 3 | -26/+30 |
| | | | | | | This way it runs only once (without resorting to static variables) across all headers in all ustar archives. Also, opk/write now prints an informative error message. | ||||
* | ustar: Set mtime in written header | Patrick McDermott | 2023-04-30 | 1 | -0/+23 |
| | |||||
* | ustar: Set magic+version+chksum in written header | Patrick McDermott | 2023-04-30 | 1 | -1/+17 |
| | |||||
* | ustar: Fix trailer writing | Patrick McDermott | 2023-04-30 | 1 | -1/+2 |
| | |||||
* | opk/write: Fix fwrite() | Patrick McDermott | 2023-04-30 | 1 | -2/+1 |
| | |||||
* | gzip: Fix write buffer | Patrick McDermott | 2023-04-30 | 1 | -2/+2 |
| | |||||
* | opk/write: Build mode (WIP) | Patrick McDermott | 2023-04-30 | 6 | -9/+197 |
| | |||||
* | uname: Fix written linkname | Patrick McDermott | 2023-04-30 | 1 | -3/+8 |
| | |||||
* | ustar: Add function to write trailer | Patrick McDermott | 2023-04-30 | 2 | -0/+16 |
| | |||||
* | dirent: Don't add leading "/" | Patrick McDermott | 2023-04-30 | 1 | -12/+29 |
| | |||||
* | gzip: Get write buffer after init | Patrick McDermott | 2023-04-30 | 2 | -15/+24 |
| | |||||
* | ustar: Add functions to write data | Patrick McDermott | 2023-04-30 | 2 | -5/+43 |
| | | | | And rename record buffer. | ||||
* | ustar: Add function to write header | Patrick McDermott | 2023-04-29 | 2 | -0/+63 |
| | |||||
* | dirent: Remove test code | Patrick McDermott | 2023-04-29 | 1 | -34/+0 |
| | |||||
* | dirent: Implement | Patrick McDermott | 2023-04-29 | 3 | -0/+189 |
| | |||||
* | opk/read: Rename static functions | Patrick McDermott | 2023-04-29 | 1 | -23/+23 |
| | |||||
* | opk: Split reading out into opk/read | Patrick McDermott | 2023-04-29 | 5 | -556/+613 |
| | |||||
* | opk: Strip leading "/" when checking names to print | Patrick McDermott | 2023-04-29 | 1 | -0/+4 |
| | |||||
* | opk: Ensure data file names begin with "/" | Patrick McDermott | 2023-04-29 | 1 | -6/+19 |
| | |||||
* | opk: Extract control files | Patrick McDermott | 2023-04-29 | 3 | -21/+128 |
| | |||||
* | main: Implement new -f, -F, -l, and -L options | Patrick McDermott | 2023-04-29 | 1 | -40/+103 |
| | |||||
* | opk: Print data files | Patrick McDermott | 2023-04-29 | 2 | -21/+99 |
| | |||||
* | opk: List control files | Patrick McDermott | 2023-04-29 | 2 | -3/+37 |
| | |||||
* | opk: Restore list error check | Patrick McDermott | 2023-04-29 | 1 | -2/+9 |
| | |||||
* | main: Free opk on -h and -V | Patrick McDermott | 2023-04-28 | 1 | -0/+2 |
| | |||||
* | opk: List missing control files | Patrick McDermott | 2023-04-28 | 1 | -5/+12 |
| | |||||
* | opk: Merge most of seek func into read func | Patrick McDermott | 2023-04-28 | 1 | -67/+34 |
| | |||||
* | opk: Remove found members from list | Patrick McDermott | 2023-04-28 | 1 | -31/+62 |
| | |||||
* | opk: Improve loop control | Patrick McDermott | 2023-04-28 | 1 | -10/+6 |
| | |||||
* | opk: Ignore leading "./" in requested member names | Patrick McDermott | 2023-04-28 | 1 | -1/+5 |
| | |||||
* | opk: Make version variables local | Patrick McDermott | 2023-04-28 | 1 | -4/+4 |
| | |||||
* | opk: Absorb seek list management from ustar | Patrick McDermott | 2023-04-28 | 3 | -209/+126 |
| | |||||
* | opk: Manage control file list and listing flag | Patrick McDermott | 2023-04-28 | 3 | -161/+184 |
| | | | | Instead of main() doing so. | ||||
* | ustar: Don't read data after finding named header | Patrick McDermott | 2023-04-28 | 1 | -16/+7 |
| | |||||
* | Revert "main: Test gzip writing" | Patrick McDermott | 2023-04-28 | 1 | -58/+222 |
| | | | | This reverts commit 261d5be6b02e73fc0c7973b7319e89af7e574fb0. | ||||
* | main: Test gzip writing | Patrick McDermott | 2023-04-28 | 1 | -222/+58 |
| | |||||
* | gzip: Add write direction | Patrick McDermott | 2023-04-28 | 3 | -19/+150 |
| | |||||
* | opk: Print linkname | Patrick McDermott | 2023-04-25 | 1 | -4/+11 |
| | |||||
* | ustar: Ensure listed linkname is NUL-terminated | Patrick McDermott | 2023-04-25 | 2 | -6/+6 |
| | | | | Also simplify uname and gname copying. | ||||
* | ustar: Eliminate static variables | Patrick McDermott | 2023-04-25 | 1 | -50/+53 |
| | |||||
* | opk: Ignore -Wformat-nonliteral | Patrick McDermott | 2023-04-20 | 1 | -0/+3 |
| | |||||
* | opk: Fix column width calculation | Patrick McDermott | 2023-04-20 | 1 | -3/+6 |
| | | | | Also fix possibly uninitialized list tail. | ||||
* | main: Set text domain and locale | Patrick McDermott | 2023-04-20 | 1 | -2/+14 |
| | |||||
* | src/i18n.h: Handle !ENABLE_NLS | Patrick McDermott | 2023-04-20 | 1 | -0/+8 |
| | |||||
* | main, opk: Translate strings | Patrick McDermott | 2023-04-20 | 2 | -30/+38 |
| | |||||
* | main: Print options help in one puts() call | Patrick McDermott | 2023-04-20 | 1 | -37/+31 |
| | |||||
* | build: gettextize | Patrick McDermott | 2023-04-20 | 2 | -0/+4 |
| |