[armedbear-cvs] r12327 - trunk/abcl/src/org/armedbear/lisp/util

Erik Huelsmann ehuelsmann at common-lisp.net
Sat Jan 2 23:20:33 UTC 2010


Author: ehuelsmann
Date: Sat Jan  2 18:20:28 2010
New Revision: 12327

Log:
Note 2 bugs in RandomAccessCharacterFile so the fact doesn't get forgotten.


Modified:
   trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java

Modified: trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java
==============================================================================
--- trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java	(original)
+++ trunk/abcl/src/org/armedbear/lisp/util/RandomAccessCharacterFile.java	Sat Jan  2 18:20:28 2010
@@ -72,6 +72,8 @@
             } else {
                 return -1;
             }
+            // ### BUG: 'int read()' is to return a *codepoint*,
+            // not the half of a surrogate pair!
         }
 
         @Override
@@ -191,6 +193,8 @@
                 return read_buf[0];
             else
                 return -1;
+            // ### BUG: 'int read()' is to return a codepoint!
+            // not the half of a surrogate pair!
         }
 
         @Override




More information about the armedbear-cvs mailing list