Page MenuHome GnuPG

908_0141-dirmngr-More-win32-system-daemon-cleanup.patch
Needs ReviewPublic

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

Details

Reviewers
None
Summary

From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Fri, 28 Oct 2016 23:54:43 -0400
Subject: dirmngr: More win32 system daemon cleanup.

  • dirmngr/dirmngr.c (handle_tick): remove win32 tests for

shutdown_pending, no longer needed.

In d83ba4897bf217d1045c58d1b99e52bd31c58812, we removed the
Windows-specific system daemon features, where shutdown_pending was
set from w32_service_control(). shutdown_pending is now never
assigned outside of handle_signal() or within an inotify test, neither
of which are available on win32.

As a result, this stanza in handle_tick() should be dead code, and can
be removed to keep things simple.

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

dirmngr/dirmngr.c | 14 --------------
1 file changed, 14 deletions(-)

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped