From 4c49848733ab19f27e17fab6bbe7419a283c9df4 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 17 Jun 1995 03:02:21 +0000 Subject: [PATCH] Add /usr/local/share/nls to default search path --- lib/libc/nls/msgcat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c index b4a465290c12..d9dbe29e640a 100644 --- a/lib/libc/nls/msgcat.c +++ b/lib/libc/nls/msgcat.c @@ -1,4 +1,4 @@ -/* $Id: msgcat.c,v 1.1 1995/03/30 12:47:26 jkh Exp $ */ +/* $Id: msgcat.c,v 1.2 1995/05/30 05:40:59 rgrimes Exp $ */ /*********************************************************** Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts. @@ -101,7 +101,7 @@ int type; } else { if ((lang = (char *) getenv("LANG")) == NULL) lang = "C"; if ((nlspath = (char *) getenv("NLSPATH")) == NULL) { - nlspath = "/usr/share/nls/%L/%N.cat:/usr/share/nls/%N/%L"; + nlspath = "/usr/share/nls/%L/%N.cat:/usr/share/nls/%N/%L:/usr/local/share/nls/%L/%N.cat:/usr/local/share/nls/%N/%L"; } len = strlen(nlspath);