Project

General

Profile

Bug #3413

isainfo -v overflows 80 columns

Added by Robert Mustacchi almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-12-13
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Under certain circumstances, "isainfo -v" can overflow 80 columns. e.g.:

[root@bh1-kvm3 /var/tmp]# isainfo -v
64-bit amd64 applications
        sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc 
        cx8 tsc fpu 
32-bit i386 applications
        sse4.2 sse4.1 ssse3 popcnt tscp ahf cx16 sse3 sse2 sse fxsr mmx cmov 
        sep cx8 tsc fpu

This is due to a minor miscalculation in when the line should be wrapped; the length of the feature about to be written must be taken into consideration. Fix is, as what might expect, trivially simple.

#1

Updated by Robert Mustacchi almost 8 years ago

  • Assignee changed from Robert Mustacchi to Bryan Cantrill
#2

Updated by Robert Mustacchi almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in eb23829ff08a873c612ac45d191d559394b4b408.

Also available in: Atom PDF