Proton does not handle dates >2038 well

未关闭
#247 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
停滞
技术栈
c

调研方向

首先使用列出的 wineboot、touch 和 wine cmd.exe 命令重现该问题,然后按照描述将其行为与 wine64 和上游 Wine 进行比较。跟踪 stat 对 /tmp/prefix 在 2038 年之后日期附近的处理。完成标准是 32 位 wine 命令接受提供的 2039 年时间戳,并到达预期的 Z:\tmp 提示符。

由索引模型根据 Issue 内容生成。

描述

Proton version: wine-proton-9.0.2

Steps to reproduce:

  1. WINEPREFIX=/tmp/prefix wineboot
  2. touch -d '2039-02-28 16:21:42' /tmp/prefix
  3. WINEPREFIX=/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.

主要语言
C
星标
2.1k
派生
564
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ValveSoftware/wine 的其他 Issue

查看 ValveSoftware/wine 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。