pkgconf/libpkgconf
Doug Freed f58d54e77b pkg: make pkgconf_compare_version consistent
The code taken from rpmvercmp in pkg-config returns -1 if a is less than
b, 0 if a is equal to b, and 1 if a is greater than b. This matches the
expectations of the comparison operators that use this function.
However, the tilde handling, the NULL handling, and the docstring all do
the opposite.

This fixes the tilde handling, the NULL handling, and the docstring to
match the behavior of the rpmvercmp code and the expectations of the
comparison operators.
2023-01-22 09:57:34 +00:00
..
argvsplit.c fix missing backslashes in paths on Windows 2020-05-30 12:39:43 -06:00
audit.c libpkgconf: document audit module 2016-12-10 19:28:34 -06:00
bsdstubs.c Minimal tweaks to compile with Visual C 2015 2017-06-04 19:19:55 -07:00
bsdstubs.h normalize include guards. closes #33 2019-05-25 16:00:09 -05:00
cache.c libpkgconf: cache: fix refcount issue exposed by recent depgraph solver changes 2017-12-08 13:39:40 -06:00
client.c fix the order of header includes 2019-06-08 04:55:52 +03:00
config.h.meson Remove usage of cygwin_conv_path() under cygwin/msys 2021-03-20 06:58:53 -08:00
dependency.c libpkgconf: dependency: fix out of boundary write 2020-05-26 14:03:55 -06:00
fileio.c libpkgconf: fileio: pkgconf_fgetline(): handle quoted=true when a comment introduction is encountered 2021-03-18 05:45:41 -06:00
fragment.c libpkgconf: fragment: fix out of boundary write 2020-05-30 19:05:53 -06:00
iter.h normalize include guards. closes #33 2019-05-25 16:00:09 -05:00
libpkgconf-api.h normalize include guards. closes #33 2019-05-25 16:00:09 -05:00
libpkgconf.h implement pkgconf_cross_personality_deinit 2021-07-24 06:08:25 -05:00
meson.build meson: install headers into pkgconf/libpkgconf instead of just libpkgconf 2020-11-28 19:42:00 -07:00
parser.c Ignore whitespace indentation 2023-01-22 09:57:29 +00:00
path.c Rework path handling on native Windows 2021-03-20 06:59:38 -08:00
personality.c personality: do not perform path filtering on default SYSTEM_INCLUDE_PATHS and SYSTEM_LIBRARY_PATHS 2021-07-24 20:06:55 -06:00
pkg.c pkg: make pkgconf_compare_version consistent 2023-01-22 09:57:34 +00:00
queue.c libpkgconf: dependency: allow dependency nodes to be colored with traits 2018-03-18 18:03:33 -05:00
stdinc.h normalize include guards. closes #33 2019-05-25 16:00:09 -05:00
tuple.c tuple: test for, and stop string processing, on truncation 2023-01-22 09:55:45 +00:00
win-dirent.h normalize include guards. closes #33 2019-05-25 16:00:09 -05:00