Move open + close of files during install to separate functions
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Nov 2008 11:05:41 +0000 (13:05 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 14 Nov 2008 14:22:51 +0000 (16:22 +0200)
commitee59836299c5e1c293b64a826552cbfba5dcec12
tree8509547c6b1f655d4d39cfb291b55ee8d18ad16b
parent0b0fe33d3c086e9bc3d7caa351a8304a64f724f1
Move open + close of files during install to separate functions
- internal rpmteOpen() and rpmteClose() functions replacing copy-paste
  slop between rpmtsRun() and runTransScripts()
- eliminates bunch of rpmte privacy violations
- rpmtsRun() doesn't need the file descriptor for anything, might as well
  keep it hidden
lib/rpmte.c
lib/rpmte_internal.h
lib/transaction.c