On Fri, Mar 24, 2017 at 7:35 PM, William A Rowe Jr <wr...@rowe-clan.net> wrote: > > I haven't built 1.x branch against openssl 110 yet,
I did with 1.6.x (on latest Debian's libbsl-1.1) with no issue. > so here's some Unix (latest Fedora) feedback; > > ../../apr-1.6/file_io/unix/dir.c: In function ‘apr_dir_read’: > ../../apr-1.6/file_io/unix/dir.c:162:5: warning: ‘readdir_r’ is > deprecated [-Wdeprecated-declarations] > ret = readdir_r(thedir->dirstruct, thedir->entry, &retent); > ^~~ > In file included from > /home/wrowe/dev/apr-1.6/include/arch/unix/apr_arch_file_io.h:50:0, > from ../../apr-1.6/file_io/unix/dir.c:17: > /usr/include/dirent.h:183:12: note: declared here > extern int readdir_r (DIR *__restrict __dirp, > ^~~~~~~~~ Same here, but this is really a weird situation where readdir_r() is deprecated and "googling" advises are either to use readdir() with a lock (because it's not thread-safe...), or to still use readdir_r() but malloc the passed in entry (with an overly complicated/hardly portable thing to compute its size) so to avoid the defect (albeit not the warning!) because of which readdir_r() is deprecated. No good solution is short (AIUI)...