Files

Raab, Andreas Andreas.Raab at disney.com
Mon Feb 14 06:26:50 UTC 2000


Andres,

Opening files multiple times works as long as one of the copies is
read-only. This prevents accidentally destroying a file while it's in use.

  Andreas

> -----Original Message-----
> From: Andres Valloud [mailto:sqrmax at cvtci.com.ar]
> Sent: Sunday, February 13, 2000 9:02 PM
> To: Squeak
> Cc: recipient list not shown
> Subject: Files
> 
> 
> Hi.
> 
> I have two questions. The first: why is it that Squeak cannot open two
> FileStreams on the same file?... the first comes ok, but the second
> comes nil... I see it has something to do with fileIds, but I do not
> know how that works neither if there is an obvious reason why this
> should not be allowed.
> 
> The second question: some time ago, there was some discussion in this
> list about file I/O buffering in Squeak --- if my memory is doing fine
> without ECC. I am about to implement stream buffering, caching, and
> stream sequencing. Stream sequencing means the ability to 
> have a stream
> that is made up of several other streams, with optional reset and read
> limits other than 0 and aStream size. I had posted a 
> prototype of stream
> sequencing a while ago. It has grown, and now I need buffering and
> caching. I would like to know if there is something being done in
> connection with any of these...
> 
> Thanks!
> Andres.
> 





More information about the Squeak-dev mailing list