summaryrefslogtreecommitdiff
path: root/docs/jsonvalidator.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-09-01 17:23:29 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-09-26 02:36:15 -0400
commit5b317c5658f5865aea76b5a5afda2cdc8bd50959 (patch)
tree9bb31e094a59d2c64faf94d8b2fcc07c5a55811d /docs/jsonvalidator.py
parentfb6fd5aa1770970e94968b302dfe3026aa08e245 (diff)
downloadmeson-5b317c5658f5865aea76b5a5afda2cdc8bd50959.tar.gz
compilers: use correct version comparison for openbsd libraries
It should *be* a version comparison. We are guaranteed to get a two-element version number, which also parses as a float but a float doesn't correctly handle version sorting when the second component differs in number of digits. The standard way to handle this is by comparing tuples such that each component is an integer. Do so here. Fixes #12195 Co-authored-by: George Koehler <xkernigh@netscape.net> (for unittests)
Diffstat (limited to 'docs/jsonvalidator.py')
0 files changed, 0 insertions, 0 deletions