From owner-freebsd-current@FreeBSD.ORG Wed Jun 17 04:53:08 2015 Return-Path: Delivered-To: current@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45487B2F for ; Wed, 17 Jun 2015 04:53:08 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DB7BFAD4 for ; Wed, 17 Jun 2015 04:53:07 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by lacny3 with SMTP id ny3so24537271lac.3 for ; Tue, 16 Jun 2015 21:53:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:in-reply-to:references:mime-version:content-type :subject:from:date:to:cc:message-id; bh=p7jJrV5vEyKrpD901A0irQZpz6SN3JdOHnylLeatztU=; b=KySaOiQCxIm4GRUaqqstsYqM3bWcGl4JJuZeHbFrtJXVJTLloosF4zC1aaknXuCZjH Df8K3XIq/fH7RXXIR8OOXtpzBaCHz9G3K1GsK1YvQJrKV0dtnorpLhF1jrI26uUg39tM 8M5CymMqlgNZC8oyeawEhwyrGjMypzLal0YuJv1fJg7CY1fQdgrQLYdaaJxJcfHmOi76 TLUwMpC1a+HBs7DoUbU0kr9ZhAtVxUHxj9kMue0Qeyj4GBW5H5u+gzdDMMWwaEJp/QV/ xmSBW7Ir5kdDYDvOYbvU1iIEQWlIGCo5eqMeAzFLz+BOey4Tn8IhVG+SPn62hMNGiQKX E74g== X-Gm-Message-State: ALoCoQmXZ60jkIavjKzJICBuUPLeDZOvptgu1s2Kc8jQcYNMHevWnX4s0mNquSJxiSxPpAFUPBRV X-Received: by 10.112.55.207 with SMTP id u15mr5727604lbp.88.1434516786158; Tue, 16 Jun 2015 21:53:06 -0700 (PDT) Received: from ?IPv6:2001:470:1f0b:1925:e5dc:7676:93df:5747? ([2001:470:1f0b:1925:e5dc:7676:93df:5747]) by mx.google.com with ESMTPSA id xl7sm697653lbb.42.2015.06.16.21.53.04 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 21:53:05 -0700 (PDT) In-Reply-To: References: <48B53C84-E4F7-4E88-B07D-7489FF585430@freebsd.org> <5580DEB0.7080908@freebsd.org> <5580EDB0.4040203@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="NDKYJJ97H33RSFEEZ3EYDTY8XI50F1" Subject: Re: ls is broken for non-C locales due to libxo From: Andrey Chernov Date: Wed, 17 Jun 2015 07:53:00 +0300 To: Marcel Moolenaar CC: current@freebsd.org,Marcel Moolenaar Message-ID: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 04:53:08 -0000 --NDKYJJ97H33RSFEEZ3EYDTY8XI50F1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Marcel Moolenaar =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > >On Jun 16, 2015, at 8:46 PM, Andrey Chernov 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--