[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: setting _ENV in Lua 5.2 when loading a file...?
- From: David Manura <dm.lua@...>
- Date: Thu, 10 Nov 2011 21:59:19 -0500
On Thu, Nov 10, 2011 at 6:31 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> return load(io.lines(filename, 2^12), filename, 't', env)
If fread fails, does the handle deterministically close?