<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39902 >

This transaction appears to have no content
open() with O_CREAT in its second argument needs to have a third
argument specifying the mode.  Please find the attached patch to correct
this.

Later,
/B
-- 
Brian Pepple <[EMAIL PROTECTED]>

http://fedoraproject.org/wiki/BrianPepple
gpg --keyserver pgp.mit.edu --recv-keys 810CC15E
BD5E 6F9E 8688 E668 8F5B  CBDE 326A E936 810C C15E
Index: client/connectdlg_common.c
===================================================================
--- client/connectdlg_common.c	(revision 14044)
+++ client/connectdlg_common.c	(working copy)
@@ -245,7 +245,7 @@
 
     /* include the port to avoid duplication */
     if (logfile) {
-      fd = open(logfile, O_WRONLY | O_CREAT);
+      fd = open(logfile, O_WRONLY | O_CREAT, 0644);
 
       if (fd != 1) {
         dup2(fd, 1);

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to