ValveSoftware / ValveSoftware/wine
Proton does not handle dates >2038 well
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 2k
- Forks
- 488
- PR merge metrics
- No merged PRs in 30d
Description
Proton version: wine-proton-9.0.2
Steps to reproduce:
WINEPREFIX=/tmp/prefix wineboottouch -d '2039-02-28 16:21:42' /tmp/prefixWINEPREFIX=/tmp/prefix wine cmd.exe
Expected:
Z:\tmp>
Actual:
wine: stat /tmp/prefix : Value too large for defined data type
wine64 instead of wine works fine with provided scenario, and looks like upstream works fine as well, tested wine staging 9.12.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the listed wineboot, touch, and wine cmd.exe commands, then compare the behavior with wine64 and upstream Wine as described. Trace the handling of stat for /tmp/prefix around dates beyond 2038. Done means the 32-bit wine command accepts the provided 2039 timestamp and reaches the expected Z:\tmp prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100