about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-12-04 09:57:40 -0800
committerKartik Agaram <vc@akkartik.com>2018-12-04 09:57:40 -0800
commit768093cd94eda44f869f45ea90f941f55c09a0ba (patch)
tree387aff0e3155faba5ce27e012eff16d36b7df6d4
parent381d80f8a4dc52849564eba1b9245118bc1d84e1 (diff)
downloadmu-768093cd94eda44f869f45ea90f941f55c09a0ba.tar.gz
4835
-rw-r--r--html/subx/062write-byte.subx.html2
-rw-r--r--subx/062write-byte.subx2
2 files changed, 2 insertions, 2 deletions
diff --git a/html/subx/062write-byte.subx.html b/html/subx/062write-byte.subx.html
index c3d9ca0d..f06ea8b9 100644
--- a/html/subx/062write-byte.subx.html
+++ b/html/subx/062write-byte.subx.html
@@ -115,7 +115,7 @@ if ('onhashchange' in window) {
 <span id="L50" class="LineNr"> 50 </span>    <span class="subxComment"># if (f-&gt;write &gt;= f-&gt;length) flush and clear stream</span>
 <span id="L51" class="LineNr"> 51 </span>    3b/compare                      1/mod/*+disp8   6/rm32/ESI   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          1/r32/ECX   0xc/disp8      <span class="CommentedCode"> . </span>                <span class="subxComment"># compare ECX with *(ESI+12)</span>
 <span id="L52" class="LineNr"> 52 </span>    7c/jump-if-lesser  $write-byte:to-stream/disp8
-<span id="L53" class="LineNr"> 53 </span>    <span class="subxS1Comment"># . flush-buffered-file(f)</span>
+<span id="L53" class="LineNr"> 53 </span>    <span class="subxS1Comment"># . flush(f)</span>
 <span id="L54" class="LineNr"> 54 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L55" class="LineNr"> 55 </span>    56/push-ESI
 <span id="L56" class="LineNr"> 56 </span>    <span class="subxS2Comment"># . . call</span>
diff --git a/subx/062write-byte.subx b/subx/062write-byte.subx
index 178b5004..de32428e 100644
--- a/subx/062write-byte.subx
+++ b/subx/062write-byte.subx
@@ -50,7 +50,7 @@ write-byte:  # f : (address buffered-file), n : num -> <void>
     # if (f->write >= f->length) flush and clear stream
     3b/compare                      1/mod/*+disp8   6/rm32/ESI    .           .             .           1/r32/ECX   0xc/disp8       .                 # compare ECX with *(ESI+12)
     7c/jump-if-lesser  $write-byte:to-stream/disp8
-    # . flush-buffered-file(f)
+    # . flush(f)
     # . . push args
     56/push-ESI
     # . . call