From b60bfbe25cd87e5b3928ecd5ce618a3bbe3a7f3b Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 25 Jun 2008 17:44:26 +0000 Subject: g10/ 2008-06-25 Marcus Brinkmann * 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 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. --- common/sysutils.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'common/sysutils.h') diff --git a/common/sysutils.h b/common/sysutils.h index 9e0a323dd..de1e3bb1e 100644 --- a/common/sysutils.h +++ b/common/sysutils.h @@ -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); -- cgit v1.2.3