diff options
Diffstat (limited to 'net-irc/iip/files/iip_open_mode.patch')
-rw-r--r-- | net-irc/iip/files/iip_open_mode.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-irc/iip/files/iip_open_mode.patch b/net-irc/iip/files/iip_open_mode.patch new file mode 100644 index 000000000000..6d3aec1af5ab --- /dev/null +++ b/net-irc/iip/files/iip_open_mode.patch @@ -0,0 +1,11 @@ +--- src/misc/unix.c 2002-10-29 07:56:29.000000000 +0000 ++++ src/misc/unix.c 2009-03-05 13:12:54.000000000 +0000 +@@ -100,7 +100,7 @@ + s = stringCopyMany(lockfilepath, lockfileprefix, NULL); + s = stringJoinMany(s, intToString((int) getpid()), NULL); + +- fd = open(s, O_CREAT | O_EXCL | S_IWUSR); ++ fd = open(s, O_CREAT | O_EXCL ,S_IWUSR | S_IRUSR); + if(fd == -1) { + LOGERROR(stringCopyMany("unixAddLockFile: open lock file failed (", s, ")", + _("Error opening lockfile."), NULL)) |