]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/encodings/encodings.factor
io: Make stream-contents call stream-contents* and do the disposal in the top-level...
[factor.git] / core / io / encodings / encodings.factor
index aa5d3af93e0e7ba47b6778991a4edeea93882599..b0b5ff7f7e4d94306d56b345226d3ea6b7c71b57 100644 (file)
@@ -93,8 +93,8 @@ M: decoder stream-read-unsafe
         ] [ 2drop 2drop 0 ] if*
     ] if ; inline
 
-M: decoder stream-contents
-    (stream-contents-by-element) ;
+M: decoder stream-contents*
+    (stream-contents-by-element) ; inline
 
 : line-ends/eof ( stream str -- str ) f like swap cr- ; inline