diff mbox series

[hurd,commited] hurd: Make sure signals get started

Message ID 20201113102438.1556779-1-samuel.thibault@ens-lyon.org
State Committed, archived
Headers show
Series [hurd,commited] hurd: Make sure signals get started | expand

Commit Message

Samuel Thibault Nov. 13, 2020, 10:24 a.m. UTC
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.
---
 sysdeps/mach/hurd/i386/init-first.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index a3d2fdaba0..1827479f86 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -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
     {