* [gentoo-commits] gentoo-x86 commit in app-benchmarks/contest/files: contest-fortify_sources.patch
@ 2009-03-02 0:20 Patrick Lauer (patrick)
0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-03-02 0:20 UTC (permalink / raw
To: gentoo-commits
patrick 09/03/02 00:20:32
Added: contest-fortify_sources.patch
Log:
Fix for gcc 4.3.3 / fortify_sources. Adding ~amd64 keyword. Patch by Magnus Granberg. Closes #260451
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Revision Changes Path
1.1 app-benchmarks/contest/files/contest-fortify_sources.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/contest/files/contest-fortify_sources.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/contest/files/contest-fortify_sources.patch?rev=1.1&content-type=text/plain
Index: contest-fortify_sources.patch
===================================================================
--- bmark.c 2009-02-27 23:13:44.000000000 +0000
+++ bmark.c 2009-02-27 23:12:44.000000000 +0000
@@ -47,7 +47,7 @@
}
/* child */
- if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC))==-1){
+ if((tmpfd=open(TMP_FILE, O_RDWR|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR))==-1){
printsys("Could not open temporary file\n");
}
if(dup2(tmpfd, TMP_FD)==-1){
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-03-02 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 0:20 [gentoo-commits] gentoo-x86 commit in app-benchmarks/contest/files: contest-fortify_sources.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