[git] GnuPG - branch, master, updated. gnupg-2.1.21-116-g84146b3

by NIIBE Yutaka cvs at cvs.gnupg.org
Thu Jul 20 09:38:58 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  84146b3ec44943f06c66a603de19094b930ad446 (commit)
      from  cc12cf386b620e658fa93a0bd40477bc16d85d98 (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 84146b3ec44943f06c66a603de19094b930ad446
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Thu Jul 20 16:37:56 2017 +0900

    common: logstream fix.
    
    * common/logging.c (set_file_fd): Don't close es_stderr.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/common/logging.c b/common/logging.c
index bc5f72b..c4eaca4 100644
--- a/common/logging.c
+++ b/common/logging.c
@@ -472,7 +472,8 @@ set_file_fd (const char *name, int fd)
   /* Close an open log stream.  */
   if (logstream)
     {
-      es_fclose (logstream);
+      if (logstream != es_stderr)
+        es_fclose (logstream);
       logstream = NULL;
     }
 

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

Summary of changes:
 common/logging.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list