Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115948144
D43821.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
684 B
Referenced Files
None
Subscribers
None
D43821.diff
View Options
diff --git a/stand/liblua/lutils.c b/stand/liblua/lutils.c
--- a/stand/liblua/lutils.c
+++ b/stand/liblua/lutils.c
@@ -639,6 +639,16 @@
lua_setfield(L, -2, "lua_path");
lua_pushinteger(L, bootprog_rev);
lua_setfield(L, -2, "version");
+ lua_pushinteger(L, CMD_OK);
+ lua_setfield(L, -2, "CMD_OK");
+ lua_pushinteger(L, CMD_WARN);
+ lua_setfield(L, -2, "CMD_WARN");
+ lua_pushinteger(L, CMD_ERROR);
+ lua_setfield(L, -2, "CMD_ERROR");
+ lua_pushinteger(L, CMD_CRIT);
+ lua_setfield(L, -2, "CMD_CRIT");
+ lua_pushinteger(L, CMD_FATAL);
+ lua_setfield(L, -2, "CMD_FATAL");
lua_add_features(L);
/* Set global printc to loader.printc */
lua_register(L, "printc", lua_printc);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 1, 6:31 PM (13 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17888462
Default Alt Text
D43821.diff (684 B)
Attached To
Mode
D43821: loader: export the CMD_ constants in loader table
Attached
Detach File
Event Timeline
Log In to Comment