From owner-svn-src-head@FreeBSD.ORG Wed Jun 17 04:26:49 2015 Return-Path: Delivered-To: svn-src-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BE6C53A; Wed, 17 Jun 2015 04:26:49 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A2801D0; Wed, 17 Jun 2015 04:26:49 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5H4QnRq023707; Wed, 17 Jun 2015 04:26:49 GMT (envelope-from kan@FreeBSD.org) Received: (from kan@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5H4QngV023706; Wed, 17 Jun 2015 04:26:49 GMT (envelope-from kan@FreeBSD.org) Message-Id: <201506170426.t5H4QngV023706@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: kan set sender to kan@FreeBSD.org using -f From: Alexander Kabaev Date: Wed, 17 Jun 2015 04:26:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284494 - head/bin/ls X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2015 04:26:49 -0000 Author: kan Date: Wed Jun 17 04:26:48 2015 New Revision: 284494 URL: https://svnweb.freebsd.org/changeset/base/284494 Log: Continue ubreaking ``env LANG=ru_RU.KOI8-R ls -l''. File names are in current locale as well. Modified: head/bin/ls/print.c Modified: head/bin/ls/print.c ============================================================================== --- head/bin/ls/print.c Wed Jun 17 04:18:30 2015 (r284493) +++ head/bin/ls/print.c Wed Jun 17 04:26:48 2015 (r284494) @@ -178,7 +178,7 @@ printlong(const DISPLAY *dp) sp = p->fts_statp; name = getname(p->fts_name); if (name) - xo_emit("{ke:name}", name); + xo_emit("{ke:name/%hs}", name); if (f_inode) xo_emit("{:inode/%*ju} ", dp->s_inode, (uintmax_t)sp->st_ino); @@ -214,7 +214,7 @@ printlong(const DISPLAY *dp) #endif if (name) { - xo_emit("{dk:name}", name); + xo_emit("{dk:name/%hs}", name); free(name); }