This commit introduced the following bug, which is worse than the one that commit fixed: it became impossible to alter the size of an existing justified string attribute. Thanks to @hyenias for catching this bug: https://github.com/ksh93/ksh/issues/142#issuecomment-780931533 $ unset s; typeset -L 100 s=h; typeset +p s; typeset -L 5 s; typeset +p s typeset -L 100 s typeset -L 100 s Expected output: typeset -L 100 s typeset -L 5 s src/cmd/ksh93/sh/name.c: - Revert. src/cmd/ksh93/tests/attributes.sh: - Revert: re-disable tests for minor attribute output regressions. - Add a test for this bug and potential similar bugs. |
||
|---|---|---|
| .. | ||
| cmd | ||
| lib | ||
| Mamfile | ||