public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-irc/iip/files: iip_open_mode.patch
@ 2009-04-03 15:44 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-04-03 15:44 UTC (permalink / raw
  To: gentoo-commits

patrick     09/04/03 15:44:29

  Added:                iip_open_mode.patch
  Log:
  GCC 4.3 compile fix from Magnus Granberg, fixes #260983. Adding ~amd64 keyword.
  (Portage version: 2.2_rc28/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  net-irc/iip/files/iip_open_mode.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/iip/files/iip_open_mode.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/iip/files/iip_open_mode.patch?rev=1.1&content-type=text/plain

Index: iip_open_mode.patch
===================================================================
--- 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))






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-03 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-03 15:44 [gentoo-commits] gentoo-x86 commit in net-irc/iip/files: iip_open_mode.patch Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox