You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-irc/iip/files/iip_open_mode.patch

12 lines
487 B

--- 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))