* spawn.cc (spawn_guts): Don't leave the function with return inside
pthread cleanup brackets.
This commit is contained in:
parent
16bbf0cc57
commit
6485bf0b33
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-10-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* spawn.cc (spawn_guts): Don't leave the function with return inside
|
||||||
|
pthread cleanup brackets.
|
||||||
|
|
||||||
2005-10-24 Christopher Faylor <cgf@timesys.com>
|
2005-10-24 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
|
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
|
||||||
|
|
|
@ -546,7 +546,8 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||||
{
|
{
|
||||||
debug_printf ("Command line too long (>32K), return E2BIG");
|
debug_printf ("Command line too long (>32K), return E2BIG");
|
||||||
set_errno (E2BIG);
|
set_errno (E2BIG);
|
||||||
return -1;
|
res = -1;
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -714,7 +715,8 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||||
myself->sendsig = myself->exec_sendsig;
|
myself->sendsig = myself->exec_sendsig;
|
||||||
myself->exec_sendsig = NULL;
|
myself->exec_sendsig = NULL;
|
||||||
}
|
}
|
||||||
return -1;
|
res = -1;
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fixup the parent data structures if needed and resume the child's
|
/* Fixup the parent data structures if needed and resume the child's
|
||||||
|
|
Loading…
Add table
Reference in a new issue