Skip to content

[gap] dd: Silent Truncate Error Suppression (uutils#9745) #276

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] dd: Silent Truncate Error Suppression (uutils#9745)[/-] [+][gap] dd: Silent Truncate Error Suppression (uutils#9745)[/+] 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 da0e9e8 — faithful GNU parse_integer (x factors, B markers, zero-product forgiveness, 0x warning), iseek/oseek aliases, seek-truncate semantics, /dev/* pseudo-device operands, write-failure exit codes, and GNU diagnostics. Verified byte-for-byte against WSL GNU coreutils 9.4; see issues/report-dd.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