From 228897774c08012ee280e5110856d908a6047697 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 25 May 2004 01:00:30 +0000 Subject: Make the locale location relocatable. Adjust get_*_path functions to be limited to MAXPGPATH. --- src/bin/scripts/clusterdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/scripts/clusterdb.c') diff --git a/src/bin/scripts/clusterdb.c b/src/bin/scripts/clusterdb.c index 0fcab8ec6d..a912d0b1f9 100644 --- a/src/bin/scripts/clusterdb.c +++ b/src/bin/scripts/clusterdb.c @@ -4,7 +4,7 @@ * * Portions Copyright (c) 2002-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.6 2004/05/12 13:38:46 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/clusterdb.c,v 1.7 2004/05/25 01:00:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -58,7 +58,7 @@ main(int argc, char *argv[]) char *table = NULL; progname = get_progname(argv[0]); - init_nls(); + init_nls(argv[0]); handle_help_version_opts(argc, argv, "clusterdb", help); while ((c = getopt_long(argc, argv, "h:p:U:Weqd:at:", long_options, &optindex)) != -1) -- cgit v1.2.1