mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed a nasty bug in scdaemon which led to a card reset if the card was
inserted during scdaemon startup and a connection was made before the ticker had a chance to run. Add some stuff for better debugging.
This commit is contained in:
parent
ae63e6da8d
commit
618afc4231
9 changed files with 93 additions and 20 deletions
|
@ -2065,7 +2065,7 @@ check_own_socket (void)
|
|||
tattr = pth_attr_new();
|
||||
pth_attr_set (tattr, PTH_ATTR_JOINABLE, 0);
|
||||
pth_attr_set (tattr, PTH_ATTR_STACK_SIZE, 256*1024);
|
||||
pth_attr_set (tattr, PTH_ATTR_NAME, "check-owb-socket");
|
||||
pth_attr_set (tattr, PTH_ATTR_NAME, "check-own-socket");
|
||||
|
||||
if (!pth_spawn (tattr, check_own_socket_thread, sockname))
|
||||
log_error ("error spawning check_own_socket_thread: %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue