2007-06-18 Marcus Brinkmann <marcus@g10code.de>
commit5b476862719779b57654a1dc6c9aad6c11975ebb
authormarcus <marcus@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Mon, 18 Jun 2007 20:07:33 +0000 (18 20:07 +0000)
committermarcus <marcus@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Mon, 18 Jun 2007 20:07:33 +0000 (18 20:07 +0000)
treea42172b6b7087737a59a36ef05e440cb4a202faa
parent9ba2b7300044329e5fd2cb49ac22081049a1a059
2007-06-18  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (retrieve_options_from_file): Close LIST_FILE.
(copy_file): In error case, save/restore errno.  Close SRC and DST.
(gc_component_change_options): Catch error from unlink().  Remove
target backup file before rename().

git-svn-id: svn://cvs.gnupg.org/gnupg/trunk@4519 8a63c251-dffc-0310-8ec6-d64dca2275b1
tools/ChangeLog
tools/gpgconf-comp.c