From owner-svn-src-all@FreeBSD.ORG Tue May 21 22:20:23 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A4127B2E; Tue, 21 May 2013 22:20:23 +0000 (UTC) (envelope-from edschouten@gmail.com) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx1.freebsd.org (Postfix) with ESMTP id 45547208; Tue, 21 May 2013 22:20:22 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hz10so838334vcb.38 for ; Tue, 21 May 2013 15:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=4rKzMyLqBOD8keB28MG2zlqkihn1PIseTB4ram+cxcw=; b=JOH0Ld2RvqGGbd1Fe5V0DM7mtAH/5SYxEZPmLfPKJr1BzWLfSGrar5/M07fjUKt3WD PCHzwmlIvy88x1vOo/xM1DiUvFPY9bd72VMumnOE1xxa9y99z8iZu4cF98gfyCQjNTWI AnKG0P4QbchhdwZJoHJUiz/e5yiidFpkmnR5jC4yN9qzXEmC6Yr0+v85YnRVxfihyGA6 TRDZmbK5KY5yAM5Cwhd5P6vZeQcA2giHjByFf5kNsK9/qJKYO+03wTjitg3NQRB0uDc2 0lKYPoDxkm8UIfvIiUx/dDMboJE9KZe6m47sYFzpaZcOkEvLYe9sa20dhLDVT7ls472c 5Mbw== MIME-Version: 1.0 X-Received: by 10.52.165.76 with SMTP id yw12mr1481255vdb.93.1369174815946; Tue, 21 May 2013 15:20:15 -0700 (PDT) Sender: edschouten@gmail.com Received: by 10.220.72.7 with HTTP; Tue, 21 May 2013 15:20:15 -0700 (PDT) In-Reply-To: <20130521220003.GB58299@stack.nl> References: <201305211959.r4LJxbLx034714@svn.freebsd.org> <20130521220003.GB58299@stack.nl> Date: Wed, 22 May 2013 00:20:15 +0200 X-Google-Sender-Auth: 7hcD-BUSdfBT5PfqUnuO_1WyE2U Message-ID: Subject: Re: svn commit: r250883 - in head: include include/xlocale lib/libc/locale sys/sys tools/regression/lib/libc/locale From: Ed Schouten To: Jilles Tjoelker Content-Type: text/plain; charset=UTF-8 Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 22:20:23 -0000 2013/5/22 Jilles Tjoelker : > Our wchar_t is only ISO 10646 for UTF-8 and possibly US-ASCII and > ISO8859-1 (subset) locales. Oh, the horror! I thought on FreeBSD, we used the LC_CTYPE files to do a mapping to ISO 10646. Unfortunately, it seems to be the case that these files are only used to do mappings to uppercase/lowercase/runetype. Bummer. I'll see what I can do to fix this. I'll likely implement something like you suggested, that we return EILSEQ if the locale is not ASCII, ISO8859-1 or UTF-8. -- Ed Schouten