Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 854337 Details for
Bug 1011835
An error is displayed when renaming directory or file on WebDAV location [gvfs webdav backend]
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
gvfs-re-root-mount_prefix
gvfs-re-root-mount_prefix.patch (text/plain), 1.79 KB, created by
Jarek Polok
on 2014-01-23 12:11:40 UTC
(
hide
)
Description:
gvfs-re-root-mount_prefix
Filename:
MIME Type:
Creator:
Jarek Polok
Created:
2014-01-23 12:11:40 UTC
Size:
1.79 KB
patch
obsolete
>t 66bc0189d836130768df41900f3cf29723bbd870 >Author: Christian Kellner <gicmo gnome org> >Date: Thu May 12 10:12:54 2011 +0200 > > New function to re-root a given path with a mount_prefix > > g_mount_info_apply_prefix will take an given path and prepend the > mount_prefix of the given mount_info, if there is any. It will free the old > string in this case. Otherwise it is a NOOP. > > common/gmounttracker.c | 20 ++++++++++++++++++++ > common/gmounttracker.h | 2 ++ > 2 files changed, 22 insertions(+), 0 deletions(-) >--- >diff --git a/common/gmounttracker.c b/common/gmounttracker.c >index 9c7af7b..519cd47 100644 >--- a/common/gmounttracker.c >+++ b/common/gmounttracker.c >@@ -153,6 +153,26 @@ g_mount_info_resolve_path (GMountInfo *info, > return new_path; > } > >+void >+g_mount_info_apply_prefix (GMountInfo *info, >+ char **path) >+{ >+ GMountSpec *spec; >+ >+ spec = info->mount_spec; >+ >+ if (spec->mount_prefix != NULL && >+ spec->mount_prefix[0] != 0) >+ { >+ char *path_with_prefix; >+ path_with_prefix = g_build_path ("/", spec->mount_prefix, >+ *path, NULL); >+ g_free (*path); >+ *path = path_with_prefix; >+ } >+ >+} >+ > GMountInfo * > g_mount_info_from_dbus (DBusMessageIter *iter) > { >diff --git a/common/gmounttracker.h b/common/gmounttracker.h >index 4892baa..4723663 100644 >--- a/common/gmounttracker.h >+++ b/common/gmounttracker.h >@@ -73,6 +73,8 @@ GMountInfo *g_mount_info_dup (GMountInfo *info); > void g_mount_info_unref (GMountInfo *info); > const char *g_mount_info_resolve_path (GMountInfo *info, > const char *path); >+void g_mount_info_apply_prefix (GMountInfo *info, >+ char **path); > > GMountInfo * g_mount_info_from_dbus (DBusMessageIter *iter); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1011835
:
854335
|
854336
| 854337 |
854338
|
854339