2010-06-10 Marcus Brinkmann <marcus@g10code.de>
* engine-gpgsm.c (gpgsm_new): Translate returned achild_fds back to child_fds.
This commit is contained in:
parent
dbb1112da1
commit
99c855353f
@ -1,5 +1,8 @@
|
||||
2010-06-10 Marcus Brinkmann <marcus@g10code.de>
|
||||
|
||||
* engine-gpgsm.c (gpgsm_new): Translate returned achild_fds back
|
||||
to child_fds.
|
||||
|
||||
* debug.h (TRACE_SUC6): New macro.
|
||||
* w32-io.c (MAX_SLAFD): New macro.
|
||||
(fd_table): New static variable.
|
||||
|
@ -351,6 +351,10 @@ gpgsm_new (void **engine, const char *file_name, const char *home_dir)
|
||||
err = assuan_pipe_connect
|
||||
(gpgsm->assuan_ctx, file_name ? file_name : _gpgme_get_gpgsm_path (),
|
||||
argv, achild_fds, NULL, NULL, 0);
|
||||
|
||||
/* For now... */
|
||||
for (i = 0; i < 4; i++)
|
||||
child_fds[i] = (int) achild_fds[i];
|
||||
}
|
||||
|
||||
/* On Windows, handles are inserted in the spawned process with
|
||||
|
Loading…
Reference in New Issue
Block a user