freebsd-dev/usr.bin/last
Eugene Grosbein 8e67c427b5 last(1): unbreak for 8-bit locales
Ouput format of last(1) is broken for non UTF-8 locales
since it got libxo(3) support. It uses strftime(3) that produces
non UTF-8 strings passed to xo_emit(3) with wrong %s format -
it should be %hs in this case, so xo_emit(3) produces empty output.

This change is basically no-op when locale is of UTF-8 type,
f.e. en_GB.UTF-8 or ru_RU.UTF-8 or sr_RS.UTF-8@latin.
It fixes output for other locales.

MFC after:	2 weeks
2019-08-23 01:25:38 +00:00
..
last.1 A single comma was missing to separate the "see also" items in 2018-10-20 17:22:04 +00:00
last.c last(1): unbreak for 8-bit locales 2019-08-23 01:25:38 +00:00
Makefile Add libxo(3) support to last(1). 2018-08-28 17:10:19 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00