History

20090728-1755

forsyth committed 17 years ago

Commit 438622d1 parent 90f33ff2 files · +2 −0Browse files

Unified · Split

2 files
  1. appl/lib/bufio.b +3 −1
  2. dis/lib/bufio.dis +0 −0
appl/lib/bufio.b+3−1
@@ -171,8 +171,10 @@ Iobuf.seek(b: self ref Iobuf, off: big, start: int): big · 170 unmodified lines
171 return big ERROR;171 return big ERROR;
172 b.size = 0;172 b.size = 0;
173 b.index = 0;173 b.index = 0;
174 if ((s := sys->seek(b.fd, off, start)) < big 0)174 if ((s := sys->seek(b.fd, off, start)) < big 0) {
175 b.bufpos = b.filpos;
175 return big ERROR;176 return big ERROR;
177 }
176 b.bufpos = b.filpos = s;178 b.bufpos = b.filpos = s;
177 return s;179 return s;
178}180}
dis/lib/bufio.dis+0−0

Binary file not shown.

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