<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"> <br><div dir="auto"><div>My guess is that the VM is being built, wrongly, without 64-bit file sizes.  In the Squeak VM this is definitely not 16 bytes.<br><br></div></div></blockquote><div><br></div><div>Hi Eliot, </div><div><br></div><div>Thank you very much!! You nailed it :)  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><br></div><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  ./Cross/plugins/FilePlugin/FilePlugin.h </div><div><div><br></div><div><br></div><div>/* squeak file record; see sqFilePrims.c for details */</div><div>typedef struct {</div><div>  int                    sessionID;     /* ikp: must be first */  </div><div>  void                  *file;</div><div>  squeakFileOffsetType   fileSize;      /* 64-bits we hope. */</div><div>#if defined(ACORN)</div><div>// ACORN has to have &#39;lastOp&#39; as at least a 32 bit field in order to work</div><div>  int lastOp; // actually used to save file position</div><div>  char writable;</div><div>  char lastChar;</div><div>  char isStdioStream;</div><div>#else</div><div>  char                   writable;</div><div>  char                   lastOp; /* 0 = uncommitted, 1 = read, 2 = write */</div><div>  char                   lastChar;</div><div>  char                   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, </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>