1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

2010-06-10 Marcus Brinkmann <marcus@g10code.de>

* sysutils.c (translate_sys2libc_fd) [HAVE_W32CE_SYSTEM]:
	Implement.
	(translate_sys2libc_fd_int) [HAVE_W32CE_SYSTEM]: Don't call
	translate_sys2libc_fd.
This commit is contained in:
Marcus Brinkmann 2010-06-10 17:55:22 +00:00
parent fd5193ac8c
commit 82aaa6ab76
2 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,10 @@
2010-06-10 Marcus Brinkmann <marcus@g10code.de>
* sysutils.c (translate_sys2libc_fd) [HAVE_W32CE_SYSTEM]:
Implement.
(translate_sys2libc_fd_int) [HAVE_W32CE_SYSTEM]: Don't call
translate_sys2libc_fd.
* estream.c (_es_get_std_stream): Fix cut&paste bug.
2010-06-09 Werner Koch <wk@g10code.com>

View File

@ -280,8 +280,7 @@ int
translate_sys2libc_fd (gnupg_fd_t fd, int for_write)
{
#if defined(HAVE_W32CE_SYSTEM)
(void)for_write;
return (int)fd;
return (int) _assuan_w32ce_finish_pipe ((int)fd, for_write);
#elif defined(HAVE_W32_SYSTEM)
int x;
@ -308,8 +307,7 @@ int
translate_sys2libc_fd_int (int fd, int for_write)
{
#if HAVE_W32CE_SYSTEM
fd = (int) _assuan_w32ce_finish_pipe (fd, for_write);
return translate_sys2libc_fd ((void*)fd, for_write);
return (int) _assuan_w32ce_finish_pipe (fd, for_write);
#elif HAVE_W32_SYSTEM
if (fd <= 2)
return fd; /* Do not do this for error, stdin, stdout, stderr. */