[PATCH] ash: add support for command_not_found_handle hook function, like bash

2017-10-19 Thread William Pitcock
). Signed-off-by: William Pitcock --- shell/ash.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/shell/ash.c b/shell/ash.c index 88e607f08..c3c4f4e93 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -132,6 +132,15 @@ //config: you to run the

Re: [PATCH] ash: make bash_source command search current directory after PATH

2018-01-29 Thread William Pitcock
Hello, On Sat, Jan 27, 2018 at 3:05 PM, Paul Otto wrote: > Thanks for taking care of this, Denys. It didn't wind up the way I'd hoped, > but at least it is predictable both ways now. I will see if there is a way > to get Alpine Linux to build with that config option set, to resolve the > regressi

[PATCH] top: do not overflow the scratch buffer when displaying processes with very large VSZ

2018-03-06 Thread William Pitcock
--- procps/top.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/procps/top.c b/procps/top.c index b777c494e..fac832833 100644 --- a/procps/top.c +++ b/procps/top.c @@ -694,10 +694,14 @@ static NOINLINE void display_process_list(int lines_rem, int scr_width)

Re: [PATCH] top: do not overflow the scratch buffer when displaying processes with very large VSZ

2018-03-06 Thread William Pitcock
Hi, On Tue, Mar 6, 2018 at 8:57 PM, Denys Vlasenko wrote: >> --- a/procps/top.c >> +++ b/procps/top.c >> @@ -694,10 +694,14 @@ static NOINLINE void display_process_list(int >> lines_rem, int scr_width) >> CALC_STAT(pcpu, (s->pcpu*pcpu_scale + pcpu_half) >> >> pcpu_shift); >> #e