Skip to content

[gap] install: with piped input fails if target file exists (uutils#12407) #331

Closed

Description

@caomengxuan666

上游

状态

GAP-候选:标题疑似行为差距,尚未差分验证(oracle GNU 8.32)。脚手架:audit_uutils_open.py;汇总:GAP_REPORT.md。


niubash 运行时实测补充(2026-09-09):niubash 1.0.1 通过物理目录 Winuxsh\winuxcmd\dev\ 提供 /dev 映射,但当前该目录仅有 dev/null 一个文件(且内容为 9079 字节的 HTML 垃圾数据,属打包事故),/dev/zero 与 /dev/stdin 不存在,因此本 issue 在产品环境下同样成立。修复建议:winuxcmd 内部将 /dev/null、/dev/zero、/dev/stdin、/dev/stdout 等伪路径解析为 Windows 等价物(NUL、CONIN$ 等),不依赖 niubash 的目录映射;同时 niubash 侧应修正 dev/null 打包内容。

Activity

  1. added
    compat-candidate
    uutils
    on Sep 9, 2026
  2. changed the title [-][candidate] install: with piped input fails if target file exists (uutils#12407)[/-] [+][gap] install: with piped input fails if target file exists (uutils#12407)[/+] on Sep 9, 2026
  3. added
    compat-gap
    and removed
    compat-candidate
    on Sep 9, 2026
  4. caomengxuan666 commented on Sep 14, 2026

    @caomengxuan666
    MemberAuthor

    Fixed in 2e27211 — GNU-compatible semantics implemented and verified against WSL GNU coreutils 9.4 / Git Bash 8.32; see issues/report-cp-mv-install.md for per-issue evidence.

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