we changed that not so long ago :) but it will do the same.... the problem will be that the VM primitive might not follow symlinks (that would explain the first line)
no clue though why it should return false for '/private/var'... On 2012-04-26, at 13:58, Sven Van Caekenberghe wrote: > Hi Alexis, > > On 26 Apr 2012, at 13:49, Alexis Parseghian wrote: > >> On Thu, Apr 26, 2012 at 12:47 PM, Sven Van Caekenberghe <[email protected]> >> wrote: >>> '/tmp' asReference isDirectory. false >>> '/private/tmp' asReference isDirectory. false >>> >>> '/Users/sven' asReference isDirectory. true >>> '/Users/sven/Desktop' asReference isDirectory. true >>> >>> on Pharo 1.4 Mac OS X Cog VM. >> >> For what it's worth, working as expected on Linux (using either >> deprecated asReference or asFileReference) : >> >> /tmp true >> /home/alexisp true >> /nosuchpath false >> >> Pharo 1.4-14438 >> 'CoInterpreter VMMaker-oscog-EstebanLorenzano.139 uuid: >> 5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Jan 26 2012, >> StackToRegisterMappingCogit VMMaker-oscog-EstebanLorenzano.139 uuid: >> 5aa53979-d7d8-4ca3-91fe-cfc3b4109c33 Jan 26 2012, >> https://git.gitorious.org/cogvm/blessed.git Commit: >> e49a136ea9fe909dd5ba3cdeffac8f61cce27c9f Date: Thu Jan 26 17:38:06 >> 2012 +0100 By: Camillo Bruni <[email protected]>' > > I was afraid of that ;-) > > I don't have #asFileReference in my Pharo 1.4 image and #asReference is not > deprecated, is that new ? > > Sven
