[FIX][BUG] 2.8 AsyncFilePlugin had reversed byte/word logic

John M McIntosh johnmci at smalltalkconsulting.com
Thu Aug 10 21:01:30 UTC 2000


The Async file plugin interface is checking for byte or word sized arrays,
this check was wrong and cause the primitive to write out 4x more data than
required, reading also attempted to read in 4x too much data but another
feature prevented that from being an issue since we instruct the primitive
to read data based on byte counts, not word counts. This too is a problem
but the primitive does not know the byte/word type of the smalltalk buffer
when it is asked to start reading data!


You must of course build a new VM for this fix to take affect.
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/mac-binhex40
Size: 1796 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000810/a74ed0d4/attachment.hqx


More information about the Squeak-dev mailing list