[svn] GnuPG - r4175 - trunk/g10
svn author wk
cvs at cvs.gnupg.org
Tue Jun 27 10:40:24 CEST 2006
Author: wk
Date: 2006-06-27 10:40:23 +0200 (Tue, 27 Jun 2006)
New Revision: 4175
Modified:
trunk/g10/ChangeLog
trunk/g10/gpg.c
Log:
do no use reopen_std under W32.
Modified: trunk/g10/ChangeLog
===================================================================
--- trunk/g10/ChangeLog 2006-06-25 14:30:52 UTC (rev 4174)
+++ trunk/g10/ChangeLog 2006-06-27 08:40:23 UTC (rev 4175)
@@ -1,3 +1,7 @@
+2006-06-27 Werner Koch <wk at g10code.com>
+
+ * gpg.c (reopen_std) [HAVE_W32_SYSTEM]: Do not use it.
+
2006-06-22 David Shaw <dshaw at jabberwocky.com>
* options.h, gpg.c (main), keygen.c (keygen_upd_std_prefs,
Modified: trunk/g10/gpg.c
===================================================================
--- trunk/g10/gpg.c 2006-06-25 14:30:52 UTC (rev 4174)
+++ trunk/g10/gpg.c 2006-06-27 08:40:23 UTC (rev 4175)
@@ -1631,7 +1631,7 @@
static void
reopen_std(void)
{
-#ifdef HAVE_STAT
+#if defined(HAVE_STAT) && !defined(HAVE_W32_SYSTEM)
struct stat statbuf;
int did_stdin=0,did_stdout=0,did_stderr=0;
FILE *complain;
@@ -1685,7 +1685,7 @@
if(did_stdin==2 || did_stdout==2 || did_stderr==2)
exit(3);
-#endif
+#endif /* HAVE_STAT && !HAVE_W32_SYSTEM */
}
int
More information about the Gnupg-commits
mailing list