Reap children

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@743 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1996-09-15 16:54:01 +00:00
parent 584687bcd5
commit 7ee8ca0553

View File

@@ -219,6 +219,7 @@ des_rand_data(unsigned char *data, int size)
setitimer(ITIMER_REAL, &otv, 0); setitimer(ITIMER_REAL, &otv, 0);
#else #else
kill(pid, SIGKILL); kill(pid, SIGKILL);
waitpid(pid, NULL, 0);
#endif #endif
sigaction(SIGALRM, &osa, 0); sigaction(SIGALRM, &osa, 0);
} }