projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d03c9c
)
gunixmounts: correctly flag hasmntopt usage
author
Lionel Landwerlin
<llandwerlin@gmail.com>
Fri, 5 Apr 2013 14:18:28 +0000
(15:18 +0100)
committer
Lionel Landwerlin
<llandwerlin@gmail.com>
Sun, 7 Apr 2013 06:11:30 +0000
(07:11 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=697365
gio/gunixmounts.c
patch
|
blob
|
history
diff --git
a/gio/gunixmounts.c
b/gio/gunixmounts.c
index
96ebaea
..
06d042e
100644
(file)
--- a/
gio/gunixmounts.c
+++ b/
gio/gunixmounts.c
@@
-774,9
+774,11
@@
_g_get_unix_mount_points (void)
(strcmp (mntent->mnt_dir, "none") == 0))
continue;
+#ifdef HAVE_HASMNTOPT
/* We ignore bind fstab entries, as we ignore bind mounts anyway */
if (hasmntopt (mntent, "bind"))
continue;
+#endif
mount_entry = g_new0 (GUnixMountPoint, 1);
mount_entry->mount_path = g_strdup (mntent->mnt_dir);