SOURCES: oprofile-fortify.patch (NEW), oprofile-gcc43.patch (REMOVED) - fix...
arekm
arekm at pld-linux.org
Sun Jul 27 23:38:31 CEST 2008
Author: arekm Date: Sun Jul 27 21:38:31 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix build with fortify; gcc patch obsolete
---- Files affected:
SOURCES:
oprofile-fortify.patch (NONE -> 1.1) (NEW), oprofile-gcc43.patch (1.1 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: SOURCES/oprofile-fortify.patch
diff -u /dev/null SOURCES/oprofile-fortify.patch:1.1
--- /dev/null Sun Jul 27 23:38:32 2008
+++ SOURCES/oprofile-fortify.patch Sun Jul 27 23:38:26 2008
@@ -0,0 +1,11 @@
+--- oprofile-0.9.4/libutil++/file_manip.cpp~ 2008-04-28 23:23:25.000000000 +0200
++++ oprofile-0.9.4/libutil++/file_manip.cpp 2008-07-27 23:36:29.394140193 +0200
+@@ -44,7 +44,7 @@
+ if (!in)
+ return false;
+
+- int fd = open(destination.c_str(), O_RDWR|O_CREAT);
++ int fd = open(destination.c_str(), O_RDWR|O_CREAT, S_IRUSR|S_IWUSR);
+ if (fd < 0)
+ return false;
+ close(fd);
================================================================
More information about the pld-cvs-commit
mailing list