Page MenuHome GnuPG

907_0140-agent-Avoid-scheduled-checks-on-socket-when-inotify-.patch
Needs ReviewPublic

Authored by dkg on Nov 15 2016, 12:59 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Tue, 1 Nov 2016 00:57:44 -0400
Subject: agent: Avoid scheduled checks on socket when inotify is working.

  • agent/gpg-agent.c (handle_connections): When inotify is working, we

do not need to schedule a timer to evaluate whether we control our own
socket or not.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>

agent/gpg-agent.c | 2 ++
1 file changed, 2 insertions(+)

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped