summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* gzip: Add write directionPatrick McDermott2023-04-283-19/+150
|
* opk: Print linknamePatrick McDermott2023-04-251-4/+11
|
* ustar: Ensure listed linkname is NUL-terminatedPatrick McDermott2023-04-252-6/+6
| | | | Also simplify uname and gname copying.
* ustar: Eliminate static variablesPatrick McDermott2023-04-251-50/+53
|
* opk: Ignore -Wformat-nonliteralPatrick McDermott2023-04-201-0/+3
|
* opk: Fix column width calculationPatrick McDermott2023-04-201-3/+6
| | | | Also fix possibly uninitialized list tail.
* main: Set text domain and localePatrick McDermott2023-04-201-2/+14
|
* src/i18n.h: Handle !ENABLE_NLSPatrick McDermott2023-04-201-0/+8
|
* main, opk: Translate stringsPatrick McDermott2023-04-202-30/+38
|
* main: Print options help in one puts() callPatrick McDermott2023-04-201-37/+31
|
* build: gettextizePatrick McDermott2023-04-202-0/+4
|
* main: Check for at least one optionPatrick McDermott2023-04-201-0/+6
|
* main: Disable getopt's error outputPatrick McDermott2023-04-201-0/+1
|
* main: Add help output and check for operandPatrick McDermott2023-04-201-4/+78
|
* main: Add version outputPatrick McDermott2023-04-201-2/+19
|
* main: Handle optionsPatrick McDermott2023-04-201-14/+99
| | | | Missing: -h, -V, and -?
* ustar: Add a couple small commentsPatrick McDermott2023-04-191-0/+4
|
* opk: Automatically initialize inner gzip and ustarPatrick McDermott2023-04-193-57/+36
| | | | Simplifies interface to main().
* opk: Fix a leak on errorPatrick McDermott2023-04-191-9/+11
|
* ustar: Make seek names struct opaquePatrick McDermott2023-04-194-52/+80
| | | | Simplify main() a little and fix memory leak on success.
* opk: Initialize seek_name.foundPatrick McDermott2023-04-191-2/+3
|
* main: Fix list free loopPatrick McDermott2023-04-191-4/+4
|
* opk: Document functionsPatrick McDermott2023-04-191-0/+55
|
* opk: Return error if unable to write to stdoutPatrick McDermott2023-04-191-6/+17
|
* ustar: Shorten macro namePatrick McDermott2023-04-182-5/+5
|
* opk: Print multiple control filesPatrick McDermott2023-04-182-15/+26
|
* ustar: Use linked list instead of varargs in seekPatrick McDermott2023-04-185-31/+131
| | | | Also indicate when all sought member files are found.
* opk: Separate output with newline, so main needn'tPatrick McDermott2023-04-182-3/+15
|
* ustar: Document arguments that may be NULLPatrick McDermott2023-04-181-2/+3
|
* opk: Split from mainPatrick McDermott2023-04-184-251/+338
|
* main: Drop a macroPatrick McDermott2023-04-181-4/+2
|
* main: Split outer and inner archive initializationPatrick McDermott2023-04-181-67/+103
| | | | | | Thus, we can both read the control file and list data files in one pass through the outer archive. Unlike dpkg-deb, opkg-opk will allow both -I and -c options (commands in dpkg-deb syntax) to be used together.
* gzip, ustar: Document functionsPatrick McDermott2023-04-182-0/+79
|
* main, ustar: Add commentsPatrick McDermott2023-04-182-0/+28
|
* main: Check debian-versionPatrick McDermott2023-04-181-0/+18
|
* gzip: Cast to avoid warningsPatrick McDermott2023-04-181-2/+3
|
* ustar: Use char typePatrick McDermott2023-04-181-32/+32
| | | | | | POSIX requires header characters to be encoded in ISO/IEC 646, a 7-bit code, so the extra bit in (unsigned char) is unnecessary. So fix a bunch of warnings and get rid of casts.
* ustar: Fix a couple warningsPatrick McDermott2023-04-181-2/+2
|
* ustar: Make size unsignedPatrick McDermott2023-04-182-2/+2
|
* main: Set max column widths and free membersPatrick McDermott2023-04-181-5/+46
|
* ustar, main: Dynamically allocate member structsPatrick McDermott2023-04-183-42/+53
| | | | | TODO: Save max strlen()s in first loop and printf() and free() in second loop.
* ustar, main: Show mode and mtimePatrick McDermott2023-04-173-10/+40
|
* ustar, main: Show type, uname, and gnamePatrick McDermott2023-04-173-1/+36
|
* ustar: Verify typeflagPatrick McDermott2023-04-171-4/+20
|
* Revert "ustar: Verify full magic field"Patrick McDermott2023-04-171-1/+1
| | | | | | | This reverts commit 1203f44aa85a88cfdc3008e7f14818c85bfe46c3. POSIX requires "ustar\0" but BusyBox tar creates "ustar ". Again, standard? What standard?
* ustar: Verify full magic fieldPatrick McDermott2023-04-171-1/+1
|
* Revert "ustar: Verify version"Patrick McDermott2023-04-171-4/+0
| | | | | | | This reverts commit 8858721eceff2d22099ed42bee049b35a0fc712c. POSIX requires "00" but BusyBox tar creates " \0". Apparently standards are irrelevant.
* ustar: Verify versionPatrick McDermott2023-04-171-0/+4
|
* ustar: Verify header checksumsPatrick McDermott2023-04-171-3/+25
|
* ustar, main: Show size of member filesPatrick McDermott2023-04-173-3/+7
| | | | Also fix integer type (maximum file size is 8^12-1 = 68719476735).