Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177792982
D61843.1795296398.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
739 B
Referenced Files
None
Subscribers
None
D61843.1795296398.diff
View Options
diff --git a/stand/lua/config.lua b/stand/lua/config.lua
--- a/stand/lua/config.lua
+++ b/stand/lua/config.lua
@@ -538,7 +538,7 @@
return silent
end
- if name:match(".lua$") then
+ if name:match("%.lua$") then
local cfg_env = setmetatable({}, {
indices = {},
__index = function(env, key)
diff --git a/stand/lua/core.lua b/stand/lua/core.lua
--- a/stand/lua/core.lua
+++ b/stand/lua/core.lua
@@ -77,7 +77,7 @@
-- to treat this like it would require() and specify just the
-- base filename, or they know what they're doing as they've
-- specified an absolute path and we shouldn't impede.
- if module:match(".lua$") == nil then
+ if module:match("%.lua$") == nil then
module = module .. ".lua"
end
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 21, 9:26 PM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41896154
Default Alt Text
D61843.1795296398.diff (739 B)
Attached To
Mode
D61843: lualoader: match the .lua extension literally
Attached
Detach File
Event Timeline