Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:fisu81
burrtools
buildfix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File buildfix.diff of Package burrtools
diff -ur burrtools-0.5.1/src/lua/luaclass.cpp burrtools-0.5.1-patched/src/lua/luaclass.cpp --- burrtools-0.5.1/src/lua/luaclass.cpp 2009-04-29 18:44:39.000000000 +0300 +++ burrtools-0.5.1-patched/src/lua/luaclass.cpp 2009-05-03 23:00:12.000000000 +0300 @@ -55,10 +55,10 @@ /* functions to evaluate lua code */ int luaClass_c::doFile(const char *fname) { - luaL_loadfile(L, fname) || lua_pcall(L, 0, 0, 0); + return luaL_loadfile(L, fname) || lua_pcall(L, 0, 0, 0); } int luaClass_c::doString(const char *code) { - luaL_loadbuffer(L, code, strlen(code), "line") || lua_pcall(L, 0, 0, 0); + return luaL_loadbuffer(L, code, strlen(code), "line") || lua_pcall(L, 0, 0, 0); } /* functions that allow calling lua functions @@ -73,7 +73,11 @@ void luaClass_c::callV(const char * fname, lua_Number p1) { } lua_Number luaClass_c::callN(const char * fname) { + lua_Number num; + return num; } lua_Number luaClass_c::callN(const char * fname, lua_Number p1) { + lua_Number num; + return num; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor