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)
commitbe3db378b0d35578c3d21af9f8be812e3cf3ea06
treefbca3a3f9c45f51d39fed04aa683eeefd676d1ba
parent643ff0a1f52115e504ec3217126db40f61bfc3dc
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.
trunk/gpgme/ChangeLog
trunk/gpgme/w32-io.c