Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main: Add help output and check for operand | Patrick McDermott | 2023-04-20 | 1 | -4/+78 |
| | |||||
* | main: Add version output | Patrick McDermott | 2023-04-20 | 1 | -2/+19 |
| | |||||
* | main: Handle options | Patrick McDermott | 2023-04-20 | 1 | -14/+99 |
| | | | | Missing: -h, -V, and -? | ||||
* | opk: Automatically initialize inner gzip and ustar | Patrick McDermott | 2023-04-19 | 1 | -15/+5 |
| | | | | Simplifies interface to main(). | ||||
* | ustar: Make seek names struct opaque | Patrick McDermott | 2023-04-19 | 1 | -15/+9 |
| | | | | Simplify main() a little and fix memory leak on success. | ||||
* | main: Fix list free loop | Patrick McDermott | 2023-04-19 | 1 | -4/+4 |
| | |||||
* | opk: Print multiple control files | Patrick McDermott | 2023-04-18 | 1 | -0/+5 |
| | |||||
* | ustar: Use linked list instead of varargs in seek | Patrick McDermott | 2023-04-18 | 1 | -2/+17 |
| | | | | Also indicate when all sought member files are found. | ||||
* | opk: Separate output with newline, so main needn't | Patrick McDermott | 2023-04-18 | 1 | -3/+0 |
| | |||||
* | opk: Split from main | Patrick McDermott | 2023-04-18 | 1 | -251/+13 |
| | |||||
* | main: Drop a macro | Patrick McDermott | 2023-04-18 | 1 | -4/+2 |
| | |||||
* | main: Split outer and inner archive initialization | Patrick McDermott | 2023-04-18 | 1 | -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. | ||||
* | main, ustar: Add comments | Patrick McDermott | 2023-04-18 | 1 | -0/+10 |
| | |||||
* | main: Check debian-version | Patrick McDermott | 2023-04-18 | 1 | -0/+18 |
| | |||||
* | main: Set max column widths and free members | Patrick McDermott | 2023-04-18 | 1 | -5/+46 |
| | |||||
* | ustar, main: Dynamically allocate member structs | Patrick McDermott | 2023-04-18 | 1 | -16/+17 |
| | | | | | TODO: Save max strlen()s in first loop and printf() and free() in second loop. | ||||
* | ustar, main: Show mode and mtime | Patrick McDermott | 2023-04-17 | 1 | -4/+21 |
| | |||||
* | ustar, main: Show type, uname, and gname | Patrick McDermott | 2023-04-17 | 1 | -1/+4 |
| | |||||
* | ustar, main: Show size of member files | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | | | | Also fix integer type (maximum file size is 8^12-1 = 68719476735). | ||||
* | ustar: Search for multiple member names | Patrick McDermott | 2023-04-17 | 1 | -2/+3 |
| | |||||
* | main: Fix control file name | Patrick McDermott | 2023-04-17 | 1 | -1/+1 |
| | |||||
* | main: Improve error messages about inner archive | Patrick McDermott | 2023-04-17 | 1 | -3/+6 |
| | |||||
* | main: Uncomment control file reading | Patrick McDermott | 2023-04-15 | 1 | -5/+5 |
| | |||||
* | main: Print error messages | Patrick McDermott | 2023-04-15 | 1 | -0/+10 |
| | |||||
* | main: Cast function type | Patrick McDermott | 2023-04-15 | 1 | -1/+3 |
| | |||||
* | main: Simplify/improve error handling | Patrick McDermott | 2023-04-15 | 1 | -18/+25 |
| | |||||
* | ustar: Fix read buffer | Patrick McDermott | 2023-04-15 | 1 | -1/+1 |
| | |||||
* | [WIP] main: Print control file and list data files | Patrick McDermott | 2023-04-14 | 1 | -18/+92 |
| | |||||
* | Eliminate magic numbers | Patrick McDermott | 2023-04-14 | 1 | -2/+5 |
| | |||||
* | gzip, ustar: Add *_free() functions | Patrick McDermott | 2023-04-14 | 1 | -2/+3 |
| | |||||
* | main: List outer archive members | Patrick McDermott | 2023-04-14 | 1 | -5/+49 |
| | |||||
* | main: Free zlib buffers | Patrick McDermott | 2023-04-13 | 1 | -0/+1 |
| | |||||
* | main: List archive members | Patrick McDermott | 2023-04-13 | 1 | -0/+28 |
| | |||||
* | Initial commit | Patrick McDermott | 2023-04-12 | 1 | -0/+5 |