chiark
/
gitweb
/
~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fix: handle a disable during a close-induced flush without dumping
[mLib]
/
lbuf.h
diff --git
a/lbuf.h
b/lbuf.h
index 9f290b808538d05610cd5f70175b7cd12de9a5cf..fb04b5f83630ae5ddff09b3410934dc95518e0db 100644
(file)
--- a/
lbuf.h
+++ b/
lbuf.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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
*
*
* Block-to-line buffering
*
@@
-30,6
+30,10
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: lbuf.h,v $
/*----- 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.
*
* 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_CR 1u /* Read a carriage return */
#define LBUF_ENABLE 2u /* Buffer is currently enabled */
+#define LBUF_CLOSE 4u /* Buffer is now closed */
/*----- Functions provided ------------------------------------------------*/
/*----- Functions provided ------------------------------------------------*/