Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for include file mntent.h #462

Closed
389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Closed

add test for include file mntent.h #462

389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/462


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>

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 12, 2020
@389-ds-bot 389-ds-bot added this to the 1.3.0.a1 milestone Sep 12, 2020
@389-ds-bot
Copy link
Author

Comment from cgrzemba at 2012-09-14 15:56:44

sorry, related component should be 'Directory Server'

@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2012-09-15 01:47:41

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

@389-ds-bot
Copy link
Author

Comment from cgrzemba at 2017-02-11 22:48:15

Metadata Update from @cgrzemba:

  • Issue assigned to richm
  • Issue set to the milestone: 1.3.0.a1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant