ef1d40da16
A follow-up fix for r314685. Because the -w flag is parsed after ps(1) infers termwidth from COLUMNS and stdout, and UNLIMITED happens to be the zero value, the single -w flag in combination with a non-terminal stdout or COLUMNS=0 could result in output truncated at 131 characters. (Despite the output being unlimited without -w.) Obviously, adding more -w shouldn't truncate output lines. The committed patch is from bdrewery@, and I've reviewed and tested it. Submitted by: bdrewery@ Reported by: bdrewery@ Sponsored by: Dell EMC Isilon |
||
---|---|---|
.. | ||
extern.h | ||
fmt.c | ||
keyword.c | ||
Makefile | ||
Makefile.depend | ||
nlist.c | ||
print.c | ||
ps.1 | ||
ps.c | ||
ps.h |