HomeFreeBSD

loader: Change version calculation to be more consistent.

Description

loader: Change version calculation to be more consistent.

Use 1000 * major + minor when calculating the version number that
gets set in the Ficl environment or lua loader property. This allows
for more room if the minor number needs to go above 9.

Add loader.version property to lua loader.

Reviewed by: imp
Obtained from: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D39631

Details

Provenance
stevekAuthored on Apr 17 2023, 11:27 PM
Reviewer
imp
Differential Revision
D39631: loader: Change version calculation to be more consistent.
Parents
rG010795fc824c: libz: Move NO_WDEPRECATED_NON_PROTOTYPE below include of bsd.lib.mk.
Branches
Unknown
Tags
Unknown