diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-05-25 01:00:30 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-05-25 01:00:30 +0000 |
commit | 228897774c08012ee280e5110856d908a6047697 (patch) | |
tree | 9121ddcf98b32bc4cf4e03bbe28da78f0ef176a7 /src/bin/scripts/createlang.c | |
parent | 244ee0c0f2b87656f7d1eefca7f46fc61c877fd2 (diff) | |
download | postgresql-228897774c08012ee280e5110856d908a6047697.tar.gz postgresql-228897774c08012ee280e5110856d908a6047697.zip |
Make the locale location relocatable.
Adjust get_*_path functions to be limited to MAXPGPATH.
Diffstat (limited to 'src/bin/scripts/createlang.c')
-rw-r--r-- | src/bin/scripts/createlang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c index f75e9e07cdd..89eef3aa6be 100644 --- a/src/bin/scripts/createlang.c +++ b/src/bin/scripts/createlang.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.9 2004/05/12 13:38:47 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/createlang.c,v 1.10 2004/05/25 01:00:27 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -61,7 +61,7 @@ main(int argc, char *argv[]) PGresult *result; progname = get_progname(argv[0]); - init_nls(); + init_nls(argv[0]); handle_help_version_opts(argc, argv, "createlang", help); while ((c = getopt_long(argc, argv, "lh:p:U:Wd:L:e", long_options, &optindex)) != -1) |