From 901ae474300d70bcc00e7e0b420ca87c8cbf6f55 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 30 Dec 2018 20:24:37 -0800 Subject: 4899 Bug in my linkify tool introduced in commit 4891. --- html/subx/058read.subx.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/subx/058read.subx.html') diff --git a/html/subx/058read.subx.html b/html/subx/058read.subx.html index 2c54adce..27b20a0e 100644 --- a/html/subx/058read.subx.html +++ b/html/subx/058read.subx.html @@ -114,7 +114,7 @@ if ('onhashchange' in window) { 52 b8/copy-to-EAX 1/imm32/exit 53 cd/syscall 0x80/imm8 54 - 55 read: # f : fd or (address stream), s : (address stream) -> num-bytes-read/EAX + 55 read: # f : fd or (address stream), s : (address stream) -> num-bytes-read/EAX 56 # . prolog 57 55/push-EBP 58 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -180,7 +180,7 @@ if ('onhashchange' in window) { 118 # Unclear how I'd use it, though. Callers seem to need the check anyway. 119 # Maybe a better helper would be 'empty-stream?' 120 -121 _read: # fd : int, s : (address stream) -> num-bytes-read/EAX +121 _read: # fd : int, s : (address stream) -> num-bytes-read/EAX 122 # . prolog 123 55/push-EBP 124 89/copy 3/mod/direct 5/rm32/EBP . . . 4/r32/ESP . . # copy ESP to EBP @@ -241,7 +241,7 @@ if ('onhashchange' in window) { 179 180 # - tests 181 -182 test-read-single: +182 test-read-single: 183 # - write a single character into _test-stream, then read from its buffered-file 184 # clear-stream(_test-stream) 185 # . . push args @@ -296,7 +296,7 @@ if ('onhashchange' in window) { 234 # end 235 c3/return 236 -237 test-read-is-stateful: +237 test-read-is-stateful: 238 # - make two consecutive reads, check that their results are appended 239 # clear-stream(_test-stream) 240 # . . push args @@ -358,7 +358,7 @@ if ('onhashchange' in window) { 296 # end 297 c3/return 298 -299 test-read-returns-0-on-end-of-file: +299 test-read-returns-0-on-end-of-file: 300 # - read after hitting end-of-file, check that result is 0 301 # setup 302 # . clear-stream(_test-stream) @@ -415,7 +415,7 @@ if ('onhashchange' in window) { 353 354 == data 355 -356 _test-stream-buffer: +356 _test-stream-buffer: 357 # current write index 358 00 00 00 00 359 # current read index -- cgit 1.4.1-2-gfad0