Module Name: src Committed By: mrg Date: Sun Oct 13 07:42:27 UTC 2019
Modified Files: src/external/bsd/top/dist: utils.c Log Message: expand a buffer size to properly handle full-size 64 bit values To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/top/dist/utils.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/top/dist/utils.c diff -u src/external/bsd/top/dist/utils.c:1.5 src/external/bsd/top/dist/utils.c:1.6 --- src/external/bsd/top/dist/utils.c:1.5 Sat Aug 27 18:48:30 2016 +++ src/external/bsd/top/dist/utils.c Sun Oct 13 07:42:27 2019 @@ -611,7 +611,7 @@ char * format_k(long amt) { - static char retarray[NUM_STRINGS][16]; + static char retarray[NUM_STRINGS][24]; static int idx = 0; register char *ret; register char tag = 'K';