Skip to content
This repository was archived by the owner on Oct 29, 2026. It is now read-only.
This repository was archived by the owner on Oct 29, 2026. It is now read-only.

Implement fstat #71

Closed
Closed

Description

@sunfishcode

As mentioned in #22 (comment), the memmap2 crate calls fstat. This is unusual; on Linux most programs use fstat64, which mustang does implement. But memmap2 probably doesn't see problems in practice because 32-bit targets wouldn't be able to mmap 4+ GiB files anyway.

So we can either implement fstat or submit a patch to memmap2 to have it use fstat64 on Linux.

Activity

  1. sunfishcode commented on Jun 23, 2022

    @sunfishcode
    OwnerAuthor

    fstat was added in #104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions