From f50cefb2f79dbce4817e155b71355a193ab9d930 Mon Sep 17 00:00:00 2001 From: Steve Singer Date: Fri, 8 Jul 2011 10:47:50 -0400 Subject: [PATCH] Remove call to backend function get_share_path() This is a backend function slonik should not be calling. PGSHARE is defined by configure we count on it being set. (cherry picked from commit 16304e08870b07e12cad19ee430e39afafc74a67) --- src/slonik/slonik.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/slonik/slonik.c b/src/slonik/slonik.c index 67146003..e26e211f 100644 --- a/src/slonik/slonik.c +++ b/src/slonik/slonik.c @@ -154,14 +154,7 @@ main(int argc, const char *argv[]) /* * We need to find a share directory like PostgreSQL. */ - if (strlen(PGSHARE) > 0) - { - strcpy(share_path, PGSHARE); - } - else - { - get_share_path(myfull_path, share_path); - } + strcpy(share_path, PGSHARE); if (optind < argc) { -- 2.39.5