Hello community,

here is the log from the commit of package rsync for openSUSE:Factory checked 
in at 2019-04-18 13:54:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rsync (Old)
 and      /work/SRC/openSUSE:Factory/.rsync.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rsync"

Thu Apr 18 13:54:44 2019 rev:69 rq:694590 version:3.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/rsync/rsync.changes      2018-07-18 
22:35:28.058634547 +0200
+++ /work/SRC/openSUSE:Factory/.rsync.new.5536/rsync.changes    2019-04-18 
13:54:47.903923632 +0200
@@ -1,0 +2,10 @@
+Mon Apr 15 16:49:02 UTC 2019 - Pedro Monreal Gonzalez 
<[email protected]>
+
+- Fixed bug numbers in spec file
+
+-------------------------------------------------------------------
+Sat Apr 13 09:49:56 UTC 2019 - Matwey V. Kornilov <[email protected]>
+
+- Add patch: rsync-fix-prealloc-to-keep-file-size-0-when-possible.patch 
(boo#1108562)
+
+-------------------------------------------------------------------

New:
----
  rsync-fix-prealloc-to-keep-file-size-0-when-possible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rsync.spec ++++++
--- /var/tmp/diff_new_pack.CDAt7e/_old  2019-04-18 13:54:49.211924056 +0200
+++ /var/tmp/diff_new_pack.CDAt7e/_new  2019-04-18 13:54:49.215924058 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rsync
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -40,9 +40,11 @@
 #PATCH-FIX-SUSE boo#922710 slp
 Patch1:         rsync-add_back_use_slp_directive.patch
 Patch2:         rsync-both-compressions.patch
-#PATCH-FIX-UPSTREAM bcs#1062063 rsync doesn't stop on errors
+#PATCH-FIX-UPSTREAM bsc#1062063 rsync doesn't stop on errors
 Patch4:         rsync-send_error_to_sender.patch
 Patch5:         rsync-avoid-uploading-after-error.patch
+#PATCH-FIX-UPSTREAM bsc#1108562 file contents cause rsync to fail
+Patch6:         rsync-fix-prealloc-to-keep-file-size-0-when-possible.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libacl-devel
@@ -77,6 +79,7 @@
 %patch2 -p1
 %patch4
 %patch5
+%patch6 -p1
 
 %build
 autoreconf -fiv


++++++ rsync-fix-prealloc-to-keep-file-size-0-when-possible.patch ++++++
>From c2da3809f714d936dec1cab6d5bf8b724b9cd113 Mon Sep 17 00:00:00 2001
From: Wayne Davison <[email protected]>
Date: Tue, 15 Jan 2019 08:51:08 -0800
Subject: [PATCH] Fix --prealloc to keep file-size 0 when possible.

---
 syscall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syscall.c b/syscall.c
index dbd556b8..0d1221b3 100644
--- a/syscall.c
+++ b/syscall.c
@@ -462,7 +462,7 @@ int do_utime(const char *fname, time_t modtime, 
UNUSED(uint32 mod_nsec))
 
 OFF_T do_fallocate(int fd, OFF_T offset, OFF_T length)
 {
-       int opts = inplace || preallocate_files ? 0 : DO_FALLOC_OPTIONS;
+       int opts = inplace || preallocate_files ? DO_FALLOC_OPTIONS : 0;
        int ret;
        RETURN_ERROR_IF(dry_run, 0);
        RETURN_ERROR_IF_RO_OR_LO;
-- 
2.16.4



Reply via email to