www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18885] New: statfs struct was changed in FreeBSD 12


          Issue ID: 18885
           Summary: statfs struct was changed in FreeBSD 12
           Product: D
           Version: D2
          Hardware: x86_64
                OS: FreeBSD
            Status: NEW
          Severity: major
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: freeslave93 gmail.com

core.sys.posix.sys.statvfs still has the declaration for FreeBSD 11.
That leads to segfeault when calling statfs function because of structure's
size mismatch.

Should we just update statfs_t declaration for FreeBSD (and drop support for
FreeBSD 11) or dispatch somehow?

May 20 2018