<div dir="ltr">I&#39;ll also add that Esteban, Camillo and others did that change with the intention of being backwards compatible. Why does it break in squeak? is somebody checking that the returned array has 5 elements (and no more)?<br><div><br></div><div>Guille</div></div><br><div class="gmail_quote">El vie., 10 de abr. de 2015 a la(s) 11:30 a. m., Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt; escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div>On 10 Apr 2015, at 09:37, Nicolai Hess &lt;<a href="mailto:nicolaihess@web.de" target="_blank">nicolaihess@web.de</a>&gt; wrote:</div><br><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-04-10 5:30 GMT+02:00 Phil (list) <span dir="ltr">&lt;<a href="mailto:pbpublist@gmail.com" target="_blank">pbpublist@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
It appears that there&#39;s a behavior difference between recent Cog and<br>
Pharo/Seaside (which I assume is just the Squeak VM?) </blockquote><div><br></div><div>No, it is pharo only.<br></div><div>Pharo changed the fileplugin because it has a different abstraction<br></div><div>for the platform file system.<br></div><div>Instead of the squeak classes FileDirectory/DirectoryEntry...<br></div><div>it uses the newer in FileSystem-/Disk/Store/Memory.<br><br></div><div>This File API and the underlaying FilePlugin provide<br></div><div>more file attributes (Permissions and isSymlink)<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">VMs: &lt;primitive:<br>
&#39;primitiveDirectoryEntry&#39; module: &#39;FilePlugin&#39;&gt; returns 5 values in Cog<br>
and 7 in Squeak.  The 6th value are the file permissions and the 7th is<br>
a boolean (haven&#39;t looked to see what it represents).<br>
<br>
I noticed this with some Pharo and Seaside images when attempting to<br>
open the world menu -&gt; Tools -&gt; File Browser which results in an error<br>
under Cog.  The cause is DiskStore #basicEntryAt: returning 2 additional<br>
values that Cog currently does not:<br>
<br>
[plug := FilePluginPrims new.<br>
        path := AbsolutePath from: &#39;/tmp&#39;.<br>
        ds := DiskStore current.<br>
        ds basicEntryAt: path] value.<br>
<br>
<br>
Squeak VM returns:  #(&#39;tmp&#39; <a href="tel:3606072933" value="+13606072933" target="_blank">3606072933</a> <a href="tel:3606072933" value="+13606072933" target="_blank">3606072933</a> true 0 511 false)<br></blockquote></div></div></div></div></blockquote></div></div><div style="word-wrap:break-word"><div><div>as Nicolai said, this is not the squeak vm but the pharo vm (which is a Cog, too). </div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div></div></div></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cog VM returns:  #(&#39;tmp&#39; <a href="tel:3606072933" value="+13606072933" target="_blank">3606072933</a> <a href="tel:3606072933" value="+13606072933" target="_blank">3606072933</a> true 0)<br>
<br>
These results were obtained using the VMs from<br>
<a href="http://www.seaside.st/distributions/Seaside-3.1-OneClick-Pharo2.zip" target="_blank">http://www.seaside.st/distributions/Seaside-3.1-OneClick-Pharo2.zip</a> and<br>
<a href="http://www.mirandabanda.org/files/Cog/VM/VM.r3308/coglinux-15.14.3308.tgz" target="_blank">http://www.mirandabanda.org/files/Cog/VM/VM.r3308/coglinux-15.14.3308.tgz</a><br>
<br>
I&#39;m assuming this is not an intentional behavior difference.  But if it<br></blockquote></div></div></div></div></blockquote></div></div><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
is, any details as to why would be appreciated…</blockquote></div></div></div></div></blockquote><div>we added posix permissions and symlink flag. </div><div>and we changed it not because we have a different abstraction, we changed because information was not enough. </div><div>we will add also owner and group soon also, but most probably it will be </div><div><br></div><div>cheers, </div><div>Esteban</div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Thanks,<br>
Phil<br>
<br>
</blockquote></div><br></div></div>
</div></blockquote></div><br></div></blockquote></div>