NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/58619 CVS commit: src/external/historical/nawk/dist



Hi,

From: "Christos Zoulas" <christos%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: PR/58619 CVS commit: src/external/historical/nawk/dist
Date: Sun, 1 Sep 2024 10:45:39 -0400

  Module Name:	src
  Committed By:	christos
  Date:		Sun Sep  1 14:45:39 UTC 2024
Modified Files:
  	src/external/historical/nawk/dist: main.c
Log Message:
  PR/58619: Rin Okuyama: Force C locale for non-utf-8 (from RVP)
To generate a diff of this commit:
  cvs rdiff -u -r1.12 -r1.13 src/external/historical/nawk/dist/main.c
Please note that diffs are not public domain; they are subject to the
  copyright notices on the relevant files.

Thanks, but `setlocale(LC_CTYPE, "")` preceding nl_langinfo(3) cannot
be dropped. Without it, `nl_langinfo(CODESET)` always returns "646"
(== ASCII), regardless of environment variables.

Thanks,
rin


Home | Main Index | Thread Index | Old Index