From: mdw Date: Sun, 13 Jan 2002 14:49:03 +0000 (+0000) Subject: Track @lbuf@ changes in mLib. X-Git-Tag: 1.2.6~18 X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/commitdiff_plain/f00786b95788b67ab6afec0f825edeb6f53c80c3 Track @lbuf@ changes in mLib. --- diff --git a/exec.c b/exec.c index e73500d..28c9cd8 100644 --- a/exec.c +++ b/exec.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: exec.c,v 1.4 2001/02/03 20:30:03 mdw Exp $ + * $Id: exec.c,v 1.5 2002/01/13 14:49:03 mdw Exp $ * * Source and target for executable programs * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: exec.c,v $ + * Revision 1.5 2002/01/13 14:49:03 mdw + * Track @lbuf@ changes in mLib. + * * Revision 1.4 2001/02/03 20:30:03 mdw * Support re-reading config files on SIGHUP. * @@ -507,7 +510,7 @@ static void x_tidy(xargs *xa, xopts *xo) /* --- @attach@ --- */ -static void xept_error(char */*p*/, void */*v*/); +static void xept_error(char */*p*/, size_t /*len*/, void */*v*/); static void xept_attach(endpt *e, reffd *in, reffd *out) { @@ -742,6 +745,7 @@ static void xept_chld(int n, void *p) /* --- @xept_error@ --- * * * Arguments: @char *p@ = pointer to string read from stderr + * @size_t len@ = length of the string * @void *v@ = pointer to by endpoint * * Returns: --- @@ -749,7 +753,7 @@ static void xept_chld(int n, void *p) * Use: Handles error reports from a child process. */ -static void xept_error(char *p, void *v) +static void xept_error(char *p, size_t len, void *v) { xept *xe = v; if (p)