Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename src/ to opkg-opk/ | Patrick McDermott | 2023-07-06 | 19 | -3230/+0 |
| | |||||
* | build: Generate executables in subdirectories | Patrick McDermott | 2023-07-06 | 3 | -2/+3 |
| | |||||
* | 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) | ||||
* | main: Make globals static const | Patrick McDermott | 2023-06-26 | 1 | -4/+4 |
| | |||||
* | main: Report failure to read specials file | Patrick McDermott | 2023-06-19 | 1 | -1/+9 |
| | |||||
* | Fix license notices | Patrick McDermott | 2023-06-18 | 15 | -39/+39 |
| | |||||
* | opk/read: Fix device number lengths | Patrick McDermott | 2023-06-17 | 1 | -0/+6 |
| | | | | log10(1) == 0 | ||||
* | main: Add -s option | Patrick McDermott | 2023-06-17 | 1 | -2/+15 |
| | |||||
* | 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 | 3 | -40/+47 |
| | |||||
* | opk/write: Clarify variable names | Patrick McDermott | 2023-05-28 | 1 | -15/+18 |
| | |||||
* | opk: Read specials file | Patrick McDermott | 2023-05-17 | 3 | -0/+27 |
| | |||||
* | specials: Read and search special files list | Patrick McDermott | 2023-05-17 | 3 | -0/+171 |
| | | | | specials.txt is a temporary example file. | ||||
* | 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 |
| | |||||
* | ustar: Provide devmajor and devminor in listing | Patrick McDermott | 2023-05-12 | 2 | -1/+16 |
| | |||||
* | 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 | 3 | -11/+15 |
| | |||||
* | opk/read: Fix possible FD leak | Patrick McDermott | 2023-05-11 | 1 | -0/+1 |
| | |||||
* | gzip: Add pure attribute | Patrick McDermott | 2023-05-11 | 1 | -1/+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 |
| | |||||
* | dirent: Add trailing '/' to directories | Patrick McDermott | 2023-05-11 | 3 | -14/+18 |
| | |||||
* | dirent: Remove test code | Patrick McDermott | 2023-05-10 | 1 | -29/+0 |
| | |||||
* | 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 |
| |