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
[bug] Runtime set -o posix flips shopt state; GNU does not #1055
[bug] Runtime set -o posix flips shopt state (expand_aliases, inherit_errexit, shift_verbose); GNU doesn't
set -o posix;echo$BASHOPTS# GNU bash 5.3: short list (0 of the 3)# niu: long list (3 of 3: expand_aliases, inherit_errexit, shift_verbose)
Startup --posix gives the long list in BOTH (match) — divergence is runtime-only. Round trip set -o posix; set +o posix leaves 1 sticky in niu, 0 in bash. Option-state leak changes alias expansion/inheritance/verbose behavior after toggling posix.
Env: niubash 1.4.4 / rubash engine (master ~2026-10), GNU bash 5.3.20 aarch64-linux-android as oracle.
Fixed by #1181 (2026-10-22/23 bulk GNU-parity wave): landed as a dedicated commit referencing this issue, covered by the audit differential suite (tests/fixtures/audit/), and re-verified byte-for-byte against a GNU bash 5.3.20 oracle; master CI (ff1a555) runs the suite green.
Closing now to restore the linkage: GitHub's closing-reference parser only honored the first entry of #1181's long Fixes list, so this stayed open after the fix landed. If anything still reproduces on current master, reopen with a transcript and it returns to the fix queue.
Activity
github-actions commentedon Oct 22, 2026
欢迎!这是你在本仓库的第一个 ISSUE 🎉 维护者会尽快跟进;报 bug 请附
rubash --version、系统平台与最小复现脚本。caomengxuan666 commentedon Oct 23, 2026
Fixed by #1181 (2026-10-22/23 bulk GNU-parity wave): landed as a dedicated commit referencing this issue, covered by the audit differential suite (tests/fixtures/audit/), and re-verified byte-for-byte against a GNU bash 5.3.20 oracle; master CI (ff1a555) runs the suite green.
Closing now to restore the linkage: GitHub's closing-reference parser only honored the first entry of #1181's long
Fixeslist, so this stayed open after the fix landed. If anything still reproduces on current master, reopen with a transcript and it returns to the fix queue.