This commit is contained in:
parent
22a622e1d0
commit
660dcb3ace
@ -150,6 +150,15 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@@ -37,7 +38,7 @@ bool copy_file(string const & source, st
|
||||||
|
if (stat(source.c_str(), &buf))
|
||||||
|
return false;
|
||||||
|
|
||||||
|
- int fd = open(destination.c_str(), O_RDWR|O_CREAT);
|
||||||
|
+ int fd = open(destination.c_str(), O_RDWR|O_CREAT, 0600);
|
||||||
|
if (fd < 0)
|
||||||
|
return false;
|
||||||
|
close(fd);
|
||||||
--- libutil++/op_bfd.cpp
|
--- libutil++/op_bfd.cpp
|
||||||
+++ libutil++/op_bfd.cpp
|
+++ libutil++/op_bfd.cpp
|
||||||
@@ -166,7 +166,7 @@ op_bfd::~op_bfd()
|
@@ -166,7 +166,7 @@ op_bfd::~op_bfd()
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 26 13:08:50 CET 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix open call.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 16 16:50:06 CEST 2007 - schwab@suse.de
|
Tue Oct 16 16:50:06 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ License: GPL v2 or later
|
|||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 0.9.3
|
Version: 0.9.3
|
||||||
Release: 31
|
Release: 45
|
||||||
Summary: System-Wide Profiler for Linux Systems
|
Summary: System-Wide Profiler for Linux Systems
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
@ -82,7 +82,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
|
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
|
||||||
%doc COPYING README TODO ChangeLog
|
%doc COPYING README TODO ChangeLog
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 26 2007 - schwab@suse.de
|
||||||
|
- Fix open call.
|
||||||
* Tue Oct 16 2007 - schwab@suse.de
|
* Tue Oct 16 2007 - schwab@suse.de
|
||||||
- Fix event mapping on 970MP [#333487].
|
- Fix event mapping on 970MP [#333487].
|
||||||
* Thu Oct 11 2007 - schwab@suse.de
|
* Thu Oct 11 2007 - schwab@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user