Home GnuPG
Diffusion GPGME 6f02133bb077

w32: Fix closing file descriptors.
6f02133bb077Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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: T2881
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jan 23 2017, 3:08 PM
Parents
rMca69df8c8d3f: tests: Add safeguards against nullptr deref
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rM6f02133bb077: w32: Fix closing file descriptors. (authored by Justus Winter <justus@g10code.com>).Jan 23 2017, 3:08 PM
justus mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:11 PM
justus mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:34 PM