Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 23:40:35 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Andrey Chernov <ache@freebsd.org>, Marcel Moolenaar <marcel@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r284489 - head/bin/ls
Message-ID:  <20150616234035.17bcf0da@kan>
In-Reply-To: <64D467BD-F5DE-419E-B812-C8BFD40319A0@xcllnt.net>
References:  <201506170312.t5H3C9Tm088469@svn.freebsd.org> <5580E64E.9040601@freebsd.org> <64D467BD-F5DE-419E-B812-C8BFD40319A0@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/I91r79BIH8HMHm3HdhHAHvu
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Tue, 16 Jun 2015 20:24:07 -0700
Marcel Moolenaar <marcel@xcllnt.net> wrote:

>=20
> > On Jun 16, 2015, at 8:15 PM, Andrey Chernov <ache@freebsd.org>
> > wrote:
> >=20
> > On 17.06.2015 6:12, Marcel Moolenaar wrote:
> >> Author: marcel
> >> Date: Wed Jun 17 03:12:08 2015
> >> New Revision: 284489
> >> URL: https://svnweb.freebsd.org/changeset/base/284489
> >>=20
> >> Log:
> >>  Unbreak ``env LANG=3Dru_RU.KOI8-R ls -l''.
> >>  Time strings are in the current locale.
> >=20
> > Thanx, but the same treatment should be for file names too: they
> > are in the current locale. ls -l drops them otherwise.
>=20
> filenames are already printed with the h attribute, so
> something else may be wrong.
>=20
> --
> Marcel Moolenaar
> marcel@xcllnt.net
>=20
>=20
>=20
No, not in ls -l. You need this in  printlong:

-                   xo_emit("{ke:name}", name);
+                   xo_emit("{ke:name/%hs}", name)

-                   xo_emit("{dk:name}", name);
+                   xo_emit("{dk:name/%hs}", name);

--=20
Alexander Kabaev

--Sig_/I91r79BIH8HMHm3HdhHAHvu
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVgOw0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDNUY3RDk5NTk5QjY0MUUxM0M1MTU2OTEw
NzEzMjI5OTkyNzkyRTdFAAoJEAcTIpmSeS5+j1kP/3gTS9QjoCBk0+jFAEuj7rFC
7X/B3tY03qvf9eaZ/1tsTW5m/a8YSE1bSxYRamv2BEAoN1QSl1jcH+YxZ8JWA6iD
px+gWAWdPIYjdx0w+Xm5fLA3ykLIiyRoEszoIiu3HXLFZvE4pHACXIyv6vlUSvfg
/d/Zr2modtNvvVX53b/hvps1Ystn7/qM7PkqmCKfDpd2uxuHNGl1vqbv1ajJXmNb
t27Ij1tSGBsjr0g4FA3r3l5B1yZfLBD3k8HxwCxTAYkp9Josv//vfbxjJZxi4Lw3
srSGJ8hIoqJNz2LeoISGNTtBwyKl/JGYxhn2Q7Uw340SlqwwQyZtdnr9i9Ivianl
wwKs6yitf4ACKbuLF9tV6CAxaWIFb76QwiHT8pNzqgKNRNzQoYWBFQM7Fdsxhio7
Rz2lufvR80vsZjfXf2ivrQwSR0TikxWfp5ZML9emWopPJPXaki3sIkqsjJOH5HXv
vGQm1a2+18SRrJNiBvsLjBt98fr93/rVjPMly+P4zhpQXUAumVl2Waad7hm+91ZK
aCJk47y9hTLJXtujmY6sBz2BuX/2hYNS5E96KAtnN3A6w39Bjcr7nxjxhzJ+bJ6w
HY46UciF9DHFCeyCEk7dVawTfMKRf7HDC7NfB9eqeKVTf4oVMIHonlsUhZXf6+ct
YLTLl43ObaRasrU4H0xm
=4MBe
-----END PGP SIGNATURE-----

--Sig_/I91r79BIH8HMHm3HdhHAHvu--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150616234035.17bcf0da>