Continue ubreaking ``env LANG=ru_RU.KOI8-R ls -l''.

File names are in current locale as well.
This commit is contained in:
kan 2015-06-17 04:26:48 +00:00
parent 211f5e5af7
commit 6f06df98ab

View File

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