Module Name:    xsrc
Committed By:   mrg
Date:           Fri Jul 11 18:22:49 UTC 2014

Modified Files:
        xsrc/external/mit/xauth/dist: process.c

Log Message:
merge xauth 1.0.9.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 xsrc/external/mit/xauth/dist/process.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xauth/dist/process.c
diff -u xsrc/external/mit/xauth/dist/process.c:1.4 xsrc/external/mit/xauth/dist/process.c:1.5
--- xsrc/external/mit/xauth/dist/process.c:1.4	Mon Mar 17 09:20:46 2014
+++ xsrc/external/mit/xauth/dist/process.c	Fri Jul 11 18:22:49 2014
@@ -636,8 +636,9 @@ static const char *xauth_filename = NULL
 static volatile Bool dieing = False;
 
 
-/* poor man's puts(), for under signal handlers */
-#define WRITES(fd, S) (void)write((fd), (S), strlen((S)))
+/* poor man's puts(), for under signal handlers, 
+   extended to ignore warn_unused_result */
+#define WRITES(fd, S) {if(write((fd), (S), strlen((S))));}
 
 /* ARGSUSED */
 _X_NORETURN

Reply via email to