summaryrefslogtreecommitdiffstats
path: root/src/opk/write.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename src/ to opkg-opk/Patrick McDermott2023-07-061-551/+0
|
* opk/write: Fix memory leaksPatrick McDermott2023-07-051-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 noticesPatrick McDermott2023-06-181-4/+4
|
* opk/write: Fix temporary archive file name bufferPatrick McDermott2023-06-171-1/+1
|
* opk/write: Handle specials overridesPatrick McDermott2023-05-281-0/+22
|
* opk/write: Simplify goto blocksPatrick McDermott2023-05-281-39/+23
| | | | Also fixes "warning: label ‘out0’ defined but not used".
* opk/write: Fix path length handling, add virt pathPatrick McDermott2023-05-281-38/+40
|
* opk/write: Clarify variable namesPatrick McDermott2023-05-281-15/+18
|
* opk/write: Reflow some linesPatrick McDermott2023-05-121-7/+4
|
* opk/write: Write block, char, and FIFO headersPatrick McDermott2023-05-121-3/+35
|
* ustar: Support writing device major and minorPatrick McDermott2023-05-121-6/+6
|
* opk/write: Error-check lstat() and rename varPatrick McDermott2023-05-111-15/+20
|
* opk/write: Add root directories to inner archivesPatrick McDermott2023-05-111-0/+20
|
* opk/write: Build control and data archivesPatrick McDermott2023-05-101-10/+362
|
* gzip: Separate last compression from freeingPatrick McDermott2023-05-081-0/+1
|
* opk/write: Store outer ustar uname/gname in varsPatrick McDermott2023-05-071-3/+7
|
* opk/write: Fix commentsPatrick McDermott2023-05-071-2/+2
|
* gzip: Write compressed output to file directlyPatrick McDermott2023-05-071-16/+1
|
* ustar: Make mtime unsignedPatrick McDermott2023-05-071-2/+2
|
* ustar: Move SOURCE_DATE_EPOCH code to opk/writePatrick McDermott2023-04-301-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 McDermott2023-04-301-2/+1
|
* opk/write: Build mode (WIP)Patrick McDermott2023-04-301-0/+119