pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51802: security/mozilla-rootcerts doesn't build with gawk
On Thu, 26 Jan 2017 18:21:21 -0500, rodent%NetBSD.org@localhost wrote:
> security/mozilla-rootcerts/files/mozilla-rootcerts.sh sets LANG to C. Perhaps,
> it needs to set some of the other locale envvars too?
I guess you need to set LC_ALL=C. Here is code snippet from gawk's main.c:
const char *env_lc;
env_lc = getenv("LC_ALL");
if (env_lc == NULL)
env_lc = getenv("LANG");
if (env_lc != NULL && env_lc[1] == '\0' && tolower(env_lc[0]) == 'c')
gawk_mb_cur_max = 1;
-- Yuji Yamano
Home |
Main Index |
Thread Index |
Old Index