1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Fix setting of default homedir for Wince

Accidentally used == for assignment.  Not a problem in our test
environment because we use /gnupg as home directory anyway.
This commit is contained in:
Werner Koch 2011-01-25 13:44:27 +01:00
parent 2b81258b2b
commit 05a3f56391
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,8 @@
* dirmngr.c (handle_connections): Rewrite loop to use pth-select * dirmngr.c (handle_connections): Rewrite loop to use pth-select
so to sync timeouts to the full second. so to sync timeouts to the full second.
(pth_thread_id): New. (pth_thread_id): New.
(main) [W32CE]: Fix setting of default homedir.
* ldap-wrapper.c (ldap_wrapper_thread): Sync to the full second. * ldap-wrapper.c (ldap_wrapper_thread): Sync to the full second.
Increate pth_wait timeout from 1 to 2 seconds. Increate pth_wait timeout from 1 to 2 seconds.

View File

@ -729,7 +729,7 @@ main (int argc, char **argv)
if (opt.system_daemon && !homedir_seen) if (opt.system_daemon && !homedir_seen)
{ {
#ifdef HAVE_W32CE_SYSTEM #ifdef HAVE_W32CE_SYSTEM
opt.homedir == DIRSEP_S "gnupg"; opt.homedir = DIRSEP_S "gnupg";
#else #else
opt.homedir = gnupg_sysconfdir (); opt.homedir = gnupg_sysconfdir ();
#endif #endif