Dr. Werner Fink 2013-02-26 17:34:16 +00:00 committed by Git OBS Bridge
parent 9b2c146719
commit 3ded46da1f
3 changed files with 19 additions and 0 deletions

11
file-5.13-return.patch Normal file
View File

@ -0,0 +1,11 @@
--- src/cdf.c
+++ src/cdf.c 2013-02-26 17:30:21.073444930 +0000
@@ -250,8 +250,6 @@ cdf_read(const cdf_info_t *info, off_t o
if (info->i_fd == -1)
return -1;
- return -1;
-
if (pread(info->i_fd, buf, len, off) != (ssize_t)len)
return -1;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 26 17:33:36 UTC 2013 - werner@suse.de
- Add patch file-5.13-return.patch: avoid doubled return
-------------------------------------------------------------------
Fri Feb 22 10:14:36 UTC 2013 - werner@suse.de

View File

@ -61,6 +61,8 @@ Patch32: file-5.07-clicfs.dif
Patch33: file-5.12-ocloexec.patch
Patch34: file-5.12-endian.patch
Patch35: file-5.12-nitpick.dif
# PATCH-FIX-UPSTREAM: avoid doubled return
Patch36: file-5.13-return.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@ -126,6 +128,7 @@ to develop applications that require the magic "file" interface.
%patch33 -p0 -b .clexe
%patch34 -p0 -b .endian
%patch35 -p0 -b .nitpick
%patch36 -p0 -b .return
%patch -b .0
test -s src/magic.h.in || cp -p src/magic.h src/magic.h.in