[FIX] SMFix

Karl Ramberg karl.ramberg at chello.se
Thu Oct 9 09:13:11 UTC 2003



goran.krampe at bluefish.se wrote:
> 
> Hi Karl!
> 
> First of all - your patched methods actually belongs to the package "SM
> Package Loader" that Daniel maintains. But the problem exists in
> "SqueakMap Base" too. BUT...
> 
> Your fix is proposing that I should use "new" instead. So instead of
> (example code):
> 
>         FileDirectory default directoryNamed: 'sm'
> 
> ...you want:
> 
>         FileDirectory new directoryNamed: 'sm'
> 
> ...but that simply doesn't work under Windows. So sorry, I think we
> should instead try to fix the problem on the Mac Classic. What is it
> that happens?
> 
> And besides - "FileDirectory default" is used all over the image...
> 
What do you get if you print on Windows: 
FileDirectory default directoryNamed:(FileDirectory default fullName)

On mac I get the path twice:  MacFileDirectory on 'Video:Squeak3.6a:Video:Squeak3.6a'
But if I use new I get: 

FileDirectory new directoryNamed:(FileDirectory default fullName) =>
MacFileDirectory on 'Video:Squeak3.6a'

Karl



More information about the Squeak-dev mailing list