Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 02:55:31 +0000 (UTC)
From:      Daichi GOTO <daichi@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335685 - head/usr.bin/top
Message-ID:  <201806270255.w5R2tVKB041691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: daichi
Date: Wed Jun 27 02:55:30 2018
New Revision: 335685
URL: https://svnweb.freebsd.org/changeset/base/335685

Log:
  top(1): increased the maximum length of command shown by "-a"
  
  Reviewed by:	eadler
  Approved by:	gnn (mentor)
  Differential Revision:	https://reviews.freebsd.org/D16006

Modified:
  head/usr.bin/top/machine.c

Modified: head/usr.bin/top/machine.c
==============================================================================
--- head/usr.bin/top/machine.c	Wed Jun 27 01:51:17 2018	(r335684)
+++ head/usr.bin/top/machine.c	Wed Jun 27 02:55:30 2018	(r335685)
@@ -871,7 +871,7 @@ format_next_process(struct handle * xhandle, char *(*g
 	long p_tot, s_tot;
 	char *cmdbuf = NULL;
 	char **args;
-	const int cmdlen = 128;
+	const int cmdlen = 256;
 	static struct sbuf* procbuf = NULL;
 
 	/* clean up from last time. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806270255.w5R2tVKB041691>