From 18e480ceb298bcc00703931e1e3413e3f1580e35 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sat, 4 May 2013 18:30:49 +0200 Subject: bio: use UTFmax for Bungetsize and fix libmach to include before (from sources) --- sys/include/bio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include') diff --git a/sys/include/bio.h b/sys/include/bio.h index f358c962c..a1e259449 100644 --- a/sys/include/bio.h +++ b/sys/include/bio.h @@ -7,7 +7,7 @@ typedef struct Biobufhdr Biobufhdr; enum { Bsize = 8*1024, - Bungetsize = 4, /* space for ungetc */ + Bungetsize = UTFmax+1, /* space for ungetc */ Bmagic = 0x314159, Beof = -1, Bbad = -2, -- cgit v1.2.3