[squeak-dev] Copying the sources file

John M McIntosh johnmci at smalltalkconsulting.com
Wed Mar 31 08:32:38 UTC 2010


On 2010-03-31, at 12:08 AM, Andreas Raab wrote:

> That fails as well. Help! What am I doing wrong? How does one copy the sources file properly and why do the above methods not work?
> 
> Cheers,
>  - Andreas


Well both streams are those funky 
MultiByteFileStream

Soooo.

(a) your UTF8 data in the SourceFiles at: 1 is bad? 
(b) your MultiByteFileStream reader code is bad? 
(c) your MultiByteFileStream writer code is bad? 
(d) newFile position = sourcesFile size  isn't what you think it is/does... 

Or combinations of above. 

Likely you want to run some nice text compare tool on the two files outside of squeak and see how
sane things are. 

--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com>   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2445 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100331/90527ead/smime.bin


More information about the Squeak-dev mailing list