From e68b88bf4ad78f86ac74c52adba87d27c59ed121 Mon Sep 17 00:00:00 2001 From: mdw Date: Sat, 1 Jul 2000 11:28:52 +0000 Subject: [PATCH] Use new mLib selbuf features. --- configure.in | 7 +++++-- exec.c | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 385ffab..16d126c 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl -*-fundamental-*- dnl -dnl $Id: configure.in,v 1.10 2000/03/23 23:26:29 mdw Exp $ +dnl $Id: configure.in,v 1.11 2000/07/01 11:28:52 mdw Exp $ dnl dnl Configuration script for fw dnl @@ -28,6 +28,9 @@ dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. dnl ----- Revision history -------------------------------------------------- dnl dnl $Log: configure.in,v $ +dnl Revision 1.11 2000/07/01 11:28:52 mdw +dnl Use new mLib selbuf features. +dnl dnl Revision 1.10 2000/03/23 23:26:29 mdw dnl Require later mLib for sel.c bugfixes. dnl @@ -60,7 +63,7 @@ mdw_DECL_ENVIRON mdw_CHECK_MANYLIBS(socket, socket) mdw_CHECK_MANYLIBS(gethostbyname, nsl resolv) -mdw_MLIB(1.6.3) +mdw_MLIB(1.7.0) AC_CHECK_FUNCS(inet_aton) AC_CHECK_FUNCS(setrlimit) 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); -- 2.11.0