~kris/9p

9hist

c2eb20ac8196226836709c3a8d71d7f67fd92c14 — David du Colombier 30 years ago 76ff7c4
Plan 9 from Bell Labs 1996-03-05
2 files changed, 2 insertions(+), 0 deletions(-)

M port/alloc.c
M port/qio.c
M port/alloc.c => port/alloc.c +1 -0
@@ 264,6 264,7 @@ mallocz(ulong size, int zero)

	return nil;
good:

	/* Allocate off this list */
	ilock(&arena);
	bp = arena.btab[pow];

M port/qio.c => port/qio.c +1 -0
@@ 517,6 517,7 @@ qbwrite(Queue *q, Block *b)

	if(q->state & Qclosed){
		iunlock(q);
		freeb(b);
		error(Ehungup);
	}