2007-06-15 Marcus Brinkmann <marcus@g10code.de>
commite3e0eb5133c057261587fdb5e0e7b23b27e019f8
authormarcus <marcus@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Fri, 15 Jun 2007 14:46:23 +0000 (15 14:46 +0000)
committermarcus <marcus@8a63c251-dffc-0310-8ec6-d64dca2275b1>
Fri, 15 Jun 2007 14:46:23 +0000 (15 14:46 +0000)
treec8eac3487fe71cbc31ed0bcbe0f2f6bf39547d5a
parent51fa6ef9937fa025bffd2e120fd604663a4826fc
2007-06-15  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (copy_file) [HAVE_W32_SYSTEM]: New function.
(change_options_file, change_options_program) [HAVE_W32_SYSTEM]:
Copy backup file.
(gc_component_change_options) [HAVE_W32_SYSTEM]: Non-atomic replace.
(gc_process_gpgconf_conf): Rename fname to fname_arg and
fname_buffer to fname, initialize fname with fname_arg, discarding
const qualifier.

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