mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g10/
2008-06-25 Marcus Brinkmann <marcus@g10code.de> * gpg.c (enum cmd_and_opt_values): Remove option oEnableW32HandleTranslation. (opts): Remove option --enable-w32-handle-translation. (main): Remove variable w32_handle_translation. common/ 2008-06-25 Marcus Brinkmann <marcus@g10code.de> Revert last three changes related to handle translation. * sysutils.c: (FD_TRANSLATE_MAX, fd_translate, fd_translate_len) (translate_table_init, translate_table_lookup): Removed. * iobuf.c (check_special_filename): Do not use translate_table_lookup. * sysutils.h (translate_table_init, translate_table_lookup): Remove prototypes.
This commit is contained in:
parent
4da2ce2d4d
commit
b60bfbe25c
6 changed files with 19 additions and 153 deletions
|
@ -43,16 +43,6 @@ int enable_core_dumps (void);
|
|||
const unsigned char *get_session_marker (size_t *rlen);
|
||||
/*int check_permissions (const char *path,int extension,int checkonly);*/
|
||||
void gnupg_sleep (unsigned int seconds);
|
||||
|
||||
/* Initialize the fd translation table. This reads one line from
|
||||
stdin which is expected to be in the format "FROM TO [...]" where
|
||||
each "FROM TO" pair are two handle numbers. Handle number FROM on
|
||||
the command line is translated to handle number TO. */
|
||||
void translate_table_init (void);
|
||||
|
||||
/* Translate a handle number. */
|
||||
int translate_table_lookup (int fd);
|
||||
|
||||
int translate_sys2libc_fd (gnupg_fd_t fd, int for_write);
|
||||
int translate_sys2libc_fd_int (int fd, int for_write);
|
||||
FILE *gnupg_tmpfile (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue