Avoid getmntinfo
authorPatrick Welche <prlw1@cam.ac.uk>
Thu, 1 Sep 2011 09:10:38 +0000 (10:10 +0100)
committerDan Winship <danw@gnome.org>
Sun, 4 Sep 2011 21:50:41 +0000 (17:50 -0400)
commitafa82ae805f9c8bb875a3f863a7b4669953f159f
tree9f45663796c1fa981680111cc564d1a87af8f360
parent5cea24fc88ec1fa9ce0d37e368d6041ea4e8bc7e
Avoid getmntinfo

- getmntinfo can take struct statfs or statvfs depending on the
  OS. Use getvfsstat and if not found getfsstat instead. Idea from
  Dan Winship.
- g_local_file_query_filesystem_info(): use statvfs.f_fstypename
  if available

https://bugzilla.gnome.org/show_bug.cgi?id=617949
configure.ac
gio/glocalfile.c
gio/gunixmounts.c