diff options
author | Justus Winter <[email protected]> | 2017-01-23 14:08:23 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-01-23 14:08:23 +0000 |
commit | 6f02133bb07726afa6950e5b4685e75621276e60 (patch) | |
tree | 83433df52821ea93dad71effa35c58f02c25233d /tests | |
parent | tests: Add safeguards against nullptr deref (diff) | |
download | gpgme-6f02133bb07726afa6950e5b4685e75621276e60.tar.gz gpgme-6f02133bb07726afa6950e5b4685e75621276e60.zip |
w32: Fix closing file descriptors.
* src/w32-io.c (writer): Only stop once the buffer is drained.
(destroy_writer): Wait for the writers buffer to be drained. This
aligns '_gpgme_io_close's behavior with close(2) and fclose(3).
GnuPG-bug-id: 2881
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions