Skip to content

[gap] tee/cat 等在 stdin 被关闭(<&-)时静默成功,GNU 报 Bad file descriptor (uutils#9795) #973

Closed

Description

@caomengxuan666

来源:uutils#9795

实测:tee <&-、cat <&-,GNU/msys 报 Bad file descriptor 相关错误;winuxcmd 静默成功 rc=0。标准输入不可读时应报错。

oracle:GNU coreutils 8.32 (Git Bash);测试对象:build-vs/usr/bin/winuxcmd.exe(2026-09-09 构建)
分类:compat-gap(差分实测行为差异)

Activity

  1. added
    compat-gap
    uutils
    on Sep 9, 2026
  2. caomengxuan666 commented on Sep 14, 2026

    @caomengxuan666
    MemberAuthor

    Fixed in 8539934 — GNU-compatible sed script concatenation/brace handling, sort --batch-size bounds (2..3197 with GNU diagnostics), tsort empty-input/self-relation/duplicate semantics, and closed-stdin Bad file descriptor reporting. Verified against WSL GNU coreutils 9.4; see issues/report-sed-sort-split.md and issues/report-devpaths.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compat-gapuutils

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions