summaryrefslogtreecommitdiff
path: root/sysutils/gnome-vfs/patches/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-vfs/patches/patch-au')
-rw-r--r--sysutils/gnome-vfs/patches/patch-au19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/gnome-vfs/patches/patch-au b/sysutils/gnome-vfs/patches/patch-au
new file mode 100644
index 00000000000..6799bbec049
--- /dev/null
+++ b/sysutils/gnome-vfs/patches/patch-au
@@ -0,0 +1,19 @@
+$NetBSD: patch-au,v 1.1 2007/09/19 22:22:41 wiz Exp $
+
+--- modules/sftp-method.c.orig 2005-01-16 15:50:32.000000000 +0100
++++ modules/sftp-method.c
+@@ -2820,11 +2820,12 @@ do_rename (GnomeVFSMethod *method,
+ buffer_send (&msg, conn->out_fd);
+ buffer_free (&msg);
+
++ res = iobuf_read_result (conn->in_fd, id);
++
++ bail:
+ g_free (old_path);
+ g_free (new_path);
+
+- res = iobuf_read_result (conn->in_fd, id);
+-
+ sftp_connection_unref (conn);
+ sftp_connection_unlock (conn);
+