summaryrefslogtreecommitdiff
path: root/ACE/ace/config-linux-common.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-linux-common.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-linux-common.h')
-rw-r--r--ACE/ace/config-linux-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ACE/ace/config-linux-common.h b/ACE/ace/config-linux-common.h
index 06b9e3587f7..23e0f579594 100644
--- a/ACE/ace/config-linux-common.h
+++ b/ACE/ace/config-linux-common.h
@@ -101,8 +101,6 @@
#define ACE_HAS_3_PARAM_WCSTOK
-#define ACE_HAS_3_PARAM_READDIR_R
-
#define ACE_HAS_ALLOCA
// Compiler/platform has <alloca.h>