shithub: riscv

Download patch

ref: befae4b650e997dedb1f5a217f5461a9174f7389
parent: 9655db255097b84cf742b7a33c74432d4eb3425a
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Thu May 26 10:54:28 EDT 2011

rio: run kbdproc in with clean fdtable

--- a/sys/src/cmd/rio/rio.c
+++ b/sys/src/cmd/rio/rio.c
@@ -1258,7 +1258,7 @@
 	char *e;
 
 	c = chancreate(sizeof(char*), 16);
-	procrfork(kbdproc, c, STACK, RFFDG);
+	procrfork(kbdproc, c, STACK, RFCFDG);
 	if(e = recvp(c)){
 		chanfree(c);
 		c = nil;