name-finder.h: Include <sys/wait.h>.
* include/name-finder.h: Include <sys/wait.h>. (_Jv_name_finder::pid): Now of type `pid_t'. (_Jv_name_finder::~_Jv_name_finder): Call waitpid(). * java/lang/Throwable.java (CPlusPlusDemangler.close): Call `proc.waitFor()'. From-SVN: r34279
This commit is contained in:
parent
270cea065e
commit
efc7058478
4 changed files with 26 additions and 7 deletions
|
@ -88,6 +88,13 @@ class CPlusPlusDemangler extends OutputStream
|
|||
written++;
|
||||
}
|
||||
p.flush ();
|
||||
try
|
||||
{
|
||||
proc.waitFor ();
|
||||
}
|
||||
catch (InterruptedException _)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue