[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaL_loadfilex works fine only once per session under Windows.
- From: Dirk Laurie <dirk.laurie@...>
- Date: Tue, 21 Jan 2014 10:47:59 +0200
2014/1/21 Thijs Schreijer <thijs@thijsschreijer.nl>:
> Fwiw; Mingw build does exactly the same (msvcrt.dll runtime)
> "Cezary H. Noweta" <chn@poczta.onet.pl>schreef:
> Lua 5.2.3 Copyright (C) 1994-2013 Lua.org, PUC-Rio
>> loadfile()()
> print("Hello,")
> ^Z
> Hello,
>> loadfile()()
> print(" world!")
> stdin:1: attempt to call a nil value
> stack traceback:
> stdin:1: in main chunk
> [C]: in ?
>> stdin:1: attempt to call global 'rint' (a nil value)
> stack traceback:
> stdin:1: in main chunk
> [C]: in ?
And also on a Linux build (Ubuntu 12.04, "make linux")