mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Translate all file descriptors received from assuan.
This commit is contained in:
parent
b188c246ca
commit
5f97dd2c44
9 changed files with 86 additions and 37 deletions
|
@ -1741,7 +1741,7 @@ check_special_filename (const char *fname, int for_write)
|
|||
for (i=0; isdigit (fname[i]); i++ )
|
||||
;
|
||||
if ( !fname[i] )
|
||||
return translate_sys2libc_fd (atoi (fname), for_write);
|
||||
return translate_sys2libc_fd_int (atoi (fname), for_write);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue