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
[linux] mktemp template expansion: pid-nanos-counter suffix instead of coreutils random 6-char [A-Za-z0-9] run #232
Linux build (wt4/linuxrun), GNU coreutils mktemp baseline.
Repro
m=$(mktemp /tmp/rbtpl.XXXXXX);echo"${m##*rbtpl.}"
Expected (GNU): 6 random alnum chars, e.g. TnVGKu (coreutils mktemp(1): each X replaced from [A-Za-z0-9] via random). Actual (rubash): <pid>-<nanos>-0, e.g. 17070-1790505061684966322-0 - visible in every temp path (also seen in rubash's own internal temp names), leaks pid/timing and breaks scripts that parse/validate mktemp output shape.
Bite-level evidence in suite artifacts: every /tmp/rubash_exec.* GNU-vs-rubash stderr line pair differs in the dirname for this reason alone (target/wslrun/results/p0_execbit.err.diff).
Owning rubash code: the mktemp engine tool (external file builtins family); GNU anchor: coreutils mktemp try_tempname_len/random name generation (not bash C source - this is a coreutils port surface).
Activity
linux: 14 signal/wait/notice/parse fixes (#225-#235 #239 #240) — Linu…
caomengxuan666 commentedon Sep 27, 2026
已修复并合入 master(commit b2e41b4e,lane wt4/linuxfix;GNU 引用与验证见提交信息:Linux 真机 WSL 双壳验证、24 套件平价 17→19)。感谢报告!