From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#26948: =?UTF-8?Q?=E2=80=98write-file=E2=80=99?= output should not be locale-dependent Date: Fri, 16 Jun 2017 17:09:23 +0200 Message-ID: <874lvgdl5o.fsf@gnu.org> References: <8737c51e6r.fsf@gmail.com> <87shk3y74g.fsf@gnu.org> <8737btieie.fsf@gmail.com> <87vaoovvvz.fsf@gnu.org> <87o9ucu1t3.fsf@gmail.com> <87mv9wc9gp.fsf_-_@gnu.org> <87h903s9mf.fsf@gmail.com> <878tle7e1n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLssx-0001sW-UC for bug-guix@gnu.org; Fri, 16 Jun 2017 11:10:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLsst-000378-0H for bug-guix@gnu.org; Fri, 16 Jun 2017 11:10:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLsss-00036y-So for bug-guix@gnu.org; Fri, 16 Jun 2017 11:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLsss-0001dd-Mn for bug-guix@gnu.org; Fri, 16 Jun 2017 11:10:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878tle7e1n.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 30 May 2017 13:57:24 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Maxim Cournoyer Cc: 26948@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: >>From e7f464bac58e1f09de5ceb194c4a30f6d899b29a Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Ludovic=3D20Court=3DC3=3DA8s?=3D > Date: Tue, 30 May 2017 12:03:54 +0200 > Subject: [PATCH] syscalls: Add 'scandir/utf-8'. > > * guix/build/syscalls.scm (%struct-dirent-header): New C struct. > (opendir/utf-8, closedir/utf-8, readdir/utf-8, scandir/utf-8): New > procedures. > * tests/syscalls.scm ("scandir/utf-8, ENOENT") > ("scandir/utf-8, ASCII file names") > ("scandir/utf8, UTF-8 file names"): New tests. For unrelated reasons, I pushed an improved variant of this patch as fa73c1937364872560c509f02b3d7648a5bed006. Ludo=E2=80=99.