shithub: drawterm

Download patch

ref: f067fbcaef8aa887f508e50ce9b18de273bb65d7
parent: c5ee3aadd7954e90041dfe7e3ddb3dbcda6d7f2d
author: Russ Cox <[email protected]>
date: Thu Dec 29 16:02:41 EST 2005

netbsd fix

--- a/kern/sysfile.c
+++ b/kern/sysfile.c
@@ -419,11 +419,13 @@
 	return n;
 }
 
+/* name conflicts with netbsd
 long
 _sys_read(int fd, void *buf, long n)
 {
 	return kread(fd, buf, n, nil);
 }
+*/
 
 long
 _syspread(int fd, void *buf, long n, vlong off)