lua-users home
lua-l archive

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


This is the right place to report bugs.

> 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

Do you actually get a crash or just no response from lua.exe?

Try changing the program to
	print(io.open("", ""))

With this change, I get
	bad argument #2 to 'open' (invalid mode)
as expected.