<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On Jan 9, 2016, at 2:46 PM, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 9, 2016 at 12:45 PM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">&nbsp;<br><div dir="auto"><div>My guess is that the VM is being built, wrongly, without 64-bit file sizes.&nbsp; In the Squeak VM this is definitely not 16 bytes.<br><br></div></div></blockquote><div><br></div><div>Hi Eliot,&nbsp;</div><div><br></div><div>Thank you very much!! You nailed it :) &nbsp;It is indeed that the fileSize in Linux VM is 4 bytes and not 8 as for OSX.</div><div><br></div><div>You said that in the SqueakVM it is 64 bits. By SqueakVM you mean your Cog (and not our Pharo builds) or you mean the old interpreter VM?</div><div><br></div><div>Should I open an issue somewhere so that we can make it 64 bits file size?</div></div></div></div></div></blockquote><div><br></div>Yes. &nbsp;This is a painful error. &nbsp;Windows Linux and Mac is all support files &gt; 4gb and Pharo should be able to access them.<div><br><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Thanks advance,</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div><span style="background-color:rgba(255,255,255,0)">_,,,^..^,,,_ (phone)</span></div><div><br>On Jan 9, 2016, at 7:06 AM, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr">Hi guys,<div><br></div><div>In OSX, StandardFileStream byteID size is 20, while in Linux, it is 16. I see this definition in&nbsp;&nbsp;./Cross/plugins/FilePlugin/FilePlugin.h&nbsp;</div><div><div><br></div><div><br></div><div>/* squeak file record; see sqFilePrims.c for details */</div><div>typedef struct {</div><div>&nbsp; int &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;sessionID; &nbsp; &nbsp; /* ikp: must be first */ &nbsp;</div><div>&nbsp; void &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*file;</div><div>&nbsp; squeakFileOffsetType &nbsp; fileSize; &nbsp; &nbsp; &nbsp;/* 64-bits we hope. */</div><div>#if defined(ACORN)</div><div>// ACORN has to have 'lastOp' as at least a 32 bit field in order to work</div><div>&nbsp; int lastOp; // actually used to save file position</div><div>&nbsp; char writable;</div><div>&nbsp; char lastChar;</div><div>&nbsp; char isStdioStream;</div><div>#else</div><div>&nbsp; char &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; writable;</div><div>&nbsp; char &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lastOp; /* 0 = uncommitted, 1 = read, 2 = write */</div><div>&nbsp; char &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lastChar;</div><div>&nbsp; char &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isStdioStream;</div><div>#endif</div><div>} SQFile;</div><div><br></div></div><div>And I see no override from UNIX platform code. So...how can that be 16 bytes in Linux?</div><div><br></div><div>Thanks in advance,&nbsp;</div><div><br></div><div><br clear="all"><div><br></div>-- <br><div>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>
</div></blockquote></div><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br></div>
</div></div>
</div></blockquote></div></body></html>