lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I get the same result in Lua 5.1.4 on Win8.1. However, the bug does
not occur in 5.3.0 on Ubuntu 14.04; Lua instead throws an error "bad
argument #2 to 'open' (invalid mode)".

On Sun, Mar 29, 2015 at 6:45 PM, Jonne Ransijn <yoyoyonny@gmail.com> wrote:
> http://i.imgur.com/sdtLAyU.png
>
> 2015-03-30 0:07 GMT+02:00 Jonne Ransijn <yoyoyonny@gmail.com>:
>>
>> Lua 5.1.4, Windows 8.1
>>
>> 2015-03-29 23:36 GMT+02:00 Thijs Schreijer <thijs@thijsschreijer.nl>:
>>>
>>> What Lua version, what os and what version...
>>>
>>> Op 29 mrt. 2015 23:15 schreef Jonne Ransijn <yoyoyonny@gmail.com>:
>>> Steps to reproduce:
>>> 1.    Create program containing: io.open("", "")
>>> 2.    Execute program
>>> Expected result:
>>> error: file name cannot be empty
>>> Actual result:
>>> crash: lua.exe doesn't react
>>> NB: I couldn't find a actual bug report platform, and my experience with
>>> the mailing list has learnt me that there aren't many bug reports here. I
>>> hope this is the right place; http://www.lua.org/faq.html#2.3 wasn't very
>>> specific.
>>
>>
>