From: Andrew D Warshall Date: Tue, 8 Jul 2014 17:17:03 +0000 (+0100) Subject: mountlist: do not classify a bind-mounted dir entry as "dummy" X-Git-Tag: v1.0~7342 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=6da37d4814fb6d1c61169de4092205a056a04a21;p=gnulib.git 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). --- diff --git a/ChangeLog b/ChangeLog index 40cf11d6fb..a70340a59c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-07-09 Andrew D Warshall + + 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 maint.mk: less syntax-check noise when SIGPIPE is ignored diff --git a/m4/ls-mntd-fs.m4 b/m4/ls-mntd-fs.m4 index a5e169b560..563ed71cbe 100644 --- a/m4/ls-mntd-fs.m4 +++ b/m4/ls-mntd-fs.m4 @@ -151,6 +151,7 @@ if test $ac_cv_func_getmntent = yes; then [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