Skip to content

gnu-compat G2: lastpipe 退出码(14 vs 0) #74

Closed

Description

@caomengxuan666

tests/lastpipe.tests:shopt -s lastpipe 下管道末段退出码错误。

  • rubash:lastpipe1.sub returns 0
  • GNU:lastpipe1.sub returns 14
  • 另有 AnB-e 1n2 输出串行化差异。

GNU 5.3.0 参考:execute_cmd.c:2612-2760(uw_lastpipe_cleanup 与 lastpipe 执行路径)。

原始 diff:target/issue-suites/results/live/lastpipe.diff

Activity

  1. caomengxuan666 commented on Sep 15, 2026

    @caomengxuan666
    MemberAuthor

    Fixed in commit(s) on master. Root-cause fix verified against WSL GNU Bash 5.3.0 baseline. See git log for details.

  2. added
    bug
    gnu-baseline
    family:S8
    on Oct 17, 2026
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

    bugfamily:S8gnu-baseline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions