Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | opk/write: Fix memory leaks | Patrick McDermott | 2023-07-05 | 1 | -2/+2 |
| | | | | | | | | | | | | | opk->temp_file_name wasn't freed when either of the _opkg_opk_opk_build_inner_archive() calls failed. Fixes: Direct leak of 73 byte(s) in 1 object(s) allocated from: #0 0x7fde9c5c4d28 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1d28) #1 0x563aeebbc4e8 in opkg_opk_opk_write src/opk/write.c:512 #2 0x563aeebb4351 in main src/main.c:357 #3 0x7fde9bc5b2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0) | ||||
* | Fix license notices | Patrick McDermott | 2023-06-18 | 3 | -12/+12 |
| | |||||
* | opk/read: Fix device number lengths | Patrick McDermott | 2023-06-17 | 1 | -0/+6 |
| | | | | log10(1) == 0 | ||||
* | opk/write: Fix temporary archive file name buffer | Patrick McDermott | 2023-06-17 | 1 | -1/+1 |
| | |||||
* | opk/write: Handle specials overrides | Patrick McDermott | 2023-05-28 | 1 | -0/+22 |
| | |||||
* | opk/write: Simplify goto blocks | Patrick McDermott | 2023-05-28 | 1 | -39/+23 |
| | | | | Also fixes "warning: label ‘out0’ defined but not used". | ||||
* | opk/write: Fix path length handling, add virt path | Patrick McDermott | 2023-05-28 | 2 | -40/+44 |
| | |||||
* | opk/write: Clarify variable names | Patrick McDermott | 2023-05-28 | 1 | -15/+18 |
| | |||||
* | opk: Read specials file | Patrick McDermott | 2023-05-17 | 1 | -0/+1 |
| | |||||
* | opk/read: Ignore -Wmaybe-uninitialized false pos | Patrick McDermott | 2023-05-12 | 1 | -0/+6 |
| | |||||
* | opk/read: Indent other pragmas | Patrick McDermott | 2023-05-12 | 1 | -3/+3 |
| | |||||
* | opk/read: Make GCC 12 analyzer STFU | Patrick McDermott | 2023-05-12 | 1 | -0/+40 |
| | | | | | | What a mess. Fixes most of analyzer*.log (thousands of lines of error messages). | ||||
* | opk/read: Only extract and/or print regular files | Patrick McDermott | 2023-05-12 | 1 | -0/+14 |
| | |||||
* | opk/read: List device major and minor numbers | Patrick McDermott | 2023-05-12 | 1 | -7/+41 |
| | |||||
* | opk/write: Reflow some lines | Patrick McDermott | 2023-05-12 | 1 | -7/+4 |
| | |||||
* | opk/write: Write block, char, and FIFO headers | Patrick McDermott | 2023-05-12 | 1 | -3/+35 |
| | |||||
* | ustar: Support writing device major and minor | Patrick McDermott | 2023-05-12 | 1 | -6/+6 |
| | |||||
* | opk/read: Fix possible FD leak | Patrick McDermott | 2023-05-11 | 1 | -0/+1 |
| | |||||
* | opk/write: Error-check lstat() and rename var | Patrick McDermott | 2023-05-11 | 1 | -15/+20 |
| | |||||
* | opk/write: Add root directories to inner archives | Patrick McDermott | 2023-05-11 | 1 | -0/+20 |
| | |||||
* | 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 | 1 | -0/+1 |
| | |||||
* | 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 |
| | |||||
* | gzip: Write compressed output to file directly | Patrick McDermott | 2023-05-07 | 1 | -16/+1 |
| | |||||
* | ustar: Make mtime unsigned | Patrick McDermott | 2023-05-07 | 2 | -3/+3 |
| | |||||
* | opk/read: Separate error handling | Patrick McDermott | 2023-05-03 | 1 | -8/+20 |
| | | | | Only free member if opkg_opk_ustar_list() succeeds. | ||||
* | ustar: Move SOURCE_DATE_EPOCH code to opk/write | Patrick McDermott | 2023-04-30 | 1 | -1/+27 |
| | | | | | | 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. | ||||
* | opk/write: Fix fwrite() | Patrick McDermott | 2023-04-30 | 1 | -2/+1 |
| | |||||
* | opk/write: Build mode (WIP) | Patrick McDermott | 2023-04-30 | 3 | -1/+122 |
| | |||||
* | 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 | 3 | -0/+610 |