Skip to content

statfs struct was changed in FreeBSD 12 #2209

Open
@dlangBugzillaToGithub

Description

@dlangBugzillaToGithub

Roman reported this on 2018-05-20T15:23:54Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=18885

CC List

  • Cy Schubert
  • Jonathan M Davis

Description

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions