mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
w32: Add macro for the registry key.
* configure.ac (GNUPG_REGISTRY_DIR) [W32]: New ac-define. * common/homedir.c (default_homedir): Use it. * common/logging.c (do_logv): Use it.
This commit is contained in:
parent
101a54add3
commit
75ba215ebd
3 changed files with 7 additions and 2 deletions
|
@ -636,7 +636,7 @@ do_logv (int level, int ignore_arg_ptr, const char *fmt, va_list arg_ptr)
|
|||
|
||||
tmp = (no_registry
|
||||
? NULL
|
||||
: read_w32_registry_string (NULL, "Software\\GNU\\"GNUPG_NAME,
|
||||
: read_w32_registry_string (NULL, GNUPG_REGISTRY_DIR,
|
||||
"DefaultLogFile"));
|
||||
log_set_file (tmp && *tmp? tmp : NULL);
|
||||
jnlib_free (tmp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue