Remove dead file-backup code
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 23 Aug 2012 09:00:41 +0000 (12:00 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 23 Aug 2012 09:08:12 +0000 (12:08 +0300)
commit945329b6119d0327beddff81db1a0b269629e107
tree9e92fe010208055ce180d67b417b4c3b23e5596a
parentd7c3b4aaa05f6da263b189e8111052d353aae3a2
Remove dead file-backup code

- fsmVerify() never ever returns 0 for regular files because of
  multiple hacks in how this all "works": on install, we skip stat()
  but claim disk checked and file not existing, so fsmVerify() returns
  early. Good thing it does too, as otherwise it would remove the
  file we were supposed to be saving here. The actual %config backup
  occurs in fsmCommit(): regular files are first installed with a
  temporary suffix and at "commit" time we decide whether it needs
  backing up or not (involving several other hacks...)
lib/fsm.c