summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c')
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
new file mode 100644
index 000000000..650aea16c
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
@@ -0,0 +1,19 @@
+--- libgnomevfs/gnome-vfs-unix-mounts.c.orig Mon Nov 10 18:09:17 2003
++++ libgnomevfs/gnome-vfs-unix-mounts.c Mon Nov 10 18:13:26 2003
+@@ -398,16 +398,6 @@
+ mount_entry->is_read_only = TRUE;
+ }
+
+-#ifdef HAVE_SYS_SYSCTL_H
+- if (usermnt != 0) {
+- if (stat (fstab->fs_file, &sb) == 0) {
+- if (sb.st_uid != 0) {
+- mount_entry->is_user_mountable = TRUE;
+- }
+- }
+- }
+-#endif
+-
+ *return_list = g_list_prepend (*return_list, mount_entry);
+ }
+