X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/364308dc05c3c6c121a4a0ff97fff39c0ded8697..3fd896a441c904c3f3608dba41d5e1db84fad776:/lbuf.h diff --git a/lbuf.h b/lbuf.h index 9f290b8..fb04b5f 100644 --- a/lbuf.h +++ b/lbuf.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: lbuf.h,v 1.5 2001/01/20 12:06:01 mdw Exp $ + * $Id: lbuf.h,v 1.6 2001/02/03 16:23:33 mdw Exp $ * * Block-to-line buffering * @@ -30,6 +30,10 @@ /*----- Revision history --------------------------------------------------* * * $Log: lbuf.h,v $ + * Revision 1.6 2001/02/03 16:23:33 mdw + * Bug fix: handle a disable during a close-induced flush without dumping + * core. + * * Revision 1.5 2001/01/20 12:06:01 mdw * Define flags with macros, to ensure unsignedness. * @@ -124,6 +128,7 @@ typedef struct lbuf { #define LBUF_CR 1u /* Read a carriage return */ #define LBUF_ENABLE 2u /* Buffer is currently enabled */ +#define LBUF_CLOSE 4u /* Buffer is now closed */ /*----- Functions provided ------------------------------------------------*/