]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert "last(1): unbreak for 8-bit locales"
authorPiotr Pawel Stefaniak <pstef@FreeBSD.org>
Sun, 10 Oct 2021 06:37:36 +0000 (08:37 +0200)
committerPiotr Pawel Stefaniak <pstef@FreeBSD.org>
Mon, 11 Oct 2021 17:01:57 +0000 (19:01 +0200)
commit902cde5d0a620a502468a95f7eecf1098e96bdcc
tree37b06cda26d1890a76d28ae058f3253675843f03
parent4f556830dec19ec8821b2ff939ab181192ea4dfc
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
usr.bin/last/last.c