X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/28d2517c9cd3a1c6b21d0db91b93e01e9a84ed39..e68b88bf4ad78f86ac74c52adba87d27c59ed121:/exec.c diff --git a/exec.c b/exec.c index d81aeae..284bba4 100644 --- a/exec.c +++ b/exec.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: exec.c,v 1.2 1999/10/22 22:46:17 mdw Exp $ + * $Id: exec.c,v 1.3 2000/07/01 11:28:52 mdw Exp $ * * Source and target for executable programs * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: exec.c,v $ + * Revision 1.3 2000/07/01 11:28:52 mdw + * Use new mLib selbuf features. + * * Revision 1.2 1999/10/22 22:46:17 mdw * When a non-file endpoint is attached to a file, keep the file endpoint * open until the nonfile is done. This stops socket sources from @@ -748,8 +751,8 @@ static void xept_error(char *p, void *v) if (p) fw_log(-1, "[%s] pid %i: %s", xe->desc, xe->kid, p); else { - selbuf_disable(&xe->err); close(xe->err.reader.fd); + selbuf_destroy(&xe->err); xe->e.f |= XEF_CLOSE; if (xe->e.f & XEF_EXIT) xept_destroy(xe);