mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Change OpenPGP test framework to run under the control of the agent.
This commit is contained in:
parent
bbe388b5db
commit
c8eb7bd839
8 changed files with 42 additions and 17 deletions
|
@ -1,5 +1,7 @@
|
|||
2010-06-07 Werner Koch <wk@g10code.com>
|
||||
|
||||
* sysutils.c [W32CE]: Finish pipe creation.
|
||||
|
||||
* estream.c (es_fname_get, es_fname_set): New.
|
||||
(fname_set_internal): New.
|
||||
(struct estream_internal): Add fields printable_fname and
|
||||
|
|
|
@ -299,11 +299,16 @@ translate_sys2libc_fd (gnupg_fd_t fd, int for_write)
|
|||
}
|
||||
|
||||
/* This is the same as translate_sys2libc_fd but takes an integer
|
||||
which is assumed to be such an system handle. */
|
||||
which is assumed to be such an system handle. On WindowsCE the
|
||||
passed FD is a rendezvous ID and the function finishes the pipe
|
||||
creation. */
|
||||
int
|
||||
translate_sys2libc_fd_int (int fd, int for_write)
|
||||
{
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
#if HAVE_W32CE_SYSTEM
|
||||
fd = _assuan_w32ce_finish_pipe fd, for_write);
|
||||
return translate_sys2libc_fd ((void*)fd, for_write);
|
||||
#elif HAVE_W32_SYSTEM
|
||||
if (fd <= 2)
|
||||
return fd; /* Do not do this for error, stdin, stdout, stderr. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue