mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -118,7 +118,7 @@ static gpgrt_opt_t opts[] =
|
|||
{ oQuiet, "quiet", 0, N_("quiet") },
|
||||
{ oDryRun, "dry-run", 0, N_("do not make any changes") },
|
||||
{ oRuntime, "runtime", 0, N_("activate changes at runtime, if possible") },
|
||||
ARGPARSE_s_s (oStatusFD, "status-fd",
|
||||
ARGPARSE_s_i (oStatusFD, "status-fd",
|
||||
N_("|FD|write status info to this FD")),
|
||||
/* hidden options */
|
||||
{ oHomedir, "homedir", 2, "@" },
|
||||
|
@ -645,7 +645,7 @@ main (int argc, char **argv)
|
|||
case oBuilddir: gnupg_set_builddir (pargs.r.ret_str); break;
|
||||
case oNull: opt.null = 1; 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 oShowSocket: show_socket = 1; break;
|
||||
case oChUid: changeuser = pargs.r.ret_str; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue