aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpg.texi
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-26 14:46:56 +0000
committerWerner Koch <[email protected]>2024-03-26 14:46:56 +0000
commitf9919bcc48831fcb7aa01cd6ce9d8028a6485e99 (patch)
treedd849c0253ee5c27c3cd85a8b0b1a2ae36f42ed7 /doc/gpg.texi
parentscd: Add new OpenPGP vendor (diff)
downloadgnupg-f9919bcc48831fcb7aa01cd6ce9d8028a6485e99.tar.gz
gnupg-f9919bcc48831fcb7aa01cd6ce9d8028a6485e99.zip
gpg,gpgsm: New option --disable-fd-translation.
* common/sysutils.c (no_translate_sys2libc_fd) [W32]: New global. (disable_translate_sys2libc_fd): New. (translate_sys2libc_fd): Make static and cobuild only for Windows. (translate_sys2libc_fd_int): Use no_translate_sys2libc_fd flag. * g10/gpg.c, sm/gpgsm.c (oDisableFdTranslation): New const. (opts): Add option "disable-fd-translation". (main): Set option. -- GnuPG-bug-id: 7060
Diffstat (limited to 'doc/gpg.texi')
-rw-r--r--doc/gpg.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi
index e3a6109c9..2ddc16342 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -3856,6 +3856,12 @@ This option enables a mode in which filenames of the form
@file{-&n}, where n is a non-negative decimal number,
refer to the file descriptor n and not to a file with that name.
+@item --disable-fd-translation
+@opindex disable-fd-translation
+This option changes the behaviour for all following options to expect
+libc file descriptors instead of HANDLE values on the command line.
+The option has an effect only on Windows.
+
@item --no-expensive-trust-checks
@opindex no-expensive-trust-checks
Experimental use only.