[PR #3983] [MERGED] Kernel.Fs: Skip stdin for select reads #3845

Closed
opened 2026-02-27 22:05:11 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3983
Author: @StevenMiller123
Created: 1/31/2026
Status: Merged
Merged: 1/31/2026
Merged by: @georgemoralis

Base: mainHead: no-stdin-read


📝 Commits (1)

  • 982762f Skip stdin fd for want_read in select

📊 Changes

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

View changed files

📝 src/core/libraries/kernel/file_system.cpp (+2 -1)

📄 Description

UE uses select on stdin to signal if it should read from stdin. You can't write to stdin, so select never marks stdin as readable. (and attempting to read from stdin hangs the calling thread).


🔄 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/shadps4-emu/shadPS4/pull/3983 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 1/31/2026 **Status:** ✅ Merged **Merged:** 1/31/2026 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `no-stdin-read` --- ### 📝 Commits (1) - [`982762f`](https://github.com/shadps4-emu/shadPS4/commit/982762fcbcb938c7cf26939ee54d129ababe04e4) Skip stdin fd for want_read in select ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/file_system.cpp` (+2 -1) </details> ### 📄 Description UE uses select on stdin to signal if it should read from stdin. You can't write to stdin, so select never marks stdin as readable. (and attempting to read from stdin hangs the calling thread). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:05:11 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3845
No description provided.