bio: use UTFmax for Bungetsize and fix libmach to include <libc.h> before <bio.h> (from sources)

This commit is contained in:
cinap_lenrek 2013-05-04 18:30:49 +02:00
parent d359aed939
commit 18e480ceb2
10 changed files with 10 additions and 1 deletions

View file

@ -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,