[FIX][BUG] sourcesName incorrect
Ken Causey
ken at kencausey.com
Mon May 10 20:08:14 UTC 2004
On Mon, 2004-05-10 at 15:05, stéphane ducasse wrote:
> hi ken
>
> I'm really flooded in this moment. So I do not have the time to look at
> it.
>
> > There seems to be a
> > SmalltalkImage instance floating around but I'm not sure if it is in a
> > global or how to access it.)
>
> SmalltalkImage current
>
Ah OK.
>
> In my image I have
>
> SystemDictionary>>sourcesName
> "Answer the full path to the version-stable source code"
> self deprecated: 'Use SmalltalkImage current sourcesName'.
> ^ self vmPath , SourceFileVersionString , FileDirectory dot , 'sources'
>
>
> So what is the problem?
The problem is that this is a lie. That's certainly not where my
sources file is. The sources file can be in about three different
locations and this is only one possibility.
> I checked all the senders of sourcesName and none of them refer to
> SystemDictionary
> but refer to SmalltalkImage current.
OK. But the Smalltalk global is still a SystemDictionary. Should that
not still be around?
Ken
>
> Stef
>
> >
> > I'm still not sure what to do in the case where the Sources file is
> > never loaded though.
> >
> > Ken
> > <AccurateSourcesName-klc.1.cs.gz>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040510/514f5ad7/attachment.pgp
More information about the Squeak-dev
mailing list
|