Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106063120
D44143.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
707 B
Referenced Files
None
Subscribers
None
D44143.diff
View Options
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -65,13 +65,7 @@
-- message on failure.
function try_include(module)
if module:sub(1, 1) ~= "/" then
- local lua_path = loader.lua_path
- -- XXX Temporary compat shim; this should be removed once the
- -- loader.lua_path export has sufficiently spread.
- if lua_path == nil then
- lua_path = "/boot/lua"
- end
- module = lua_path .. "/" .. module
+ module = loader.lua_path .. "/" .. module
-- We only attempt to append an extension if an absolute path
-- wasn't specified. This assumes that the caller either wants
-- to treat this like it would require() and specify just the
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 6:37 PM (11 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15597860
Default Alt Text
D44143.diff (707 B)
Attached To
Mode
D44143: loader/lua: Remove compat shim for loader.lua_path
Attached
Detach File
Event Timeline
Log In to Comment