[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: file:write error handling behavior
- From: David Manura <dm.lua@...>
- Date: Tue, 20 Jan 2009 09:40:53 -0500
On Tue, Jan 20, 2009 at 12:08 AM, Etan Reisner wrote:
> Aren't these functions covered by "Unless otherwise stated, all I/O
> functions return nil on failure (plus an error message as a second result
> and a system-dependent error code as a third result) and some value
> different from nil on success." from the top of the section?
True, missed that.
> Though that doesn't cover file:lines throwing an error
> and I'd argue that the file:seek specific text is unnecessary (given the above).
Yes.