Fix handle closing in windowsprocessdevice

Authored by aheinecke on Mar 15 2019, 9:16 AM.

Description

Fix handle closing in windowsprocessdevice

INVALID_HANDLE_VALUE is not null so better to check
for this, too.
This also fixes CloseHandle calls on the wrong handles.

Details

Committed
aheineckeMar 15 2019, 9:33 AM
Parents
rKLEOPATRA0a985a08297f: Use windows pipe io device for gpgtar
Branches
Unknown
Tags
Unknown
Tasks
T4332: Gpg4win, data corruption