summaryrefslogtreecommitdiff
path: root/ACE/ace/config-freebsd.h
diff options
context:
space:
mode:
authorFred Hornsey <hornseyf@objectcomputing.com>2020-12-05 19:40:08 -0600
committerFred Hornsey <hornseyf@objectcomputing.com>2020-12-05 19:54:35 -0600
commitcf1d8477fd0d0f49748f30939e999b8a94c527ad (patch)
tree8423a71e137ad327b38fbb2946c0e9f5caaa0811 /ACE/ace/config-freebsd.h
parentc62ecd5955c1350fa25f95deb9bce2c81bc70f1c (diff)
downloadATCD-cf1d8477fd0d0f49748f30939e999b8a94c527ad.tar.gz
Remove ACE_OS::readdir_r
glibc (https://man7.org/linux/man-pages/man3/readdir_r.3.html) and FreeBSD libc (https://www.freebsd.org/cgi/man.cgi?query=readdir&sektion=3) have both marked `readdir_r` deprecated, mainly because it can't deal with arbitrarily long path names, so we should probably remove it. Also removed `ACE_Dirent::(ACE_DIRENT *, ACE_DIRENT **)` which used it. `ACE_LACKS_READDIR_R` will now always be defined.
Diffstat (limited to 'ACE/ace/config-freebsd.h')
-rw-r--r--ACE/ace/config-freebsd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ACE/ace/config-freebsd.h b/ACE/ace/config-freebsd.h
index 34fb9c2f7e4..0c1fa8e7c56 100644
--- a/ACE/ace/config-freebsd.h
+++ b/ACE/ace/config-freebsd.h
@@ -25,7 +25,6 @@
# undef ACE_HAS_PENTIUM
#endif /* ACE_HAS_PENTIUM */
-#define ACE_HAS_3_PARAM_READDIR_R
#define ACE_HAS_3_PARAM_WCSTOK
#define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
#define ACE_HAS_ALLOCA
@@ -133,7 +132,6 @@
# define ACE_LACKS_SIGSET
# define ACE_LACKS_SIGSET_T
# define ACE_LACKS_RWLOCK_T
-# define ACE_LACKS_READDIR_R
# define ACE_LACKS_SETSCHED
# define ACE_LACKS_PTHREAD_THR_SIGSETMASK
# define ACE_LACKS_UCONTEXT_H