Squeak 2.0 trouble? (on Mac)
Dan Ingalls
DanI at wdi.disney.com
Fri May 29 21:23:17 UTC 1998
NISHIHARA Satoshi wrote:
> After downloading, plain vanilla setting,
> my browser missed first character of some methods of
> some classes...
>
> ex)
> StringHolderView>>deEmphasizeView
> eEmphasizeView
> (snipped)
>
> StringHolder>>browseMethodFull
> rowseMethodFull
> (snipped)
>
> SystemDictinary>>snapshot:andQuit:
> napshot: save andQuit: quit
> (snipped)
>
>
> How can I fix it?
-----------------------------------------
Your image is probably fine. Your sources file is probably missing one character.
A likely source of this is some automatic text conversion upstream in your process of retriving the sources file.
I have just done a search of SqueakV2.sources, and find that it includes a linefeed character in the method
ServerDirectory>>entries
We should know by now to scan the sources for this character (it was introduced by copying the output of an UNIX directory printout)!
-------------------------------------------
So here's a QUICK FIX (other than retrieving in binary mode):
Open SqueakV2.sources in some robust text editor, and find the method. It begins as follows...
entries
"Return a list of the files here..."
Insert a blank character in a safe place anywhere in that method (to make up for the linefeed that got deleted. Then save that copy (no conversion) over the old one. POOF! Your Squeak source code should all be in sync.
Today I will fix this in our original sources and store a new copy onto the UIUC server. Once that is done, any derivative files with this problem can be re-created, and the problem will go away.
Thank you for your alert!
- Dan
More information about the Squeak-dev
mailing list
|