Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2015 08:24:55 +0300
From:      Andrey Chernov <ache@freebsd.org>
To:        Alexander Kabaev <kan@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r284494 - head/bin/ls
Message-ID:  <558104A7.20708@freebsd.org>
In-Reply-To: <201506170426.t5H4QngV023706@svn.freebsd.org>
References:  <201506170426.t5H4QngV023706@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17.06.2015 7:26, Alexander Kabaev wrote:
> 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.

Thanx, fixed now.

> 
> 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);
>  		}
>  		
> 


-- 
http://ache.vniz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?558104A7.20708>