supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Jan Kämpe" <jkampe@iki.fi>
Subject: [PATCH] wait_pid call in runit.c
Date: Wed, 15 Nov 2006 08:03:53 +0200	[thread overview]
Message-ID: <200611150803.55320.jkampe@iki.fi> (raw)

[-- Attachment #1: Type: text/plain, Size: 43 bytes --]

Hi,

wait_pid parameters mixed in runit.c?

[-- Attachment #2: runit-170.diff --]
[-- Type: text/x-diff, Size: 275 bytes --]

--- ./src/runit.c.orig	2006-11-14 20:16:26.000000000 +0200
+++ ./src/runit.c	2006-11-14 20:27:47.000000000 +0200
@@ -330,7 +330,7 @@
   break;
   default:
   sig_unblock(sig_child);
-  while (wait_pid(pid, 0, 0) == -1);
+  while (wait_pid(&wstat, pid) == -1);
   }
 #endif
 

             reply	other threads:[~2006-11-15  6:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-15  6:03 Jan Kämpe [this message]
2006-11-15  9:40 ` Gerrit Pape

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611150803.55320.jkampe@iki.fi \
    --to=jkampe@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).