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
rm -f td1;echo x > td1; touch -d "2020-01-01 00:00" td1; stat -c %y td1
# GNU bash 5.3: 2020-01-01...# niu: rc=0 but mtime = now (same for `-d @<epoch>` and `-r ref`)
touch --version
# GNU: coreutils 9.12 | niu: `touch: unrecognized option '--version'`, rc!=0
Yet type/which both claim /usr/bin/touch and env touch reaches coreutils — niu intercepts touch (cf. #555's external_touch wrapper, CLOSED, different symptom: argv re-expansion). Basic touch file works. Medium: rc=0 success lie breaks every touch -d/-r workflow.
Env: niubash 1.4.4 / rubash engine (master ~2026-10), GNU bash 5.3.20 aarch64-linux-android as oracle. (Found while setting up -N test fixtures; -N itself verified clean via absolute-path touch.)
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
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.