From: John Ellson Date: Thu, 8 May 2014 03:02:19 +0000 (-0400) Subject: fix searching for relocated library directory - patch from yunguc X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2eb97c91c0aab500e5d7d931bb399b5eff4637db;p=graphviz fix searching for relocated library directory - patch from yunguc --- diff --git a/lib/gvc/gvconfig.c b/lib/gvc/gvconfig.c index 75147a8c8..4fc2d235b 100644 --- a/lib/gvc/gvconfig.c +++ b/lib/gvc/gvconfig.c @@ -311,7 +311,7 @@ char * gvconfig_libdir(GVC_t * gvc) char* s = tmp-1; /* back up to previous slash (or head of string) */ while ((*s != '/') && (s > path)) s--; - if (strncmp (s, DOTLIBS, STRLEN(DOTLIBS)) == 0); + if (strncmp (s, DOTLIBS, STRLEN(DOTLIBS)) == 0) continue; }