myserver-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myserver-commit] [SCM] GNU MyServer branch, master, updated. 2c8092b090


From: Marek Aaron Sapota
Subject: [myserver-commit] [SCM] GNU MyServer branch, master, updated. 2c8092b09071aa763391109b87d2c20f96b5aec6
Date: Thu, 27 Aug 2009 20:17:16 +0000

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 "GNU MyServer".

The branch, master has been updated
       via  2c8092b09071aa763391109b87d2c20f96b5aec6 (commit)
      from  8879eac521034fea0a594dc60be5903a1dd737d4 (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 2c8092b09071aa763391109b87d2c20f96b5aec6
Author: Marek Aaron Sapota <address@hidden>
Date:   Thu Aug 27 22:16:25 2009 +0200

    Fixed fcntl call.

diff --git a/myserver/src/myserver.cpp b/myserver/src/myserver.cpp
index 262b395..671e612 100644
--- a/myserver/src/myserver.cpp
+++ b/myserver/src/myserver.cpp
@@ -602,7 +602,7 @@ int writePidfile (const char* filename)
       file.append ("/var/run/myserver.pid");
     }
 
-  pidfile = open (filename, O_RDWR | O_CREAT);
+  pidfile = open (filename, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
 
   if (pidfile == -1)
     return -1;

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

Summary of changes:
 myserver/src/myserver.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU MyServer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]