mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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
This commit is contained in:
parent
cec1fde1bc
commit
f9919bcc48
6 changed files with 50 additions and 9 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue