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/interfaces/libpq/fe-misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/interfaces/libpq/fe-misc.c') diff --git a/src/interfaces/libpq/fe-misc.c b/src/interfaces/libpq/fe-misc.c index d484747b9c5..abf2111a508 100644 --- a/src/interfaces/libpq/fe-misc.c +++ b/src/interfaces/libpq/fe-misc.c @@ -23,7 +23,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.105 2004/03/15 10:41:26 ishii Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-misc.c,v 1.106 2004/05/25 01:00:29 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1131,6 +1131,7 @@ libpq_gettext(const char *msgid) if (!already_bound) { already_bound = 1; + /* No relocatable lookup here because the binary could be anywhere */ bindtextdomain("libpq", LOCALEDIR); } -- cgit v1.2.3