Date: Mon, 3 Sep 2018 03:23:10 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338438 - head/stand/lua Message-ID: <201809030323.w833NAFC028686@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809030323.w833NAFC028686>