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] Arithmetic: variable VALUE with leading zero is not treated as octal (x=010; $((x)) gives 10, GNU gives 8) #341
GNU C owner: expr.c:1557 strlong() — documented contract at expr.c:1539: "0nnn -> base 8"; variable values are read through strlong when evaluated, so a stored leading-zero value re-parses as octal. (0x values already work in rubash — only the octal form diverges.)
Artifacts: target/issue-suites/results/gnusweep3/cat4/case/a019.* / a053.; minimal target/issue-suites/results/gnusweep3/probes/min/m07-octal-value.
Activity
fix(#337,#338,#341,#342): brace null word, ${!prefix@} list, octal st…
caomengxuan666 commentedon Sep 30, 2026
Fixed by wt20/deepsweep (4bcd2b62): arithmetic values keep leading-zero octal (x=010 in $((x)) -> 8; strlong expr.c:1539/1557).