Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2015 07:53:00 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        current@freebsd.org,Marcel Moolenaar <marcel@freebsd.org>
Subject:   Re: ls is broken for non-C locales due to libxo
Message-ID:  <AD7E5160-9464-4733-9D39-CE0665A3765E@freebsd.org>
In-Reply-To: <FB84F979-D5F3-4FF1-AF3F-1B7C82363B07@xcllnt.net>
References:  <48B53C84-E4F7-4E88-B07D-7489FF585430@freebsd.org> <5580DEB0.7080908@freebsd.org> <B85C2859-D790-4A7B-93AF-2132D32259FA@xcllnt.net> <5580EDB0.4040203@freebsd.org> <FB84F979-D5F3-4FF1-AF3F-1B7C82363B07@xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--NDKYJJ97H33RSFEEZ3EYDTY8XI50F1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Marcel Moolenaar <marcel@xcllnt=2Enet> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
>
>
>On Jun 16, 2015, at 8:46 PM, Andrey Chernov <ache@FreeBSD=2Eorg> wrote:
>
>Signed PGP part
>On 17=2E06=2E2015 6:23, Marcel Moolenaar wrote:
>
>Date/time is fixed=2E 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=2E
>
>
>touch `printf "\377"`
>env LANG=3Dru_RU=2EKOI8-R ls -l | od -bc | grep 377
>
>
>fbsdvm64% touch `printf "\377=E2=80=9D`
>fbsdvm64% ls -l | head -2
>total 96
>-rw-r--r-- 1 marcel staff 0 Jun 16 21:25 %FF
>
>fbsdvm64% env LANG=3Dru_RU=2EKOI8-R ls -l | head -2
>total 96
>-rw-r--r-- 1 marcel staff 0 16 ??? 21:25 %FF
>
>So, what=E2=80=99s wrong?
>
>--
>Marcel Moolenaar
>marcel@xcllnt=2Enet

Should be no any %FF, but single char in pre libxo ls or nothing in post l=
ibxo one=2E

Use
LANG=3Dru_RU=2EKOI8-R
before touch command=2E It looks like you create file with name "%FF" inst=
ead=2E

--NDKYJJ97H33RSFEEZ3EYDTY8XI50F1
Content-Disposition: attachment; filename="signature.asc"
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: BCPG v@RELEASE_NAME@

iQEcBAABCAAQBQJVgP0sCRClHJL9DI32ygAAJmUIAMuJanpUw1l+Fd9udVmu60kz
K24gy5ms0OFLQbKLP3XvnJoPY0GIgbkB9tE+JraoRCmJVwww7UBs0oXaWf4G5zQA
Ko6xlUKS46yD1hi9t2GihTwT3IqGtUmahQkwONHdfr8fiH/O+V9ZKg5yRkGNes7a
iD4PPNOYWBZ/iuQSgkvKzgXJtwL43oGMLybIcLBtmeWqsyQRjzngJCvXWP1EjCva
5+Mmdimn34tD+K1mlyVE+v+DM3SsszdP68wDYcwteUJQPhmgUFyfYLd8KsW94YrW
fVbsRF/zStTM2VCCJcW49XcRa/ShQSD0srhB9yw5aqngbzm+stD5XOkrllAxcHaJ
ARwEAAEIABAFAlWA/SwJEKUckv0MjfbKAAAmZQgAy4lqelTDWX4V3251Wa7rSTMr
biDLmazQ4UtBsos/de+cmg9jQYiBuQH20T4mtqhEKYlXDDDtQGzShdpZ/gbnNAAq
jrGVQpLjrIPWGL23YaKFPBPcioa1SZqFCTA40d1+vx+If875X1kqDnJGQY16ztqI
Pg8805hYFn+K5BKCS8rOBcm3AvjegYwvJshwsG2Z5aqzJBGPOeAkK9dY/USMK9rn
4yZ2Kaffi0P4rWaXJUT6/4MzdKyzN0/rzANhzC15QlA+GaBQXJ9gt3wqxb3hitZ9
VuxEX/NK1MzZUIIlxbj1dxFr9KFBIPSyuEH3LDlqqeBvOb6y0Plc6SuWUDFwdg==
=50Oh
-----END PGP SIGNATURE-----

--NDKYJJ97H33RSFEEZ3EYDTY8XI50F1--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD7E5160-9464-4733-9D39-CE0665A3765E>