[git] GnuPG - branch, master, updated. gnupg-2.1.20-61-g7f9032d
by NIIBE Yutaka
cvs at cvs.gnupg.org
Wed Apr 12 05:06:46 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via 7f9032d4a8ce53ce1a972bd3c1f8d20b3776756b (commit)
from 60d9a9e6b4ae3af029596d14732c02f49203326d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7f9032d4a8ce53ce1a972bd3c1f8d20b3776756b
Author: NIIBE Yutaka <gniibe at fsij.org>
Date: Wed Apr 12 12:05:53 2017 +0900
gpgscm: Fix test program.
* tests/gpgscm/t-child.c (main): Fix for setmode.
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
diff --git a/tests/gpgscm/t-child.c b/tests/gpgscm/t-child.c
index 547eb17..f4e3a04 100644
--- a/tests/gpgscm/t-child.c
+++ b/tests/gpgscm/t-child.c
@@ -33,9 +33,9 @@ main (int argc, char **argv)
char buffer[4096];
memset (buffer, 'A', sizeof buffer);
#if _WIN32
- if (! setmode (stdin, O_BINARY))
+ if (! setmode (fileno (stdin), O_BINARY))
return 23;
- if (! setmode (stdout, O_BINARY))
+ if (! setmode (fileno (stdout), O_BINARY))
return 23;
#endif
-----------------------------------------------------------------------
Summary of changes:
tests/gpgscm/t-child.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list