fix multiple using warning in stage1, core can't use io.encodings.binary

Doug Coleman 2009-05-17 18:05:46 -05:00
parent 12fe69f83f
commit 31e5090892
2 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
! Copyright (C) 2004, 2009 Slava Pestov.
! See http://factorcode.org/license.txt for BSD license.
USING: arrays debugger generic hashtables io assocs kernel.private
kernel math memory namespaces make parser prettyprint sequences
vectors words system splitting init io.files vocabs vocabs.loader
debugger continuations ;
USING: arrays assocs continuations debugger generic hashtables
init io io.files kernel kernel.private make math memory
namespaces parser prettyprint sequences splitting system
vectors vocabs vocabs.loader words ;
QUALIFIED: bootstrap.image.private
IN: bootstrap.stage1

View File

@ -1,7 +1,7 @@
! Copyright (c) 2008 Slava Pestov
! See http://factorcode.org/license.txt for BSD license.
USING: accessors io io.backend io.files kernel math math.parser
sequences vectors io.encodings.binary quotations ;
sequences vectors quotations ;
IN: checksums
MIXIN: checksum
@ -39,7 +39,7 @@ GENERIC: get-checksum ( checksum -- value )
] with-input-stream ;
: add-checksum-file ( checksum-state path -- checksum-state )
binary <file-reader> add-checksum-stream ;
normalize-path (file-reader) add-checksum-stream ;
GENERIC: checksum-bytes ( bytes checksum -- value )