[packages/gvfs] Fix hang when writing to smb share. Release 2

megabajt megabajt at pld-linux.org
Mon Oct 17 20:32:34 CEST 2016


commit 7b0e4710095bcde245f2c3d7e4749d202a8b2ece
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Mon Oct 17 20:28:24 2016 +0200

    Fix hang when writing to smb share. Release 2

 gvfs.spec                         | 2 +-
 set_attributes_from_info-v1.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gvfs.spec b/gvfs.spec
index 918d8b8..34981a2 100644
--- a/gvfs.spec
+++ b/gvfs.spec
@@ -38,7 +38,7 @@ Summary:	gvfs - userspace virtual filesystem
 Summary(pl.UTF-8):	gvfs - wirtualny system plików w przestrzeni użytkownika
 Name:		gvfs
 Version:	1.30.1.1
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.30/%{name}-%{version}.tar.xz
diff --git a/set_attributes_from_info-v1.patch b/set_attributes_from_info-v1.patch
index de6fac9..043c309 100644
--- a/set_attributes_from_info-v1.patch
+++ b/set_attributes_from_info-v1.patch
@@ -470,7 +470,7 @@ diff -urN gvfs-1.14.0.new/daemon/gvfsjobsetattributesfrominfo.c gvfs-1.14.0/daem
 +  if (class->try_set_attributes_from_info == NULL)
 +    {
 +      /* TODO : try to fallback using class->try_set_attribute */
-+      return;
++      return FALSE;
 +    }
 +
 +  return class->try_set_attributes_from_info (op_job->backend, op_job, op_job->filename, op_job->info, op_job->flags);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gvfs.git/commitdiff/7b0e4710095bcde245f2c3d7e4749d202a8b2ece



More information about the pld-cvs-commit mailing list