summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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).
* ustar: Search for multiple member namesPatrick McDermott2023-04-173-6/+16
|
* main: Fix control file namePatrick McDermott2023-04-171-1/+1
|
* main: Improve error messages about inner archivePatrick McDermott2023-04-171-3/+6
|
* gzip: Make more robustPatrick McDermott2023-04-171-4/+17
|
* ustar: Don't read sought filePatrick McDermott2023-04-171-4/+4
|
* main: Uncomment control file readingPatrick McDermott2023-04-151-5/+5
|
* ustar: Fix seekingPatrick McDermott2023-04-151-10/+6
|
* main: Print error messagesPatrick McDermott2023-04-151-0/+10
|
* main: Cast function typePatrick McDermott2023-04-153-3/+7
|
* main: Simplify/improve error handlingPatrick McDermott2023-04-151-18/+25
|
* ustar: Fix read bufferPatrick McDermott2023-04-153-21/+24
|
* [WIP] main: Print control file and list data filesPatrick McDermott2023-04-141-18/+92
|
* Eliminate magic numbersPatrick McDermott2023-04-144-17/+29
|
* gzip, ustar: Add *_free() functionsPatrick McDermott2023-04-145-6/+22
|
* main: List outer archive membersPatrick McDermott2023-04-141-5/+49
|
* ustar: RewritePatrick McDermott2023-04-142-40/+127
|
* gzip: RewritePatrick McDermott2023-04-142-102/+51
|
* ustar: Improve end detectionPatrick McDermott2023-04-131-2/+7
|
* ustar: Fix EOF logicPatrick McDermott2023-04-131-7/+11
|
* ustar: Size field (and all other ints) is octalPatrick McDermott2023-04-131-1/+1
|
* main: Free zlib buffersPatrick McDermott2023-04-131-0/+1
|
* gzip: Set windowBits for gzipPatrick McDermott2023-04-131-1/+1
|
* ustar: Verify magicPatrick McDermott2023-04-131-0/+5
|
* main: List archive membersPatrick McDermott2023-04-133-9/+38
|
* ustar: ImplementPatrick McDermott2023-04-133-1/+142
|
* gzip: Split out return value constantsPatrick McDermott2023-04-134-17/+42
|
* gzip: ImplementPatrick McDermott2023-04-133-0/+176
|