From nobody Wed Oct 23 07:26:06 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XYLFC6Kmdz5ZxYt for ; Wed, 23 Oct 2024 07:26:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYLFC50cxz49Xr for ; Wed, 23 Oct 2024 07:26:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729668367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KLYia2/+vVsI/tfo3iBJxdQBkZ4a8JqCSgtZibdx1yA=; b=aa2FcC61ineC7La4pksiIgVGelSa3p25e2rSmnQZ1C9rCZWmKEY3lBLhskdyQb95fvn2GL Cnmw5MQJcHU6PFzfNArg60R1gQXSmaHb6OWoE4lZtPY2a3mTjfdh3XDWnWu6Hy6/e7vmIW c6ii/eDdTvdgWxK46KId6e5igLX/yiVHkTKmTRrI+NizuS04y3xyV48Jtc7X7clzmbExDp So6SFIoeozId1FA01gqZZYziHQeVJI1mkSdrJJESqAd4uJMBJS9DnV5TgLnHfzzpRjcPir AptmZkJZvp4KR1bKur2jY6XmHVOmqMIefrtX+XwuIMIsiTou4OA2+3l7vQY/QQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729668367; a=rsa-sha256; cv=none; b=VQgq+W+GmspAOwgXTQY+hunwCGG9c4/Y+2lCmedypz7ZYOPU2zgy5qAkV/SZMVHYmfFfjA Gb7+S+kN0cdVWj4+URD7VQHkl2v+5b1ILU9dighsOTVsi4vZuRP1pTt9AQ7HHzYbMSlubl eV/ejFzVUvLvy6F+g0pwo5Sns4ra+MpaRE4C631crvtpEE5Xs5v/QXYUcqbsD4gdRWovOq EUz57xi3MksYmRVTU4MJP8O+DsQxczNB5jLi5Wa96vLSHtpgrMIMnI7EgvHlQLzswRxnlO 2qeYAtM0Ax4ppKyQGPC9EW3wePqcOtoUc8MF7RQEYZX3DZD0Fkkq4DS7ZSCrZA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XYLFC4Gr0zpXr for ; Wed, 23 Oct 2024 07:26:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 49N7Q7dn059355 for ; Wed, 23 Oct 2024 07:26:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49N7Q7q9059353 for bugs@FreeBSD.org; Wed, 23 Oct 2024 07:26:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276304] w(1) with --libxo=json produces invalid JSON output parameter on Croatian locale Date: Wed, 23 Oct 2024 07:26:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276304 --- Comment #8 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D6c1a174e4c0a01a40aa1c06dfc07a37a3= 1cabe33 commit 6c1a174e4c0a01a40aa1c06dfc07a37a31cabe33 Author: Baptiste Daroussin AuthorDate: 2024-10-14 07:37:46 +0000 Commit: Baptiste Daroussin CommitDate: 2024-10-23 07:25:50 +0000 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 (cherry picked from commit bd490be57438a82c22d1274bc58d51142b63f4a0) usr.bin/w/w.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=