Re: [Pharo-project] readonly status conflict with reading
Oct. 9, 2010
8:08 p.m.
On Oct 9, 2010, at 3:48 PM, Levente Uzonyi wrote:
On Sat, 9 Oct 2010, Stéphane Ducasse wrote:
Hi john
When I set on mac a file to readonly, I get nil when I do FileStream named: 'foo.txt'
I guess that's #fileNamed:, not #named:. When you send that method, you're trying to open the file in read-write mode. If you just want to read from a file then use #readOnlyFileNamed:.
Yes stupid me. I really do not like this file operation names. Stef
5774
Age (days ago)
5774
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéphane Ducasse