#19128·serenity

系统(3)将 stdin 从终端中断

作者: oskar-skog创建于 2023年5月29日更新于 2026年7月17日
标签bug

任何对系统(3)的调用都会使stdin总是返回EOF,不仅在调用程序中如此,而且会使任何程序在熟/正/断模式下从stdin读取. 即使在运行重置后,问题依然存在(1).

这只有在/bin/sh'指/bin/shell'时才会发生。 使用`ln-sf/bin/bash mnt/bin/sh'同步-local.sh解决问题。

! 系统(3)-断裂-地心 互联网档案馆的存檔,存档日期2014-12-21.

这也导致`sys.stdin.readline'在打入后被挂入Python。

[19128-new.c] (https://GitHub.com/user-attachments/ files/30136270/19128-new.c).

          • 说说看

最后一次测试 2026-07-17 amd64, 在 Debian 13 主机上带有 GNU 工具链的 arch64

内容来源: SerenityOS/serenity