<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">OK, so I’ve tracked back the commit where this was introduced…<div class=""><br class=""></div><div class=""><a href="https://cgit.freedesktop.org/libreoffice/core/commit/sal/osl/unx/file.cxx?id=cbedb240486a21c5d5676e7a7f4e2ba17a55dbab" class="">https://cgit.freedesktop.org/libreoffice/core/commit/sal/osl/unx/file.cxx?id=cbedb240486a21c5d5676e7a7f4e2ba17a55dbab</a></div><div class=""><br class=""></div><div class="">It appears that it might have been in a previous VCS (cvs?) and migrated to subversion. The provenance of the commit is unknown, but I think someone was being very conservative, or didn’t realise this has been available for a long time on BSD. </div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 23 Jun 2017, at 7:47 am, Chris Sherlock <<a href="mailto:chris.sherlock79@gmail.com" class="">chris.sherlock79@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Nope, I’m mistaken. This has been in the FreeBSD sources since 1998!<div class=""><br class=""></div><div class=""><a href="https://svnweb.freebsd.org/base/head/lib/libc/gen/sysconf.c?r1=12674&r2=34030" class="">https://svnweb.freebsd.org/base/head/lib/libc/gen/sysconf.c?r1=12674&r2=34030</a></div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 23 Jun 2017, at 7:39 am, Chris Sherlock <<a href="mailto:chris.sherlock79@gmail.com" class="">chris.sherlock79@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">sysconf() first appeared in BSD4.4, which was sometime before the year 2003<br class=""><br class="">It’s been around for a long, long time. I’m genuinely unclear why we are checking for this, given that it has literally been in BSD for such a long time now!<br class=""><br class="">Chris<br class=""><br class=""><blockquote type="cite" class="">On 23 Jun 2017, at 3:55 am, Noel Grandin <<a href="mailto:noelgrandin@gmail.com" class="">noelgrandin@gmail.com</a>> wrote:<br class=""><br class="">The relevant question is not whether they support it __now__, but if they support it in the oldest version of those operating systems that we support.<br class=""><br class=""><br class="">If you can find out when each of those OS's gained support for that, then we can possibly drop that support. At the very least, even if we don't drop support, we should add a comment there, so we know when we can drop support.<br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>