changeset 17716:e21d762f0e7e

mountlist: do not classify a bind-mounted dir entry as "dummy" This was originally implemented with commit 613bcb62, however that change failed to check for hasmntopt(). Then a subsequent commit 62bb7a8b caused hasmntopt() to be replaced with a stub on most platforms. * m4/ls-mntd-fs.m4: Check for hasmntopt() on platforms with 1-argument getmntent() (instead of assuming absence).
author Andrew D Warshall <warshall@99main.com>
date Tue, 08 Jul 2014 18:17:03 +0100
parents 24551c8f1ea2
children 538814e2b813
files ChangeLog m4/ls-mntd-fs.m4
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Jul 08 13:12:28 2014 -0600
+++ b/ChangeLog	Tue Jul 08 18:17:03 2014 +0100
@@ -1,3 +1,9 @@
+2014-07-09  Andrew D Warshall  <warshall@99main.com>
+
+	mountlist: do not classify a bind-mounted dir entry as "dummy"
+	* m4/ls-mntd-fs.m4: Check for hasmntopt() on platforms with
+	1-argument getmntent() (instead of assuming absence).
+
 2014-07-08  Eric Blake  <eblake@redhat.com>
 
 	maint.mk: less syntax-check noise when SIGPIPE is ignored
--- a/m4/ls-mntd-fs.m4	Tue Jul 08 13:12:28 2014 -0600
+++ b/m4/ls-mntd-fs.m4	Tue Jul 08 18:17:03 2014 +0100
@@ -151,6 +151,7 @@
         [Define if there is a function named getmntent for reading the list
          of mounted file systems, and that function takes a single argument.
          (4.3BSD, SunOS, HP-UX, Dynix, Irix)])
+      AC_CHECK_FUNCS([hasmntopt])
     fi
   fi