svn commit: r284494 - head/bin/ls

Andrey Chernov ache at freebsd.org
Wed Jun 17 05:25:07 UTC 2015


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/


More information about the svn-src-head mailing list