diff options
author | Werner Koch <[email protected]> | 2024-03-26 14:46:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-03-26 14:46:56 +0000 |
commit | f9919bcc48831fcb7aa01cd6ce9d8028a6485e99 (patch) | |
tree | dd849c0253ee5c27c3cd85a8b0b1a2ae36f42ed7 /doc | |
parent | scd: Add new OpenPGP vendor (diff) | |
download | gnupg-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.texi | 6 | ||||
-rw-r--r-- | doc/gpgsm.texi | 12 |
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 |