Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | inspect: Abstract out db_dump code for listing RPM applications. | Richard W.M. Jones | 2011-04-18 | 1 | -81/+28 |
| | | | | | | | | | | | | There are two changes here: (1) The code for listing RPM applications ran db_dump and parsed the output. We abstract out that parsing code into a separate reusable module (src/dbdump.c). (2) The old db_dump parsing code used db_dump -p (printable) format. Instead use db_dump -k (hex) format so we can read binary fields. (cherry picked from commit a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078) | ||||
* | inspect: Split code into separate files. | Richard W.M. Jones | 2011-04-18 | 1 | -0/+536 |
The src/inspect.c file had grown rather large -- 3,500 lines. Split it across several files according to function. This is just moving code. After the split the files are more evenly divided: 536 src/inspect_apps.c 766 src/inspect.c 537 src/inspect_fs.c 404 src/inspect_fs_cd.c 785 src/inspect_fs_unix.c 535 src/inspect_fs_windows.c 3563 total (cherry picked from commit 3336b5448f12c9eb25bf7a0cecda1315c4cf07ea) |