2006-02-15 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 15 Feb 2006 13:30:08 +0000 (13:30 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 15 Feb 2006 13:30:08 +0000 (13:30 +0000)
commit9829cffc3c42d2149ed3f59490105c9495916e58
tree1876bad3c385da90477dd5f8f96464e99b49a158
parentc585b7895cd4f7c916e13a9230cca135ef48984c
2006-02-15  Marcus Brinkmann  <marcus@g10code.de>

* w32-io.c (create_writer): Make C->have_data a manually resetted
event.
(writer): Move code from end of if block to beginning, so it
is also run the first time.
(_gpgme_io_write): Move assert check after error check.  Reset
the is_empty event, and also do it eagerly.
(_gpgme_io_select): Unconditionally wait for the is_empty event.
gpgme/ChangeLog
gpgme/w32-io.c