[git] GnuPG - branch, master, updated. gnupg-2.1.19-45-ged5575e

by Werner Koch cvs at cvs.gnupg.org
Wed Mar 8 17:58:34 CET 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  ed5575ec550ff16b0b901a23c6aa3eb3d47b0575 (commit)
      from  5c83759364272b19ceafbef46d057f0430a12698 (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 ed5575ec550ff16b0b901a23c6aa3eb3d47b0575
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Mar 8 17:48:55 2017 +0100

    wks: Put stdout into binary mode for Windows at another place.
    
    * tools/wks-util.c (wks_send_mime): Set stdout to binary.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>

diff --git a/tools/wks-util.c b/tools/wks-util.c
index 389d4a4..d78e01d 100644
--- a/tools/wks-util.c
+++ b/tools/wks-util.c
@@ -276,7 +276,11 @@ wks_send_mime (mime_maker_t mime)
 
   /* Without any option we take a short path.  */
   if (!opt.use_sendmail && !opt.output)
-    return mime_maker_make (mime, es_stdout);
+    {
+      es_set_binary (es_stdout);
+      return mime_maker_make (mime, es_stdout);
+    }
+
 
   mail = es_fopenmem (0, "w+b");
   if (!mail)

-----------------------------------------------------------------------

Summary of changes:
 tools/wks-util.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list