1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-12 06:33:24 +00:00

Parent process might have been killed by signal to child

This commit is contained in:
Gerhard Rieger 2019-03-03 09:32:22 +01:00
parent 9f5abda361
commit e1a5931827
5 changed files with 33 additions and 8 deletions

View file

@ -178,6 +178,7 @@ int xio_forked_inchild(void) {
int result = 0;
int i;
diag_fork();
for (i=0; i<NUMUNKNOWN; ++i) {
diedunknown[i] = 0;
}