summaryrefslogtreecommitdiff
path: root/lib/fsm.c
AgeCommit message (Expand)AuthorFilesLines
2012-10-01Eliminate all the now unnecessary fsm->ix save-and-restoresPanu Matilainen1-14/+0
2012-10-01Pass file index as argument to fsm fsmMapPath()Panu Matilainen1-10/+9
2012-10-01Pass file index as argument to fsm fsmCommit()Panu Matilainen1-6/+6
2012-10-01Pass file index as argument to fsm writeFile()Panu Matilainen1-5/+6
2012-10-01Eliminate current hardlink set from fsm structPanu Matilainen1-8/+11
2012-10-01Pinpoint the one place where fsm->li is modified on real purposePanu Matilainen1-26/+27
2012-10-01Avoid using fsm->li directly when creating pending hard linksPanu Matilainen1-8/+9
2012-10-01Avoid using/modifying fsm->li when committing hardlinksPanu Matilainen1-6/+7
2012-10-01Avoid using/modifying fsm->li when writing links to payloadPanu Matilainen1-13/+14
2012-10-01Avoid using/modifying fsm->li when freeing hard link setsPanu Matilainen1-4/+6
2012-10-01Avoid using/modifying fsm->li on hard link checkingPanu Matilainen1-4/+4
2012-10-01Move hardlink saving out of fsmInit()Panu Matilainen1-5/+6
2012-10-01Free hardlink sets centrally in fsmFree()Panu Matilainen1-11/+3
2012-10-01Filter out skipped files on hardlink checkingPanu Matilainen1-2/+4
2012-08-30Only backup if osuffix is setPanu Matilainen1-1/+2
2012-08-23Backing up contents when replaced by directory needs special handlingPanu Matilainen1-2/+6
2012-08-23Use fsm->action to decide whether we need a backup or not.Panu Matilainen1-6/+2
2012-08-23Backup filename needs suffix, whether its directory or notPanu Matilainen1-1/+1
2012-08-23Remove dead file-backup codePanu Matilainen1-17/+0
2012-08-21Fix %config backup on erasure regressionPanu Matilainen1-2/+15
2012-07-02Cosmetics: remove redundant {} block, fixup indentationPanu Matilainen1-14/+11
2012-07-02Dont use mmap() for anything, axe the code insteadPanu Matilainen1-39/+0
2012-05-21Restore basic debug output for fsm operationsPanu Matilainen1-0/+7
2012-05-04Small patch to reverse hardlink orderingMichael Schroeder1-3/+3
2012-04-24Eliminate rpmts usage from lower levels of fsm machineryPanu Matilainen1-25/+10
2012-04-24Only install needs selabel handle, dont bother elsewherePanu Matilainen1-1/+1
2012-04-24Dont bother with fsm-level digest statisticsPanu Matilainen1-4/+0
2012-04-24Eliminate rpmts and rpmte kludgery from package buildingPanu Matilainen1-4/+5
2012-04-24Eliminate rpmte usage from lower levels of fsm machineryPanu Matilainen1-16/+17
2012-04-24Move mode-specific flag setting out of fsmNew()Panu Matilainen1-11/+11
2012-04-24Clean up file backup logic a bitPanu Matilainen1-19/+17
2012-04-24Bury build filestate setting inside fsm remainsPanu Matilainen1-1/+11
2012-04-24Split out file state recording out of fsmMapPath()Panu Matilainen1-9/+20
2012-04-18Pay attention to NULL returns from rpmcpioOpen()Panu Matilainen1-6/+6
2012-04-18Sanitize fsm creation/initialization and destructionPanu Matilainen1-25/+13
2012-04-18Split out hardlink checking from fsmTeardown()Panu Matilainen1-25/+32
2012-04-18Eliminate unused leftover rc member from fsm structPanu Matilainen1-3/+2
2012-04-18Move cpio end trailer detection to the cpio codePanu Matilainen1-1/+3
2012-04-18Separate payload archive close and freePanu Matilainen1-12/+11
2012-04-17Eliminate payload archive member from fsm structPanu Matilainen1-32/+36
2012-04-17Push fsm archive size down to the only caller who caresPanu Matilainen1-11/+7
2012-04-17Lose unnecessary cfd member from fsm, refcount through payload insteadPanu Matilainen1-8/+0
2012-04-17Kill couple of useless "helper" functionsPanu Matilainen1-16/+2
2012-04-17Remove now unused psm argument to fsmSetup()Panu Matilainen1-4/+4
2012-04-17Move mapping index + and related loop exits out of fsmInit()Panu Matilainen1-29/+21
2012-04-17Move the install-only payload reading to the install-only codePanu Matilainen1-18/+9
2012-04-17Split fsm state reset to a separate functionPanu Matilainen1-4/+13
2012-04-17Zeroing out the fsm is common to all modes, move it to fsmSetup()Panu Matilainen1-4/+1
2012-04-17Push dnl iterator init + free to the sole caller fsmMkdirs()Panu Matilainen1-11/+7
2012-04-17Inline what little is left of fsmCreate() into fsmSetup()Panu Matilainen1-26/+10