From 2995ea695b60aa54c03ec47662580b3cc72d2549 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Wed, 28 Sep 2005 18:35:48 +0000 Subject: [PATCH] - Added a patch to fix bug #168743 which corrects the name of a data member from close to close_fn --- gnome-vfs-2.12.0-use-correct-close.patch | 11 +++++++++++ gnome-vfs2.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 gnome-vfs-2.12.0-use-correct-close.patch diff --git a/gnome-vfs-2.12.0-use-correct-close.patch b/gnome-vfs-2.12.0-use-correct-close.patch new file mode 100644 index 0000000..b25bfda --- /dev/null +++ b/gnome-vfs-2.12.0-use-correct-close.patch @@ -0,0 +1,11 @@ +--- gnome-vfs-2.12.0/modules/smb-method.c.use_correct_close 2005-09-28 14:29:32.000000000 -0400 ++++ gnome-vfs-2.12.0/modules/smb-method.c 2005-09-28 14:30:11.000000000 -0400 +@@ -1486,7 +1486,7 @@ + + /* Important: perform_authentication leaves and re-enters the lock! */ + while (perform_authentication (&actx) > 0) { +- r = smb_context->close (smb_context, handle->file); ++ r = smb_context->close_fn (smb_context, handle->file); + actx.res = (r >= 0) ? GNOME_VFS_OK : gnome_vfs_result_from_errno (); + } + diff --git a/gnome-vfs2.spec b/gnome-vfs2.spec index 594dd20..3134172 100644 --- a/gnome-vfs2.spec +++ b/gnome-vfs2.spec @@ -49,6 +49,7 @@ Patch201: gnome-vfs-2.8.1-console-mount-opt.patch Patch400: neon-0.24.7-gssapi.patch Patch500: gnome-vfs-2.12.0-readlink-buffer.patch +Patch501: gnome-vfs-2.12.0-use-correct-close.patch %description GNOME VFS is the GNOME virtual file system. It is the foundation of @@ -97,6 +98,7 @@ shares (SMB) to applications using GNOME VFS. %patch400 -p0 -b .neon-gssapi %patch500 -p1 -b .readlink-buffer +%patch501 -p1 -b .use-correct-close %build @@ -176,7 +178,10 @@ done %changelog * Tue Sep 27 2005 John (J5) Palmieir 2.12.0-2 -- Backported patch to fix bug #167985 +- Backported patch to fix bug #167985 which corrects the size of a + readlink buffer +- Added a patch to fix bug #168743 which corrects the name of a + data member from close to close_fn * Wed Sep 7 2005 Matthias Clasen 2.12.0-1 - Update to 2.12.0