-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert 0e4c4d6 ("Fix minor typeset attribute regressions")
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: #142 (comment) $ 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.
- Loading branch information
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50b665b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am working on correcting the referenced outstanding TODOs. In fact, I am testing a fix at this moment.