summaryrefslogtreecommitdiffstats
path: root/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c')
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
deleted file mode 100644
index 21912f46e..000000000
--- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- libgnomevfs/gnome-vfs-unix-mounts.c.orig Mon Mar 8 22:29:57 2004
-+++ libgnomevfs/gnome-vfs-unix-mounts.c Mon Mar 8 22:33:35 2004
-@@ -857,8 +857,9 @@
-
- #ifdef HAVE_SYS_SYSCTL_H
- if (usermnt != 0) {
-+ uid_t uid = getuid ();
- if (stat (fstab->fs_file, &sb) == 0) {
-- if (sb.st_uid != 0) {
-+ if (uid == 0 || sb.st_uid == uid) {
- mount_entry->is_user_mountable = TRUE;
- }
- }