[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd] 06/25: startup: Fix looping over runsystem
From: |
Samuel Thibault |
Subject: |
[hurd] 06/25: startup: Fix looping over runsystem |
Date: |
Mon, 24 Oct 2016 00:16:44 +0000 |
This is an automated email from the git hooks/post-receive script.
sthibault pushed a commit to branch upstream
in repository hurd.
commit b07024d194a5503fd87b32cab3c3a212b28738e1
Author: Samuel Thibault <address@hidden>
Date: Thu Sep 1 01:45:42 2016 +0200
startup: Fix looping over runsystem
Thanks Brent W. Baccala for the report.
* starpu/startup.c (launch_something): Always increment TRY while looping
over runsystem possibilities.
---
startup/startup.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/startup/startup.c b/startup/startup.c
index 49ba9ce..3c757e9 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -1199,9 +1199,10 @@ launch_something (const char *why)
if (something != MACH_PORT_NULL)
{
mach_port_deallocate (mach_task_self (), something);
- if (start_child (tries[try++], NULL) == 0)
+ if (start_child (tries[try], NULL) == 0)
return;
}
+ try++;
}
crash_system ();
--
Alioth's /usr/local/bin/git-commit-notice on
/srv/git.debian.org/git/pkg-hurd/hurd.git
- [hurd] 08/25: libfshelp: acquire references to control ports, (continued)
- [hurd] 08/25: libfshelp: acquire references to control ports, Samuel Thibault, 2016/10/23
- [hurd] 15/25: Avoid fatal error handling in option parsers., Samuel Thibault, 2016/10/23
- [hurd] 25/25: boot: Ignore EINTR., Samuel Thibault, 2016/10/23
- [hurd] 24/25: Avoid warnings if increasing a threads priority fails., Samuel Thibault, 2016/10/23
- [hurd] 18/25: ext2fs: Rename parameter., Samuel Thibault, 2016/10/23
- [hurd] 09/25: Fix installing runsystem.hurd, Samuel Thibault, 2016/10/23
- [hurd] 12/25: fakeroot: set FAKED_MODE, Samuel Thibault, 2016/10/23
- [hurd] 14/25: ext2fs: Disable option to specify alternate superblock., Samuel Thibault, 2016/10/23
- [hurd] 17/25: trans/crash: Fix setting core file template at runtime., Samuel Thibault, 2016/10/23
- [hurd] 21/25: fshelp: Fix fetching the control port., Samuel Thibault, 2016/10/23
- [hurd] 06/25: startup: Fix looping over runsystem,
Samuel Thibault <=
- [hurd] 16/25: trans/crash: Use empty core file templates to disable the feature., Samuel Thibault, 2016/10/23
- [hurd] 13/25: libdiskfs: Fix short-circuiting translators., Samuel Thibault, 2016/10/23
- [hurd] 11/25: random: Hash continuous areas in the csprng pool., Samuel Thibault, 2016/10/23
- [hurd] 23/25: procfs: Gracefully degrade meminfo., Samuel Thibault, 2016/10/23
- [hurd] 22/25: Fix some RPC request headers #ifdef guards, Samuel Thibault, 2016/10/23