diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-04-06 04:54:18 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-04-06 04:54:18 +0800 |
commit | 638b97f5a5d741cee963b662efa43f26ddf9d04c (patch) | |
tree | c4dfb23a4708ce0260562560cd232bdef6bb6711 /devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-unix-mounts.c | |
parent | 9062210343a87551bd420e59ca2d4e52f1365fe3 (diff) | |
download | marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.gz marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.bz2 marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.lz marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.xz marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.tar.zst marcuscom-ports-638b97f5a5d741cee963b662efa43f26ddf9d04c.zip |
Garbage collection GNOME 2.5. Next stop, GNOME 2.7.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2260 df743ca5-7f9a-e211-a948-0013205c9059
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.c | 13 |
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; - } - } |