From ea859f50d9438bc61ae96721a4d255b49de78653 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:20 +0200 Subject: Imported Upstream version 0.6.2 --- TraceScreen.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'TraceScreen.c') diff --git a/TraceScreen.c b/TraceScreen.c index 9628290..a5feded 100644 --- a/TraceScreen.c +++ b/TraceScreen.c @@ -1,6 +1,6 @@ /* htop - TraceScreen.c -(C) 2005 Hisham H. Muhammad +(C) 2005-2006 Hisham H. Muhammad Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ @@ -11,11 +11,15 @@ in the source distribution for its full text. #include #include #include +#include +#include #include "TraceScreen.h" #include "ProcessList.h" #include "Process.h" #include "ListItem.h" +#include "ListBox.h" +#include "FunctionBar.h" /*{ @@ -160,5 +164,6 @@ void TraceScreen_run(TraceScreen* this) { ListBox_draw(lb, true); } kill(child, SIGTERM); + waitpid(child, NULL, 0); fclose(strace); } -- cgit v1.2.3