Author: fperrad
Date: Fri Dec 12 02:23:07 2008
New Revision: 33827
Modified:
trunk/languages/lua/src/lib/luaio.pir
Log:
[Lua]
- fix test io_33
Modified: trunk/languages/lua/src/lib/luaio.pir
==============================================================================
--- trunk/languages/lua/src/lib/luaio.pir (original)
+++ trunk/languages/lua/src/lib/luaio.pir Fri Dec 12 02:23:07 2008
@@ -309,7 +309,8 @@
unless $I0 goto L1
.local pmc toclose
toclose = find_lex 'upvar_toclose'
- unless toclose goto L1
+ $I0 = toclose
+ unless $I0 goto L1
aux_close(file)
L1:
.return (res)
@@ -605,6 +606,8 @@
Returns a handle for a temporary file. This file is open in update mode and
it is automatically removed when the program ends.
+TODO: rewrite with a StringHandle
+
=cut
.sub 'tmpfile'