Home GnuPG
Diffusion GnuPG c44f0bc91e7c

agent,kbx: Fix reliable_homedir_inotify (1/2).

Description

agent,kbx: Fix reliable_homedir_inotify (1/2).

* agent/gpg-agent.c (reliable_homedir_inotify): Remove the global.
(handle_connections): Add reliable_homedir_inotify as an arg.
Don't call gnupg_inotify_watch_delete_self when it's not reliable.
(check_others_thread): No check of reliable_homedir_inotify repeatedly
in the loop.
* kbx/keyboxd.c (reliable_homedir_inotify): Remove the global.
(handle_connections): Add reliable_homedir_inotify as an arg.
(handle_tick): No check of reliable_homedir_inotify in the loop.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 26 2023, 3:47 AM
Parents
rG2764ee309a2e: Merge branch 'STABLE-BRANCH-2-4'
Branches
Unknown
Tags
Unknown