* engine-gpgsm.c (gpgsm_new): Close server side FDs.
+2009-11-09 Marcus Brinkmann <marcus@g10code.de>
+
+ * engine-gpgsm.c (gpgsm_new): Close server side FDs.
+
2009-11-06 Marcus Brinkmann <marcus@g10code.de>
* gpgme-tool.c (struct gpgme_tool): New members write_data and
/* assuan_pipe_connect in this case uses _gpgme_io_spawn which
closes the child fds for us. */
- gpgsm->input_cb.server_fd = -1;
- gpgsm->output_cb.server_fd = -1;
- gpgsm->message_cb.server_fd = -1;
+ _gpgme_io_close (gpgsm->input_cb.server_fd);
+ _gpgme_io_close (gpgsm->output_cb.server_fd);
+ _gpgme_io_close (gpgsm->message_cb.server_fd);
err = _gpgme_getenv ("DISPLAY", &dft_display);
if (err)