2009-11-09 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_new): Close server side FDs.
This commit is contained in:
parent
75f035e9d0
commit
37c1f0fe54
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -364,9 +364,9 @@ gpgsm_new (void **engine, const char *file_name, const char *home_dir)
|
||||
|
||||
/* 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)
|
||||
|
Loading…
Reference in New Issue
Block a user