Linus Torvalds <torvalds@xxxxxxxx> writes: > You should probably check the "width" and "name_width" values for sanity. The output code forces (well, at least tries to force) some sanity into these values when they are not, so probably we do not need it. If we want, we could check something like: if (name_width < 10 || width - name_width < 15) die("at least 10 for name, and 15+name for width please"); The number 10 is totally arbitrary; among the total area that is given by width, after subtracting name_width, 10 columns are taken by left and right end space, vertical bar and numbers, so the above gives at least 5 columns to draw the graph. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html