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:
parent
fd5193ac8c
commit
82aaa6ab76
@ -1,5 +1,10 @@
|
|||||||
2010-06-10 Marcus Brinkmann <marcus@g10code.de>
|
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.
|
* estream.c (_es_get_std_stream): Fix cut&paste bug.
|
||||||
|
|
||||||
2010-06-09 Werner Koch <wk@g10code.com>
|
2010-06-09 Werner Koch <wk@g10code.com>
|
||||||
|
@ -280,8 +280,7 @@ int
|
|||||||
translate_sys2libc_fd (gnupg_fd_t fd, int for_write)
|
translate_sys2libc_fd (gnupg_fd_t fd, int for_write)
|
||||||
{
|
{
|
||||||
#if defined(HAVE_W32CE_SYSTEM)
|
#if defined(HAVE_W32CE_SYSTEM)
|
||||||
(void)for_write;
|
return (int) _assuan_w32ce_finish_pipe ((int)fd, for_write);
|
||||||
return (int)fd;
|
|
||||||
#elif defined(HAVE_W32_SYSTEM)
|
#elif defined(HAVE_W32_SYSTEM)
|
||||||
int x;
|
int x;
|
||||||
|
|
||||||
@ -308,8 +307,7 @@ int
|
|||||||
translate_sys2libc_fd_int (int fd, int for_write)
|
translate_sys2libc_fd_int (int fd, int for_write)
|
||||||
{
|
{
|
||||||
#if HAVE_W32CE_SYSTEM
|
#if HAVE_W32CE_SYSTEM
|
||||||
fd = (int) _assuan_w32ce_finish_pipe (fd, for_write);
|
return (int) _assuan_w32ce_finish_pipe (fd, for_write);
|
||||||
return translate_sys2libc_fd ((void*)fd, for_write);
|
|
||||||
#elif HAVE_W32_SYSTEM
|
#elif HAVE_W32_SYSTEM
|
||||||
if (fd <= 2)
|
if (fd <= 2)
|
||||||
return fd; /* Do not do this for error, stdin, stdout, stderr. */
|
return fd; /* Do not do this for error, stdin, stdout, stderr. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user