1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00
freebsd/usr.bin/w
Baptiste Daroussin bd490be574 w(1): fix libxo output being locale dependant
by being locale dependant the json export is invalid in locales where
the separator for float is a comma.
The Json and the XML are invalid for login-time when days contains
contains characters which are not unicode.

Forcing locale to be C, makes this json and xml output valid and also
identical accross locales, so reliable for parsers

PR:		276304
Reported by:	Vedran Miletic <vedran@miletic.net>
2024-10-14 10:43:38 +02:00
..
extern.h usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pr_time.c usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
proc_compare.c usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
uptime.1 usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
w.1 usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
w.c w(1): fix libxo output being locale dependant 2024-10-14 10:43:38 +02:00