Commit 869f2a84d68b34a00c34e3434dffd76cd48a4a06

Christoph Reiter 2020-11-28T16:01:16

pkgconf_pkg_parser_version_func: fix whitespace detection In case the version string has no whitespace then strcspn() returns strlen() of the input, so whitespace is only found if len != strlen. This fixes invalid warnings when parsing version fields.