fs: use `ftruncate` on OpenBSD in `AllocateFileRange` #32643

issue fanquake opened this issue on May 30, 2025
  1. fanquake commented at 9:17 AM on May 30, 2025: member

    OpenBSD doesn't have fallocate or posix_fallocate, which means it's hitting our fallback. We should instead have it use ftruncate. See related discussion in #32460.

    cc @theStack.

  2. fanquake added the label Utils/log/libs on May 30, 2025
  3. theStack referenced this in commit 9982d525c5 on May 30, 2025
  4. HouseOfHufflepuff commented at 1:29 AM on September 8, 2026: contributor

    Opened #36189 to address this.

  5. hebasto commented at 3:02 PM on September 8, 2026: member

    Related issue: #33128.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-09-09 07:56 UTC