You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
函数 <> 重定向的 fd-0 写面未建模(echo x >&0 报 Bad file descriptor) #2249
Activity
caomengxuan666 commentedon Oct 30, 2026
已修复并合并:PR #2260(合并树 CI 全绿)。
定性:
function_call_stdin是全仓唯一只绑读端点的<>面——其余各面都经端点对绑定。GNU 依据 make_cmd.c:682-683(r_input_output → O_RDWR|O_CREAT)+ redir.c:725:<>是单一描述符双向服务。修复三件:①普通文件/设备/fifo 改绑
open_readwrite_pair(一个打开文件描述、读写共享偏移——判别格:读 2 字节后写落偏移 2,GNU 得 abPQef,双开模型必写回 0);②/dev/tcp|udp 的 socket 同一 FileFd 双向绑;③绑定的 undo 契约扩展到 env 键(fd-0 输出通道三键存值/恢复,镜像既有记账)——正是 #2240 预言的形状。本单一并把 external_finish.rs 子脚本 fd-0 安装换到同一路径解析梯(含空操作数不 join;cd 后同名诱饵文件不再被误绑)。验证:GNU 5.3.20 oracle 探针 A–J 全实跑钉期望;9 枚新钉;cargo check 零警告。
余面(已另立):子脚本
<>安装本身仍只绑读端点 = #2261(同机制姊妹面,本单第 (2) 项只含补梯);函数<>接 procsub 操作数仍走文本暂存读面,已记簇 REPORT 备查。