svn commit: r284489 - head/bin/ls

Alexander Kabaev kabaev at gmail.com
Wed Jun 17 03:40:43 UTC 2015


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

> 
> > On Jun 16, 2015, at 8:15 PM, Andrey Chernov <ache at freebsd.org>
> > wrote:
> > 
> > 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
> >> 
> >> Log:
> >>  Unbreak ``env LANG=ru_RU.KOI8-R ls -l''.
> >>  Time strings are in the current locale.
> > 
> > Thanx, but the same treatment should be for file names too: they
> > are in the current locale. ls -l drops them otherwise.
> 
> filenames are already printed with the h attribute, so
> something else may be wrong.
> 
> --
> Marcel Moolenaar
> marcel at xcllnt.net
> 
> 
> 
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);

-- 
Alexander Kabaev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150616/7aa54788/attachment.sig>


More information about the svn-src-all mailing list