]> Savannah Git Hosting - gnulib.git/commitdiff
mountlist: do not classify a bind-mounted dir entry as "dummy"
authorAndrew D Warshall <warshall@99main.com>
Tue, 8 Jul 2014 17:17:03 +0000 (18:17 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 9 Jul 2014 10:27:10 +0000 (11:27 +0100)
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).

ChangeLog
m4/ls-mntd-fs.m4

index 40cf11d6fb72d35102becad6befbdfe0d2337570..a70340a59c24aaf984b2e35958550dd628ddf55f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index a5e169b56066d1988fc166b2d9fd65f4c6059df1..563ed71cbe201ee0f4cc3042484847e8b917bb53 100644 (file)
@@ -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