<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">3606072933</a> <a href="tel:3606072933" value="+13606072933">3606072933</a> true 0 511 false)<br>
Cog VM returns:  #(&#39;tmp&#39; <a href="tel:3606072933" value="+13606072933">3606072933</a> <a href="tel:3606072933" value="+13606072933">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>
is, any details as to why would be appreciated...<br>
<br>
Thanks,<br>
Phil<br>
<br>
</blockquote></div><br></div></div>