aboutsummaryrefslogtreecommitdiffstats
path: root/doc
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
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')
-rw-r--r--doc/gpg.texi6
-rw-r--r--doc/gpgsm.texi12
2 files changed, 18 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.
diff --git a/doc/gpgsm.texi b/doc/gpgsm.texi
index 71cfa1e8a..1316318a6 100644
--- a/doc/gpgsm.texi
+++ b/doc/gpgsm.texi
@@ -770,6 +770,18 @@ list of flag names and are OR-ed together. The special flag "none"
clears the list and allows one to start over with an empty list. To get a
list of available flags the sole word "help" can be used.
+@item --enable-special-filenames
+@opindex enable-special-filenames
+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 --debug-level @var{level}
@opindex debug-level
Select the debug level for investigating problems. @var{level} may be