2008-06-18 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 18 Jun 2008 14:46:05 +0000 (14:46 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 18 Jun 2008 14:46:05 +0000 (14:46 +0000)
commit02bc6e886c5248a5019298f72c26703f548a4533
treee2be552a6013faeb591eba46f6ce9150631cbe01
parentaa68a60301e719be3df7e08250bbc9152abd511a
2008-06-18  Marcus Brinkmann  <marcus@g10code.de>

* sysutils.h (translate_table_init, translate_table_lookup): New
prototypes.
* sysutils.c: Include <ctype.h>.
(FD_TRANSLATE_MAX): New macro.
(fd_translate, fd_translate_len): New static variables.
(translate_table_init, translate_table_lookup): New functions.
(translate_sys2libc_fd_int): Translate file descriptor.
* iobuf.c (check_special_filename): Translate handle values from
special filenames.
common/ChangeLog
common/iobuf.c
common/sysutils.c
common/sysutils.h