From 7f7ad67bb23026e6e5cc18ae0bf00a990a6aedab Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 5 May 2012 20:21:47 -0500 Subject: [PATCH] pkg: fix off-by-one when parsing PKG_CONFIG_PATH data --- pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg.c b/pkg.c index c993a27..345d263 100644 --- a/pkg.c +++ b/pkg.c @@ -55,7 +55,7 @@ path_split(const char *text, char ***parv) } free(workbuf); - return count + 1; + return count; } pkg_t *