lua-users home
lua-l archive

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


Am 04.10.2015 um 18:13 schröbte Paul K:
Hi Philipp,

Hi!


I mean that when I take Lua 5.3.1 (*without* the fix above), compile
it with mingw as 32bit app on Windows 64bit and run on a file larger
than 2G, I get

nil    "Invalid argument"    22

*With* the fix I get the correct result. Do you get a different result
from vanilla Lua 5.3.1?

Yes, I get a -1 return value from ftell instead when using MinGW. I know the "Invalid argument" error only from Lua (5.1) compiled with Visual C.


Maybe your lua.exe is picking up the wrong DLL?!

Unlikely ;). I double checked.

Paul.


Philipp