1
0
forked from pool/xfsdump
OBS User unknown 2007-10-23 23:46:12 +00:00 committed by Git OBS Bridge
parent cf761e007c
commit da6ed874e2
5 changed files with 17 additions and 37 deletions

View File

@ -1,26 +0,0 @@
Index: invutil/invidx.c
===================================================================
RCS file: /cvs/xfs-cmds/xfsdump/invutil/invidx.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -u -r1.7 -r1.8
--- invutil/invidx.c 24 May 2006 06:08:55 -0000 1.7
+++ invutil/invidx.c 24 Aug 2007 19:36:15 -0000 1.8
@@ -275,7 +275,7 @@
return 0;
}
- new_fd = open(dst_idxfile, O_CREAT|O_RDWR);
+ new_fd = open(dst_idxfile, O_CREAT|O_RDWR, S_IRUSR|S_IWUSR);
if(new_fd < 0) {
put_error("Error: unable to open inventory index file");
return 0;
@@ -616,7 +616,7 @@
invt_sescounter_t sescnt;
/* create the new storage object */
- if (( fd = open( fname, O_RDWR | O_EXCL | O_CREAT )) < 0 ) {
+ if (( fd = open( fname, O_RDWR | O_EXCL | O_CREAT, S_IRUSR|S_IWUSR )) < 0 ) {
return -1;
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 23 15:02:21 CEST 2007 - mmarek@suse.cz
- updated to 2.2.46
* includes last fix
-------------------------------------------------------------------
Fri Aug 31 14:21:14 CEST 2007 - mmarek@suse.cz

View File

@ -1,5 +1,5 @@
#
# spec file for package xfsdump (Version 2.2.45)
# spec file for package xfsdump (Version 2.2.46)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@ -12,16 +12,15 @@
Name: xfsdump
BuildRequires: e2fsprogs-devel libattr-devel ncurses-devel xfsprogs-devel
Version: 2.2.45
Release: 17
Autoreqprov: on
Version: 2.2.46
Release: 1
AutoReqProv: on
Group: System/Filesystems
License: GPL v2 or later
URL: http://oss.sgi.com/projects/xfs/
Url: http://oss.sgi.com/projects/xfs/
Summary: Administrative Utilities for the XFS File System
Source0: xfsdump_%version-1.tar.bz2
Patch0: xfsdump-docdir.diff
Patch1: xfsdump-fix-open-calls.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -50,7 +49,6 @@ Authors:
%prep
%setup -q
%patch0
%patch1
%build
%{suse_update_config -f}
@ -79,8 +77,10 @@ rm -rf $RPM_BUILD_ROOT
/usr/sbin/*
%doc %_defaultdocdir/%name
/usr/share/man/man8/*
%changelog
* Tue Oct 23 2007 - mmarek@suse.cz
- updated to 2.2.46
* includes last fix
* Fri Aug 31 2007 - mmarek@suse.cz
- fixed missing mode arguments to open()
* Fri Jun 22 2007 - mmarek@suse.cz

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d197be7e46b1debffdba5b869bc4837b5acba4398ed8fb72b5df1030b55fcce
size 470712

3
xfsdump_2.2.46-1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:81cd6feab1a9f2c790655c1ec23c79cf75ee835327bf4cc8ed04790ecdc14125
size 470492