mirror of
git://git.gnupg.org/gnupg.git
synced 2024-11-10 21:38:50 +01:00
do no use reopen_std under W32.
This commit is contained in:
parent
826ffd8694
commit
e0af7eb379
@ -1,3 +1,7 @@
|
|||||||
|
2006-06-27 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
|
* gpg.c (reopen_std) [HAVE_W32_SYSTEM]: Do not use it.
|
||||||
|
|
||||||
2006-06-22 David Shaw <dshaw@jabberwocky.com>
|
2006-06-22 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,
|
* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,
|
||||||
|
@ -1631,7 +1631,7 @@ parse_trust_model(const char *model)
|
|||||||
static void
|
static void
|
||||||
reopen_std(void)
|
reopen_std(void)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_STAT
|
#if defined(HAVE_STAT) && !defined(HAVE_W32_SYSTEM)
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
int did_stdin=0,did_stdout=0,did_stderr=0;
|
int did_stdin=0,did_stdout=0,did_stderr=0;
|
||||||
FILE *complain;
|
FILE *complain;
|
||||||
@ -1685,7 +1685,7 @@ reopen_std(void)
|
|||||||
|
|
||||||
if(did_stdin==2 || did_stdout==2 || did_stderr==2)
|
if(did_stdin==2 || did_stdout==2 || did_stderr==2)
|
||||||
exit(3);
|
exit(3);
|
||||||
#endif
|
#endif /* HAVE_STAT && !HAVE_W32_SYSTEM */
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
Reference in New Issue
Block a user