msys2 / msys2/msys2.github.io

Need sparse file support (POSIX lseek() SEEK_DATA, SEEK_HOLE)

Open
#367 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
3.3k
Forks
446
Avg merge
2h 16m
Merged PRs (30d)
1

Description

We need sparse file support, i.e. POSIX 2024 lseek() SEEK_DATA and SEEK_HOLE support.
Cygwin 3.6 already has support for this, so it only needs to be ported to MSYS2

References:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the MSYS2 lseek() implementation and comparing it with the SEEK_DATA and SEEK_HOLE support added in Cygwin 3.6. Read the linked POSIX and platform references first; the work is done when MSYS2 supports the requested sparse-file behavior and its existing validation covers both seek modes.

Written by the indexing model from the issue text.

Assessment

Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.