diff options
author | Philip Pokorny <[email protected]> | 2020-05-06 17:17:38 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-06 17:17:38 -0700 |
commit | a36bad17596e5cbc472a0d1fecb200a6b2e3530d (patch) | |
tree | 706d72bdd5db9a3a3af0dc61b1b7c8b0657e4edc /autogen.sh | |
parent | 1b664952ae34d28c0408c20947f8aa5420c4ab63 (diff) |
Fix column width calculation issue with certain terminal widths
If the reported terminal width is 0 or less than 42, the signed variable
width was set to a negative number that was then assigned to the
unsigned column width becoming a huge number.
Add comments and change logic to better explain what's happening.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Philip Pokorny <[email protected]>
Closes #10247
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions