[PR #2814] [MERGED] Fix a Y2038 bug in UnixTimeToFileTime #1174

Closed
opened 2026-01-29 19:15:39 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/stenzek/duckstation/pull/2814
Author: @CookiePLMonster
Created: 3/26/2022
Status: Merged
Merged: 3/27/2022
Merged by: @stenzek

Base: masterHead: y2038


📝 Commits (1)

  • e43f2dd Fix a Y2038 bug in UnixTimeToFileTime

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 src/common/timestamp.cpp (+5 -5)

📄 Description

This PR is a part of a project to squash Y2038 bugs originating from a faulty (now fixed) code snippet on MSDN.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/stenzek/duckstation/pull/2814 **Author:** [@CookiePLMonster](https://github.com/CookiePLMonster) **Created:** 3/26/2022 **Status:** ✅ Merged **Merged:** 3/27/2022 **Merged by:** [@stenzek](https://github.com/stenzek) **Base:** `master` ← **Head:** `y2038` --- ### 📝 Commits (1) - [`e43f2dd`](https://github.com/stenzek/duckstation/commit/e43f2ddddbf60f0650a57a6e850de6799ceb7b98) Fix a Y2038 bug in UnixTimeToFileTime ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/common/timestamp.cpp` (+5 -5) </details> ### 📄 Description This PR is a part of a [project to squash Y2038 bugs](https://cookieplmonster.github.io/2022/02/17/year-2038-problem/) originating from a faulty (now fixed) code snippet on MSDN. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 19:15:39 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#1174