- Add patch that fixes a smb bug that can cause short reads when copying
files
This commit is contained in:
parent
cf0a49a9bf
commit
76f496ffc2
14
gvfs-smb-short-read.patch
Normal file
14
gvfs-smb-short-read.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: daemon/gvfschannel.c
|
||||
===================================================================
|
||||
--- daemon/gvfschannel.c (revision 1269)
|
||||
+++ daemon/gvfschannel.c (working copy)
|
||||
@@ -343,7 +343,8 @@
|
||||
|
||||
if (command == G_VFS_DAEMON_SOCKET_PROTOCOL_REQUEST_CANCEL)
|
||||
{
|
||||
- if (arg1 == channel->priv->current_job_seq_nr)
|
||||
+ if (arg1 == channel->priv->current_job_seq_nr &&
|
||||
+ channel->priv->current_job != NULL)
|
||||
g_vfs_job_cancel (channel->priv->current_job);
|
||||
else
|
||||
{
|
@ -7,6 +7,7 @@ Group: System Environment/Libraries
|
||||
URL: http://www.gtk.org
|
||||
Source: http://download.gnome.org/sources/gvfs/0.1/gvfs-%{version}.tar.bz2
|
||||
Patch1: gvfs-double-free.patch
|
||||
Patch2: gvfs-smb-short-read.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: glib2-devel >= 2.15.5
|
||||
@ -39,6 +40,7 @@ required to develop applications using gvfs.
|
||||
%setup -q
|
||||
|
||||
%patch1 -p0 -b .double-free
|
||||
%patch2 -p0 -b .smb-short-read
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -121,6 +123,9 @@ killall -USR1 gvfsd > /dev/null || :
|
||||
%{_libdir}/libgvfscommon.so
|
||||
|
||||
%changelog
|
||||
* Thu Feb 14 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-2
|
||||
- Add patch that fixes a smb bug that can cause short reads when copying files
|
||||
|
||||
* Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.1.7-2
|
||||
- Fix double free in hal volume monitor
|
||||
- Ensure gconf module is built by adding build dep
|
||||
|
Loading…
Reference in New Issue
Block a user