8202794: Native Unix code should use readdir rather than readdir_r
Alan.Bateman at oracle.com
Tue Jul 17 07:46:17 UTC 2018
On 17/07/2018 04:57, Brian Burkhalter wrote:
> Continues thread  with subject line updated to match the issue summary. Part of this general problem was addressed in .
> The patch is in effect that proposed in thread  less the changes in :
> Thanks to Bernard Blaser for the patch.
> There were no build errors on Linux, macOS, nor Solaris, nor in the usual set of regression tests on these platforms.
For serviceability-dev but I assume OperatingSystemImpl.c should move to
readdir64 to be consistent with the other usages.
Separately, we have few inconsistencies (including in TimeZone_md.c and
UnixFileSystem_md.c) where opendir/closedir is used instead of
opendir64/closedir64. Looks like the AIX port may have run into issues
as it redefines them. Something for a separate issue of course.
More information about the core-libs-dev