From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 4411C38582BC; Sat, 25 Feb 2023 15:24:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4411C38582BC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677338684; bh=17gJ1FWFmhC2xeUFu0NV+N+G+y2b+T9kwjRUvMqjXcE=; h=From:To:Subject:Date:From; b=khMwizZXdnoM3vHHz9ApcOdOytI50TJcSNHeOZ4N8l6PN9Y6Jz+ExOA+91xUPO/yl TDzPUGhEVDcWvzuHdzvrB6Kxw5iv0FuPf/cEEmEPOjL/M7hI3mT+IMBoEBKCpDvjwU I/LLM0yUkO4/s20NZ1wyQm2XYf5KX1meBOQh9IYQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin/main] Cygwin: locale(1): fix typo X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/main X-Git-Oldrev: 0ab22f0af975e114003ec6bfa5d72f66f5999c44 X-Git-Newrev: 98aed7943ee3000281b1226e5a68152a3da7358f Message-Id: <20230225152444.4411C38582BC@sourceware.org> Date: Sat, 25 Feb 2023 15:24:44 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D98aed7943ee= 3000281b1226e5a68152a3da7358f commit 98aed7943ee3000281b1226e5a68152a3da7358f Author: Corinna Vinschen AuthorDate: Sat Feb 25 13:20:05 2023 +0100 Commit: Corinna Vinschen CommitDate: Sat Feb 25 16:12:51 2023 +0100 Cygwin: locale(1): fix typo =20 Windows locales need a dash instead of an underscore. =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/utils/locale.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/utils/locale.cc b/winsup/utils/locale.cc index 193e91e3fafc..fffac920d80a 100644 --- a/winsup/utils/locale.cc +++ b/winsup/utils/locale.cc @@ -367,7 +367,7 @@ print_all_locales_proc (LPWSTR loc_name, DWORD info, LP= ARAM param) wchar_t scriptless_win_locale[32]; wchar_t default_iso15924[32]; =20 - wcpcpy (wcpcpy (wcpcpy (scriptless_win_locale, iso639), L"_"), + wcpcpy (wcpcpy (wcpcpy (scriptless_win_locale, iso639), L"-"), iso3166); if ((GetLocaleInfoEx (scriptless_win_locale, LOCALE_SSCRIPTS, default_iso15924, 32)