2017-02-23 10:08 GMT+01:00 Tobias Pape Das.Linux@gmx.de:
I'm onto (2), and frankly, I was surprised to learn that:
squeak-dir$ mkdir foo squeak-dir$ chmod -w foo
and then (FileDirectory default / 'foo') newFileNamed: 'bar'. "==> nil"
this Must Not happen.
What do you expect instead, an Exception? In StandardFileStream open:forWrite: it reads
fileID ifNil: [^ nil]. "allows sender to detect failure"
which means some indirect senders do not seem to pay attention properly.
On 23.02.2017, at 12:25, Jakob Reschke jakob.reschke@student.hpi.de wrote:
2017-02-23 10:08 GMT+01:00 Tobias Pape Das.Linux@gmx.de:
I'm onto (2), and frankly, I was surprised to learn that:
squeak-dir$ mkdir foo squeak-dir$ chmod -w foo
and then (FileDirectory default / 'foo') newFileNamed: 'bar'. "==> nil"
this Must Not happen.
What do you expect instead, an Exception? In StandardFileStream open:forWrite: it reads
fileID ifNil: [^ nil]. "allows sender to detect failure"
which means some indirect senders do not seem to pay attention properly.
All of them…
squeak-dev@lists.squeakfoundation.org