2011/2/21 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div class="im"><br>
On 21.02.2011, at 14:19, Alexander Lazarević wrote:<br>
<br>
&gt; Ah, you&#39;re right. The Squeak VM gets the file size via stat and does not just read the contents from the file. So for squeak the file looks just empty.<br>
<br>
</div>(FileStream readOnlyFileNamed: &#39;/proc/self/environ&#39;) next: 1e6<br>
<br>
works for me<br></blockquote><div><br>And so<br><br>(FileStream readOnlyFileNamed: &#39;/proc/self/environ&#39;) upToEnd<br><br>also works nicely. conentsOfEntireFile (which is used by the FileList) looks for a size which it gets from a stat and returns no content. Looking at the strace log I was lead to believe it was the VM itself.<br>

<br>Thanks,<br> Bert<br></div></div>