Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 152943 Details for
Bug 220579
sys-apps/openrc-0.2.4 segfaults when stopping hwclock init.d
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Check deptree exists before using it
openrc-start-nodep.patch (text/plain), 799 bytes, created by
Roy Marples
on 2008-05-12 13:22:02 UTC
(
hide
)
Description:
Check deptree exists before using it
Filename:
MIME Type:
Creator:
Roy Marples
Created:
2008-05-12 13:22:02 UTC
Size:
799 bytes
patch
obsolete
>diff --git a/src/rc/runscript.c b/src/rc/runscript.c >index 7b87c27..e234b76 100644 >--- a/src/rc/runscript.c >+++ b/src/rc/runscript.c >@@ -877,11 +877,13 @@ static void svc_start(bool deps) > } > > /* Do the same for any services we provide */ >- tmplist = rc_deptree_depend(deptree, "iprovide", applet); >- if (tmplist) { >- TAILQ_FOREACH(svc, tmplist, entries) { >- services = rc_services_scheduled(svc->value); >- if (services) { >+ if (deptree) { >+ tmplist = rc_deptree_depend(deptree, "iprovide", applet); >+ if (tmplist) { >+ TAILQ_FOREACH(svc, tmplist, entries) { >+ services = rc_services_scheduled(svc->value); >+ if (! services) >+ continue; > TAILQ_FOREACH(svc2, services, entries) > if (rc_service_state(svc2->value) & RC_SERVICE_STOPPED) > service_start(svc2->value);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 220579
:
152195
|
152817
|
152915
|
152927
| 152943 |
153015