[squeak-dev] Re: Spur vs Cog: FileDirectory paths

Eliot Miranda eliot.miranda at gmail.com
Thu Sep 11 23:09:43 UTC 2014


On Thu, Sep 11, 2014 at 1:01 PM, Frank Shearar <frank.shearar at gmail.com>
wrote:

> Hi Eliot,
>
> OK, the good news is it's not a Spur bug. I mistakenly checked spur +
> trunk46-image.image against cog + trunk-fully-updated. Not the same
> thing.
>
> The bad news is that
>
> FileDirectory default on:
> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/' gives
>
> 'C:\Users\frsheara\squeak-ci\target\C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'.
>
> But I'm OK with being told "#on: should only take a relative path,
> indicating a subdirectory of FileDirectory default; it's not a bug".
>

Bah, I'd fix it.  I fixed it for unix.  It's only a little bit of checking
to see if the path starts with letter colon.


> Chris' snippet looks way better, and works like I want it to. So I
> think I'll snitch it and submit it to Trunk.
>
> Sorry for the false alarm!
>

No probs.


>
> frank
>
>
> On 10 September 2014 23:12, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> > Hi Frank,
> >
> >     I did take a quick look at this but am having difficulty reproducing
> it.
> > Whats your exact context?  i.e. is C:\Users\frsheara a mount or a
> directory
> > on Windows?  What version of Windows are you running?  This does look
> like a
> > worrying bug...
> >
> > On Wed, Sep 10, 2014 at 2:36 PM, Frank Shearar <frank.shearar at gmail.com>
> > wrote:
> >>
> >> So this is getting in between me and running/testing external packages
> >> on Spur. The snippet above comes from SqueakMap
> >> (SMFileCache>>directoryForPackageRelease:), so maybe there's a
> >> workaround we can do just by changing how that method uses
> >> FileDirectory?
> >>
> >> (Although it does concern me that different VMs are behaving so
> >> differently.)
> >>
> >> frank
> >>
> >> On 9 September 2014 17:47, Frank Shearar <frank.shearar at gmail.com>
> wrote:
> >> > On 9 September 2014 17:45, Frank Shearar <frank.shearar at gmail.com>
> >> > wrote:
> >> >> On Cog, we have:
> >> >>
> >> >> FileDirectory default on:
> >> >> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
> >> >> => DosFileDirectory on
> >> >> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
> >> >>
> >> >> but on Spur, we have:
> >> >>
> >> >> FileDirectory default on:
> >> >> 'C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
> >> >>  => DosFileDirectory on
> >> >>
> >> >>
> 'C:\Users\frsheara\squeak-ci\target\C:/Users/frsheara/squeak-ci/target/cogspur.r3072/cogspurwin/'
> >> >>
> >> >> Obviously, they can't _both_ be right.
> >> >
> >> > (Cog r3072, natch)
> >> >
> >> > frank
> >
> >
> >
> >
> > --
> > best,
> > Eliot
>



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140911/fbdb35fe/attachment.htm


More information about the Squeak-dev mailing list