diff options
author | Marcus Brinkmann <[email protected]> | 2007-07-10 16:06:44 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2007-07-10 16:06:44 +0000 |
commit | 2d9c4431b883224891d24611536964b4abb492a7 (patch) | |
tree | bd69ef1d8374b48c7c487c2440dcef3aaa134630 /gpgme/priv-io.h | |
parent | Post-release fixup. (diff) | |
download | gpgme-2d9c4431b883224891d24611536964b4abb492a7.tar.gz gpgme-2d9c4431b883224891d24611536964b4abb492a7.zip |
2007-07-10 Marcus Brinkmann <[email protected]>
* priv-io.h (_gpgme_io_dup): New prototype.
* posix-io.c (_gpgme_io_dup): New function.
* w32-io.c (_gpgme_io_dup): Likewise.
* w32-glib-io.c (_gpgme_io_dup): Likewise.
* engine-gpgsm.c (start): Use _gpgme_dup() instead of dup().
Diffstat (limited to '')
-rw-r--r-- | gpgme/priv-io.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gpgme/priv-io.h b/gpgme/priv-io.h index 4c2a604a..6b422840 100644 --- a/gpgme/priv-io.h +++ b/gpgme/priv-io.h @@ -64,4 +64,7 @@ int _gpgme_io_select (struct io_select_fd_s *fds, size_t nfds, int nonblock); line that the child process expects. */ int _gpgme_io_fd2str (char *buf, int buflen, int fd); +/* Like dup(). */ +int _gpgme_io_dup (int fd); + #endif /* IO_H */ |