diff options
author | NIIBE Yutaka <[email protected]> | 2023-06-28 04:59:52 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-06-28 04:59:52 +0000 |
commit | cacb01899224a4b5370b96f16f1844a1ef510b3f (patch) | |
tree | cb3d39786a123955d9aa38bb1ff0470943b9503e /common/sysutils.h | |
parent | scd:piv: Fix authentication with Administration Key. (diff) | |
download | gnupg-cacb01899224a4b5370b96f16f1844a1ef510b3f.tar.gz gnupg-cacb01899224a4b5370b96f16f1844a1ef510b3f.zip |
tools:gpgtar: Clean up the use of --status-fd.
* common/sysutils.c (gnupg_parse_fdstr): Rename from
gnupg_sys2libc_fdstr, as there is no translation any more.
* common/sysutils.h (gnupg_parse_fdstr): Rename from
gnupg_sys2libc_fdstr.
* tools/gpgtar.c (main): Use gnupg_parse_fdstr, in cleaner way.
--
GnuPG-bug-id: 6562
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/sysutils.h')
-rw-r--r-- | common/sysutils.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/sysutils.h b/common/sysutils.h index 95cbc0bec..7fd01bae1 100644 --- a/common/sysutils.h +++ b/common/sysutils.h @@ -74,8 +74,7 @@ void gnupg_sleep (unsigned int seconds); void gnupg_usleep (unsigned int usecs); int translate_sys2libc_fd (gnupg_fd_t fd, int for_write); int translate_sys2libc_fd_int (int fd, int for_write); -gpg_error_t gnupg_sys2libc_fdstr (const char *fdstr, int for_write, - gnupg_fd_t *r_hd, int *r_fd); +gpg_error_t gnupg_parse_fdstr (const char *fdstr, es_syshd_t *r_syshd); int check_special_filename (const char *fname, int for_write, int notranslate); FILE *gnupg_tmpfile (void); void gnupg_reopen_std (const char *pgmname); |