[Bug 276304] w(1) with --libxo=json produces invalid JSON output parameter on Croatian locale

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 13 Jan 2024 20:20:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276304

Mina Galić <freebsd@igalic.co> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|w(1) with produces invalid  |w(1) with --libxo=json
                   |JSON output with --libxo    |produces invalid JSON
                   |json parameter on Croatian  |output parameter on
                   |locale                      |Croatian locale
                 CC|                            |freebsd@igalic.co

--- Comment #1 from Mina Galić <freebsd@igalic.co> ---
thank you for the report, Vedran.

My guess is that this will be wrong with any Locale that uses "," for… well,
commas, and for any Software that produces floating point results.

If the latter is the case it's a libxo bug, not a bug in how w(1) is using it.

-- 
You are receiving this mail because:
You are the assignee for the bug.