~kris/9p

9hist

2fbee76ff768c94df12636108226ed0ce8ef5f59 — David du Colombier 35 years ago c3dc8cd
Plan 9 from Bell Labs 1991-01-25
3 files changed, 5 insertions(+), 5 deletions(-)

M port/devpipe.c
M port/pgrp.c
M power/main.c
M port/devpipe.c => port/devpipe.c +1 -0
@@ 78,6 78,7 @@ pipeattach(char *spec)
	lock(&pipealloc);
	if(pipealloc.free == 0){
		unlock(&pipealloc);
		close(c);
		error(Enopipe);
	}
	p = pipealloc.free;

M port/pgrp.c => port/pgrp.c +3 -4
@@ 72,11 72,10 @@ pgrpnote(Pgrp *pg, char *a, long n, int flag)
				unlock(&p->debug);
				continue;
			}
			if(waserror()){
				unlock(&p->debug);
				continue;
			if(!waserror()){
				postnote(p, 0, buf, flag);
				poperror();
			}
			postnote(p, 0, buf, flag);
			unlock(&p->debug);
		}
	}

M power/main.c => power/main.c +1 -1
@@ 629,10 629,10 @@ confinit(void)
	conf.nurp = 25;
	conf.nqueue = 5 * conf.nstream;
	conf.nblock = 10 * conf.nstream;
	conf.npipe = conf.nstream/2;

	confread();

	conf.npipe = conf.nstream/2;	/* must be after confread */
	if(conf.nmach > MAXMACH)
		panic("confinit");
	conf.copymode = 1;		/* copy on reference */