summaryrefslogtreecommitdiffstats
path: root/src/opk
Commit message (Collapse)AuthorAgeFilesLines
* Fix license noticesPatrick McDermott2023-06-183-12/+12
|
* opk/read: Fix device number lengthsPatrick McDermott2023-06-171-0/+6
| | | | log10(1) == 0
* 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-282-40/+44
|
* opk/write: Clarify variable namesPatrick McDermott2023-05-281-15/+18
|
* opk: Read specials filePatrick McDermott2023-05-171-0/+1
|
* opk/read: Ignore -Wmaybe-uninitialized false posPatrick McDermott2023-05-121-0/+6
|
* opk/read: Indent other pragmasPatrick McDermott2023-05-121-3/+3
|
* opk/read: Make GCC 12 analyzer STFUPatrick McDermott2023-05-121-0/+40
| | | | | | What a mess. Fixes most of analyzer*.log (thousands of lines of error messages).
* opk/read: Only extract and/or print regular filesPatrick McDermott2023-05-121-0/+14
|
* opk/read: List device major and minor numbersPatrick McDermott2023-05-121-7/+41
|
* 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/read: Fix possible FD leakPatrick McDermott2023-05-111-0/+1
|
* 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-102-10/+369
|
* 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-072-3/+3
|
* opk/read: Separate error handlingPatrick McDermott2023-05-031-8/+20
| | | | Only free member if opkg_opk_ustar_list() succeeds.
* 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-303-1/+122
|
* opk/read: Rename static functionsPatrick McDermott2023-04-291-23/+23
|
* opk: Split reading out into opk/readPatrick McDermott2023-04-293-0/+610