[git] GnuPG - branch, master, updated. gnupg-2.1.20-44-g456c5cd

by NIIBE Yutaka cvs at cvs.gnupg.org
Tue Apr 11 04:55:17 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  456c5cdb2d72bba77e2a30c8fdb1c1cebbe9b1d2 (commit)
      from  a1446163d584cdc3003c7d5b5fc6d74737c1732d (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 456c5cdb2d72bba77e2a30c8fdb1c1cebbe9b1d2
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Apr 11 11:53:52 2017 +0900

    common: Portability fix for logging.c.
    
    * common/logging.c (S_IRGRP, S_IWGRP, S_IROTH, S_IWOTH): Avoid
    duplicated definition.
    
    Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>

diff --git a/common/logging.c b/common/logging.c
index 18c40b3..bc5f72b 100644
--- a/common/logging.c
+++ b/common/logging.c
@@ -64,10 +64,14 @@
 #include "sysutils.h"
 
 #ifdef HAVE_W32_SYSTEM
-# define S_IRGRP S_IRUSR
-# define S_IROTH S_IRUSR
-# define S_IWGRP S_IWUSR
-# define S_IWOTH S_IWUSR
+# ifndef S_IRWXG
+#  define S_IRGRP S_IRUSR
+#  define S_IWGRP S_IWUSR
+# endif
+# ifndef S_IRWXO
+#  define S_IROTH S_IRUSR
+#  define S_IWOTH S_IWUSR
+# endif
 #endif
 
 

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

Summary of changes:
 common/logging.c | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list