openbsd-ports/x11/gnome/gvfs/patches/patch-metadata_metatree_c
ajacoutot 8f0a881f8b Bugfix update to gvfs-1.4.2:
* ftp: fix parsing of CMU/VMS-IP listings
* metadata: Make more robust
* http: Return icons for query_file_info
* smb: Support querying free space
2009-11-30 12:35:29 +00:00

13 lines
517 B
Plaintext

$OpenBSD: patch-metadata_metatree_c,v 1.2 2009/11/30 12:35:29 ajacoutot Exp $
--- metadata/metatree.c.orig Fri Nov 27 15:14:35 2009
+++ metadata/metatree.c Mon Nov 30 12:57:51 2009
@@ -304,7 +304,7 @@ is_on_nfs (char *filename)
sizeof (statfs_buffer), 0);
# endif
if (statfs_result == 0)
- res = statfs_buffer.f_type == 0x6969;
+ res = statfs_buffer.f_fstypename == 0x6969;
#elif defined(USE_STATVFS) && defined(HAVE_STRUCT_STATVFS_F_BASETYPE)
statfs_result = statvfs (dirname, &statfs_buffer);