mirror of git://sourceware.org/git/glibc.git
hurd: Make sure signals get started
Now that _hurd_libc_proc_init is idempotent, we can always call it, independently of the __libc_multiple_libcs test which may not match whether signals should be started or not.
This commit is contained in:
parent
2aa072d395
commit
0f73c17037
|
@ -58,14 +58,14 @@ posixland_init (int argc, char **argv, char **envp)
|
|||
{
|
||||
__libc_multiple_libcs = &_dl_starting_up && !_dl_starting_up;
|
||||
|
||||
/* Now we have relocations etc. we can start signals etc. */
|
||||
_hurd_libc_proc_init (argv);
|
||||
|
||||
/* Make sure we don't initialize twice. */
|
||||
if (!__libc_multiple_libcs)
|
||||
{
|
||||
/* Set the FPU control word to the proper default value. */
|
||||
__setfpucw (__fpu_control);
|
||||
|
||||
/* Now we have relocations etc. we can start signals etc. */
|
||||
_hurd_libc_proc_init (argv);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue