Skip to content

Include missing file_mt.lua

Eric Long requested to merge hack3ric/lua-compat53:missing-file into main

Currently requireing compat53 fails:

$ lua5.1 -e 'require("compat53")'
lua5.1: /usr/share/lua/5.1/compat53/init.lua:27: module 'compat53.file_mt' not found:
	no field package.preload['compat53.file_mt']
	no file './compat53/file_mt.lua'
	no file '/usr/share/lua/5.1/compat53/file_mt.lua'
	no file '/usr/share/lua/5.1/compat53/file_mt/init.lua'
	no file '/usr/lib/lua/5.1/compat53/file_mt.lua'
	no file '/usr/lib/lua/5.1/compat53/file_mt/init.lua'
	no file './compat53/file_mt.so'
	no file '/usr/lib/lua/5.1/compat53/file_mt.so'
	no file '/usr/lib/lua/5.1/loadall.so'
	no file './compat53.so'
	no file '/usr/lib/lua/5.1/compat53.so'
	no file '/usr/lib/lua/5.1/loadall.so'
stack traceback:
	[C]: in function 'require'
	/usr/share/lua/5.1/compat53/init.lua:27: in main chunk
	[C]: in function 'require'
	(command line):1: in main chunk
	[C]: ?

Merge request reports