X-Git-Url: https://git.distorted.org.uk/~mdw/sw-tools/blobdiff_plain/5636c0ce0820fb80e89dd88dd257e405f245e5bf..65eb98997977ba66bf96aff5e0cc8494ea03cdce:/src/pres_plain.c diff --git a/src/pres_plain.c b/src/pres_plain.c index 60a0793..449d2dd 100644 --- a/src/pres_plain.c +++ b/src/pres_plain.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: pres_plain.c,v 1.2 1999/07/16 12:49:59 mdw Exp $ + * $Id$ * * Plain output style for remote builds * @@ -26,17 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: pres_plain.c,v $ - * Revision 1.2 1999/07/16 12:49:59 mdw - * Improve exit status display. New interface from `doto' project. - * - * Revision 1.1.1.1 1999/06/02 16:53:35 mdw - * Initial import. - * - */ - /*----- Header files ------------------------------------------------------*/ #include @@ -55,7 +44,7 @@ /* --- @line@ --- */ -static void line(char *s, void *p) +static void line(char *s, size_t len, void *p) { archent *e = p; if (s) @@ -90,6 +79,7 @@ void plain_output(archent *e, const char *p, size_t sz) void plain_close(archent *e, int ok, const char *summ) { lbuf_close(e->pres); + lbuf_destroy(e->pres); if (!ok) printf("%s: %s\n", e->arch, summ); }