This commit is contained in:
parent
22a622e1d0
commit
660dcb3ace
@ -150,6 +150,15 @@
|
||||
#include <cstdio>
|
||||
#include <cerrno>
|
||||
#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
|
||||
@@ -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
|
||||
|
||||
|
@ -17,7 +17,7 @@ License: GPL v2 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.9.3
|
||||
Release: 31
|
||||
Release: 45
|
||||
Summary: System-Wide Profiler for Linux Systems
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
@ -82,7 +82,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man1/*
|
||||
%doc doc/oprofile.html doc/internals.html doc/opreport.xsd
|
||||
%doc COPYING README TODO ChangeLog
|
||||
|
||||
%changelog
|
||||
* Mon Nov 26 2007 - schwab@suse.de
|
||||
- Fix open call.
|
||||
* Tue Oct 16 2007 - schwab@suse.de
|
||||
- Fix event mapping on 970MP [#333487].
|
||||
* Thu Oct 11 2007 - schwab@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user