svn commit: r338438 - head/stand/lua
Kyle Evans
kevans at FreeBSD.org
Mon Sep 3 03:23:10 UTC 2018
Author: kevans
Date: Mon Sep 3 03:23:09 2018
New Revision: 338438
URL: https://svnweb.freebsd.org/changeset/base/338438
Log:
lualoader: Handle comma-separated kernels as well
The format for kernels is documented as being space-delimited, but
forthloader was more lenient on this and so people began to depend on it.
A later pass will be made to document all of the fun features that forthloader
allowed that may not be immediately obvious.
Reported by: mmacy
Approved by: re (kib)
Modified:
head/stand/lua/core.lua
Modified: head/stand/lua/core.lua
==============================================================================
--- head/stand/lua/core.lua Sun Sep 2 21:37:05 2018 (r338437)
+++ head/stand/lua/core.lua Mon Sep 3 03:23:09 2018 (r338438)
@@ -185,7 +185,7 @@ function core.kernelList()
end
if v ~= nil then
- for n in v:gmatch("([^; ]+)[; ]?") do
+ for n in v:gmatch("([^;, ]+)[;, ]?") do
if unique[n] == nil then
i = i + 1
kernels[i] = n
More information about the svn-src-all
mailing list