Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dirent: Fix separators and length limits | Patrick McDermott | 2023-05-10 | 1 | -29/+48 |
| | |||||
* | dirent: Re-add and update test code | Patrick McDermott | 2023-05-10 | 1 | -0/+30 |
| | | | | This reverts commit 50f9ee989f89fd47a5f554d9967e8abedd6bd938. | ||||
* | opk/write: Build control and data archives | Patrick McDermott | 2023-05-10 | 2 | -10/+369 |
| | |||||
* | gzip: Separate last compression from freeing | Patrick McDermott | 2023-05-08 | 3 | -3/+19 |
| | |||||
* | gzip: Count and report bytes written | Patrick McDermott | 2023-05-07 | 2 | -0/+12 |
| | |||||
* | opk/write: Store outer ustar uname/gname in vars | Patrick McDermott | 2023-05-07 | 1 | -3/+7 |
| | |||||
* | opk/write: Fix comments | Patrick McDermott | 2023-05-07 | 1 | -2/+2 |
| | |||||
* | Revert "gzip: Test code" | Patrick McDermott | 2023-05-07 | 1 | -82/+0 |
| | | | | This reverts commit 075f39b18619274bd5ae78a516a93df268b9ef7e. | ||||
* | gzip: Test code | Patrick McDermott | 2023-05-07 | 1 | -0/+82 |
| | |||||
* | gzip: Write compressed output to file directly | Patrick McDermott | 2023-05-07 | 3 | -54/+22 |
| | |||||
* | gzip: Split init functions | Patrick McDermott | 2023-05-07 | 2 | -46/+47 |
| | |||||
* | ustar: Make mtime unsigned | Patrick McDermott | 2023-05-07 | 4 | -6/+6 |
| | |||||
* | ustar: Add linkname size macro | Patrick McDermott | 2023-05-07 | 1 | -7/+8 |
| | |||||
* | dirent: Handle NULL buffers, remove function | Patrick McDermott | 2023-05-04 | 2 | -53/+6 |
| | |||||
* | ustar: Treat octets as unsigned in chksum | Patrick McDermott | 2023-05-03 | 1 | -6/+6 |
| | | | | | | Per POSIX. Complement of commit 619f09be066777b8296acf93bd6b51771ca64bd2. | ||||
* | ustar: Document assumptions and improve safety | Patrick McDermott | 2023-05-03 | 1 | -3/+14 |
| | |||||
* | opk/read: Separate error handling | Patrick McDermott | 2023-05-03 | 1 | -8/+20 |
| | | | | Only free member if opkg_opk_ustar_list() succeeds. | ||||
* | ustar: Improve compatibility of written headers | Patrick McDermott | 2023-05-02 | 1 | -10/+40 |
| | |||||
* | ustar: Treat octets as unsigned in chksum | Patrick McDermott | 2023-05-02 | 1 | -4/+4 |
| | | | | Per POSIX. | ||||
* | ustar: Fill header with zeroes before populating | Patrick McDermott | 2023-05-02 | 1 | -9/+4 |
| | |||||
* | gzip: Fix flushing | Patrick McDermott | 2023-05-02 | 3 | -8/+20 |
| | | | | | | deflate() apparently must be called with avail_in=0 and Z_FINISH after processing all input, not with Z_FINISH on the last non-empty input buffer. | ||||
* | 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 |
| |