aboutsummaryrefslogtreecommitdiff
path: root/src/libthread/note.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-12-11 17:48:38 +0000
committerrsc <devnull@localhost>2003-12-11 17:48:38 +0000
commit32f69c36e0eec1227934bbd34854bfebd88686f2 (patch)
tree1587e9de84816b77168afa81c1594cc686809910 /src/libthread/note.c
parentac244f8d287a6119155ea672c8fd13c487c5e4c7 (diff)
Add support for user-level 9P servers/clients and various bug fixes to go with them.
Diffstat (limited to 'src/libthread/note.c')
-rw-r--r--src/libthread/note.c4
1 files changed, 1 insertions, 3 deletions
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)