mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common,gpg,sm,tools: Don't remove translate_sys2libc_fd_int.
* common/sysutils.c (translate_sys2libc_fd_int): Recover. (translate_sys2libc_fdstr): Remove. (check_special_filename): Follow the change. * common/sysutils.h (translate_sys2libc_fd_int): Recover. (translate_sys2libc_fdstr): Remove. * g10/gpg.c, g10/gpgv.c, sm/gpgsm.c: Revert the changes. * tools/gpg-auth.c, tools/gpg-card.c, tools/gpg-pair-tool.c: Likewise. * tools/gpg-wks-client.c, tools/gpgconf.c: Likewise. -- GnuPG-bug-id: 6551 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
72ac77c4fa
commit
b9b0c18320
10 changed files with 52 additions and 58 deletions
|
@ -179,7 +179,7 @@ static gpgrt_opt_t opts[] = {
|
|||
ARGPARSE_s_s (oSAS, "sas", N_("|SAS|the SAS as shown by the peer")),
|
||||
ARGPARSE_s_s (oDebug, "debug", "@"),
|
||||
ARGPARSE_s_s (oOutput, "output", N_("|FILE|write the request to FILE")),
|
||||
ARGPARSE_s_s (oStatusFD, "status-fd", N_("|FD|write status info to this FD")),
|
||||
ARGPARSE_s_i (oStatusFD, "status-fd", N_("|FD|write status info to this FD")),
|
||||
|
||||
ARGPARSE_s_s (oHomedir, "homedir", "@"),
|
||||
|
||||
|
@ -390,7 +390,7 @@ main (int argc, char **argv)
|
|||
break;
|
||||
|
||||
case oStatusFD:
|
||||
set_status_fd (translate_sys2libc_fdstr (pargs.r.ret_str, 1));
|
||||
set_status_fd (translate_sys2libc_fd_int (pargs.r.ret_int, 1));
|
||||
break;
|
||||
|
||||
case oHomedir:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue