ls is broken for non-C locales due to libxo
Marcel Moolenaar
marcel at xcllnt.net
Wed Jun 17 04:28:43 UTC 2015
> On Jun 16, 2015, at 8:46 PM, Andrey Chernov <ache at FreeBSD.org> wrote:
>
> Signed PGP part
> On 17.06.2015 6:23, Marcel Moolenaar wrote:
> > Date/time is fixed. I don?t know how to reproduce the filename
> > problem, so make sure sources are up-to-date and if still a
> > problem, provide me with a way to reproduce.
>
> touch `printf "\377"`
> env LANG=ru_RU.KOI8-R ls -l | od -bc | grep 377
fbsdvm64% touch `printf "\377”`
fbsdvm64% ls -l | head -2
total 96
-rw-r--r-- 1 marcel staff 0 Jun 16 21:25 %FF
fbsdvm64% env LANG=ru_RU.KOI8-R ls -l | head -2
total 96
-rw-r--r-- 1 marcel staff 0 16 ??? 21:25 %FF
So, what’s wrong?
--
Marcel Moolenaar
marcel at xcllnt.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150616/2c33e4a4/attachment.sig>
More information about the freebsd-current
mailing list