mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Simply use gnupg_create_pipe for normal pipe creation.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
19df973df0
commit
72a1c1b872
2 changed files with 6 additions and 6 deletions
|
@ -1241,7 +1241,7 @@ do_inbound_pipe (scheme *sc, pointer args)
|
|||
FFI_PROLOG ();
|
||||
int filedes[2];
|
||||
FFI_ARGS_DONE_OR_RETURN (sc, args);
|
||||
err = gnupg_create_inbound_pipe (filedes, NULL, 0);
|
||||
err = gnupg_create_pipe (filedes);
|
||||
#define IMC(A, B) \
|
||||
_cons (sc, sc->vptr->mk_integer (sc, (unsigned long) (A)), (B), 1)
|
||||
FFI_RETURN_POINTER (sc, IMC (filedes[0],
|
||||
|
@ -1255,7 +1255,7 @@ do_outbound_pipe (scheme *sc, pointer args)
|
|||
FFI_PROLOG ();
|
||||
int filedes[2];
|
||||
FFI_ARGS_DONE_OR_RETURN (sc, args);
|
||||
err = gnupg_create_outbound_pipe (filedes, NULL, 0);
|
||||
err = gnupg_create_pipe (filedes);
|
||||
#define IMC(A, B) \
|
||||
_cons (sc, sc->vptr->mk_integer (sc, (unsigned long) (A)), (B), 1)
|
||||
FFI_RETURN_POINTER (sc, IMC (filedes[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue