#462 add test for include file mntent.h
Closed: wontfix None Opened 11 years ago by cgrzemba.

for presence of mntent.h should be tested:

patch for configure.ac:
--- a/configure.ac
+++ b/configure.ac
@@ -34,7 +34,7 @@ AC_PROG_LIBTOOL
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/file.h sys/socket.h sys/time.h unistd.h inttypes.h])
+AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/file.h sys/socket.h sys/time.h unistd.h inttypes.h mntent.h])

# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STAT

patch for daemon.c:
--- a/ldap/servers/slapd/daemon.c
+++ b/ldap/servers/slapd/daemon.c
@@ -59,7 +59,9 @@
#include <sys/time.h>
#include <sys/wait.h>
#include <pthread.h>
-#include <mntent.h>
+#if defined(HAVE_MNTENT_H)
+# include <mntent.h>
+# endif
#endif
#include <time.h>
#include <signal.h>


sorry, related component should be 'Directory Server'

To ssh://git.fedorahosted.org/git/389/ds.git
82ae04c..20e5c59 master -> master
commit changeset:533cc7a/389-ds-base
Author: Rich Megginson rmeggins@redhat.com
Date: Fri Sep 14 09:24:52 2012 -0600

Metadata Update from @cgrzemba:
- Issue assigned to rmeggins
- Issue set to the milestone: 1.3.0.a1

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/462

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata