HomeFreeBSD

Revert "last(1): unbreak for 8-bit locales"

Description

Revert "last(1): unbreak for 8-bit locales"

This reverts commits 8e67c427b5 (unbreak for 8-bit locales), 0ca58ca151
(correction after r351413), and f424ec1b80 (fix style after r351459).

A simpler fix can be done by using the h modifier for strings that are
encoded with the current locale.

Reviewed by: eugen, philip
Differential Revision: https://reviews.freebsd.org/D32437

Details

Provenance
pstefAuthored on Oct 10 2021, 6:37 AM
Reviewer
philip
Differential Revision
D32437: last: improve non-UTF8 locale output after libxo support was added
Parents
rG4f556830dec1: nanosleep.2: use appropriate macros
Branches
Unknown
Tags
Unknown
Reverts
rG8e67c427b501: last(1): unbreak for 8-bit locales