From 5f9474fac5088431663a3fe316e85230b9b2cacf Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Sat, 6 Oct 1990 00:00:00 +0000 Subject: [PATCH] Plan 9 from Bell Labs 1990-10-06 --- gnot/chan.c | 2 +- gnot/main.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gnot/chan.c b/gnot/chan.c index 955e8bf6d13d93a0e9e31c300eed338f0529af93..335371736d213e8bb51ab77f3d26e5680214d6ab 100644 --- a/gnot/chan.c +++ b/gnot/chan.c @@ -479,7 +479,7 @@ namec(char *name, int amode, int omode, ulong perm) name = skipslash(name); }else if(name[0] == '#'){ mntok = 0; - if(name[1]=='|' || name[1]=='M') + if(name[1]=='M') error(0, Enonexist); t = devno(name[1], 1); if(t == -1) diff --git a/gnot/main.c b/gnot/main.c index 6ff806a9a6ddb6472b368b8a8712ed01cdb80cf4..a6fcdec9aa901fdf366d365fc5c626e8c81f72ae 100644 --- a/gnot/main.c +++ b/gnot/main.c @@ -325,4 +325,5 @@ confinit(void) conf.nfont = 10*mul; conf.nurp = 32; conf.nasync = 1; + conf.npipe = conf.nstream/2; }