HomeFreeBSD

w(1): fix libxo output being locale dependant

Description

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>

Details

Provenance
baptAuthored on Mon, Oct 14, 7:37 AM
Parents
rGbc7afab6a1fa: Fix compilation of bsnmp tests.
Branches
Unknown
Tags
Unknown