pkgconf_pkg_parser_version_func: fix whitespace detection #204
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "fix-version-whitespace-detect"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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.
This fixes all the warnings like:
Thanks!