From bade8b3460ea3cf1182cd1bda9faf8b6ccee6a25 Mon Sep 17 00:00:00 2001 From: Ron Yorston <rmy@pobox.com> Date: Tue, 8 Jan 2019 15:51:04 +0000 Subject: ps: add support for the args column Implement read_cmdline() for WIN32 by storing the command line in the same way as the applet name. The applet name is actually used for the comm column which is truncated to COMM_LEN. Using this as the size of the bb_comm array avoids the need to calculate MAX_APPLET_NAME_LEN. --- shell/ash.c | 1 - 1 file changed, 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index d9a4a8cfa..6d5c55d70 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -14892,7 +14892,6 @@ int ash_main(int argc UNUSED_PARAM, char **argv) SetConsoleCtrlHandler(ctrl_handler, TRUE); if (argc == 3 && !strcmp(argv[1], "--fs")) { - strcpy(bb_applet_name, "[sh]"); forkshell_init(argv[2]); /* NOTREACHED */ -- cgit v1.2.3-55-g6feb