fixing loadstring() Lua5.3 issue

This commit is contained in:
Axel Kittenberger 2018-03-09 10:42:10 +01:00
parent f3d65770cd
commit 99b6b18ac2
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@
a trailing '/' to it, since that would change it from homedir to rootdir!
add: example for Amazon S3 Bucket (Daniel Miranda)
fix: setting stdout/stderr to linebuffer mode.
fix: Lua5.3 compatiblity, using load() instead of loadstring()
Lua5.1 support was thus dropped
2017-02-16: 2.2.2
fix: checkgauge 'insist'

View File

@ -5031,7 +5031,7 @@ function runner.initialize( firstTime )
then
local ft = functionWriter.translate( config[ fn ] )
config[ fn ] = assert( loadstring( 'return '..ft ) )( )
config[ fn ] = assert( load( 'return '..ft ) )( )
end
end
end