lua-users home
lua-l archive

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


Eike Decker wrote:
Hi

I am experiencing a problem:

Lua 5.1.2  Copyright (C) 1994-2007 Lua.org, PUC-Rio
require "lfs"
f = assert(io.open("test","r"))
print(lfs.lock(f,"w"))

(lfs version = 1.3.0)


Hi. lfs needs to be linked to msvcrt. It's crashing because it tries to operate on a file handle corresponding to another copy of the runtime. Since you mention that version 1.2 of lfs was only 28kb, it seems that the link settings have been changed by mistake.

Regards,
Ignacio Burgueño