William Pitcock
3b154d8a5a
everywhere: use strlcpy and strlcat where appropriate
2012-04-30 06:06:13 +00:00
Mike Frysinger
4e4c1d628a
fix handling of length with strncat
...
The length arg in the strncat func represents the max number of bytes
that may be appended, but the total length of the buffer. So we have
to subtract the length of bytes already in there.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-30 05:24:10 +00:00
William Pitcock
1e93bac383
pkg: handle PKG_DEFAULT_PATH and PKG_CONFIG_PATH envvar more cleanly
2012-02-17 15:35:23 -06:00
Alyx
d0639b3353
Make pkg_find() follow the PKG_CONFIG_PATH environmental variable, if available.
2012-01-15 19:03:54 -06:00
William Pitcock
b0c16941ce
pkg: add pkg_t.id field
2011-07-26 20:37:01 -05:00
William Pitcock
8543f1bdd4
pkg: document pkg_traverse()
2011-07-26 20:15:44 -05:00
William Pitcock
648c39cf8e
pkg: add pkg_get_comparator()
2011-07-26 19:59:46 -05:00
William Pitcock
774ebc9716
pkg: pkg_verify_dependency() was calling pkg_compare_version() in reverse order
2011-07-26 19:52:44 -05:00
William Pitcock
f8638cdb68
pkg: add pkg_verify_dependency()
2011-07-26 12:17:45 -05:00
William Pitcock
a872c7254b
pkg: fix up pkg_compare_version()
2011-07-26 12:05:14 -05:00
William Pitcock
7e26842094
pkg: add pkg_compare_version()
2011-07-26 11:56:59 -05:00
William Pitcock
8100eb84f0
pkg: add pkg_verify_graph() to verify the depgraph is satisfiable
2011-07-25 17:44:05 -05:00
William Pitcock
3d502159e6
pkg: use exact same error message as pkg-config when dependency is unresolvable
2011-07-25 17:03:06 -05:00
William Pitcock
4fe2dc1b96
pkg: croak if dependency tree is incomplete
2011-07-25 01:26:05 -05:00
William Pitcock
05d596b9bc
pkg: implement maximum depth for pkg_traverse()
2011-07-25 01:22:04 -05:00
William Pitcock
a3f2a47136
pkg: handle node::package being crap
2011-07-25 01:03:13 -05:00
William Pitcock
4603ceb885
main: split out to main.c, make pretty printers hidden
2011-07-24 23:46:10 -05:00
William Pitcock
37d87b9006
pkg: do not print cflags or libs if they are NULL
2011-07-24 23:43:00 -05:00
William Pitcock
b44ce20d29
pkg: add pkg_traverse() to walk the dependency graph
2011-07-24 23:39:15 -05:00
William Pitcock
3f9cedf532
pkgconf stub: walk the dependency tree
2011-07-24 23:20:22 -05:00
William Pitcock
61c246d27e
Initial commit.
2011-07-24 21:03:17 -05:00