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);
                }
                
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to