Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
lua54
execresult.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File execresult.patch of Package lua54
Inspect errno only after failure Index: lua-5.4.6/src/lauxlib.c =================================================================== --- lua-5.4.6.orig/src/lauxlib.c +++ lua-5.4.6/src/lauxlib.c @@ -283,7 +283,7 @@ LUALIB_API int luaL_fileresult (lua_Stat LUALIB_API int luaL_execresult (lua_State *L, int stat) { - if (stat != 0 && errno != 0) /* error with an 'errno'? */ + if (stat == -1) /* error with an 'errno'? */ return luaL_fileresult(L, 0, NULL); else { const char *what = "exit"; /* type of termination */
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