From 32f69c36e0eec1227934bbd34854bfebd88686f2 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 11 Dec 2003 17:48:38 +0000 Subject: Add support for user-level 9P servers/clients and various bug fixes to go with them. --- src/libthread/note.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libthread/note.c') diff --git a/src/libthread/note.c b/src/libthread/note.c index b7f4b137..b25f2b23 100644 --- a/src/libthread/note.c +++ b/src/libthread/note.c @@ -2,7 +2,6 @@ int _threadnopasser; -#ifdef NOTDEF #define NFN 33 #define ERRLEN 48 typedef struct Note Note; @@ -85,7 +84,7 @@ _threadnote(void *v, char *s) Note *n; _threaddebug(DBGNOTE, "Got note %s", s); - if(strncmp(s, "sys:", 4) == 0) + if(strncmp(s, "sys:", 4) == 0 && strcmp(s, "sys: write on closed pipe") != 0) noted(NDFLT); // if(_threadexitsallstatus){ @@ -112,7 +111,6 @@ _threadnote(void *v, char *s) delayednotes(p, v); noted(NCONT); } -#endif int _procsplhi(void) -- cgit v1.2.3