History

netbsd fix

Russ Cox committed 20 years ago

Commit f067fbc1 parent c5ee3aa1 file · +2 −0Browse files

Unified · Split

kern/sysfile.c+2−0
@@ -419,11 +419,13 @@ kread(int fd, void *buf, long n, vlong *offp) · 418 unmodified lines
419419 return n;
420420 }
421421
422+/* name conflicts with netbsd
422423 long
423424 _sys_read(int fd, void *buf, long n)
424425 {
425426 return kread(fd, buf, n, nil);
426427 }
428+*/
427429
428430 long
429431 _syspread(int fd, void *buf, long n, vlong off)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t