From nobody Mon Oct 14 08:45:38 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 4XRrR66V1wz5ZRVp for ; Mon, 14 Oct 2024 08:45:38 +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 4XRrR65RPSz4hLZ for ; Mon, 14 Oct 2024 08:45:38 +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=1728895538; 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=EW8vWJamX8NANOmLRmZW5Flhe25uKFc79QpBUEgvEJ0=; b=ObkzlvleVhmAy/A+kiIEh2JIGpbLYeSYzhgLysJ+Hw2EJrYjsmtqngvRNzNw6bbn9rHkti UksBHHLF3cqlp0T7MPGfJowTpW5iA4JCTbVclR1u2FdRhU43c2SDuKQrpGNEREC0aPUaQ+ 9gT58Hw3Tzjz2l4jBQsErfZvAHYOl1umpQvbtCezpIwKH7Ny79vjIoDvNGlZ8Diaboocn5 czyuJvrbUyvkeH+pPzVyupD260SnDBfzVcWbibADronMPKZUyBGsESWh/0fSvEvaxUM/FV GIdo4wNYINieEuGmci8GI510PpSDxcIzgXDcIgr6YXNUaeZ6MknJTVFgjMBW7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728895538; a=rsa-sha256; cv=none; b=C0sQsUQZWQmX9tQGljyhhdIxE2ab/1c3cNMmZY2TWF6FL8nydcOLk/TBSOY9+m4p6sGFUJ du3S/3MwCOhlPjt5fK9WmzSKzYVC+iF/t4XnZX22GOGaqd78wdmfaAB6grILBoHdgslfgO n1LsVT1n6hzoIBOgh285+1AHURjC0uOXNvQgsVr9DN2imDBv6+1bif+LkEdSgUa4Oe1z8I 0Idhuts7rlx3vRal2R4Kh7Gy1eGnsNJVi6cQ2L/jnz+3CGb2Z87xsNYlePB1S1cO6eYlFA PmRpcLjj/HkFzg7BxmEA7sQVcWJgTlMybW5qaRBI07UEBV2LU0N+UV+uBMpajw== 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 4XRrR652k1zXRP for ; Mon, 14 Oct 2024 08:45:38 +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 49E8jc0p005251 for ; Mon, 14 Oct 2024 08:45:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49E8jcrF005249 for bugs@FreeBSD.org; Mon, 14 Oct 2024 08:45:38 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: Mon, 14 Oct 2024 08:45:38 +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 #7 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbd490be57438a82c22d1274bc58d51142= b63f4a0 commit bd490be57438a82c22d1274bc58d51142b63f4a0 Author: Baptiste Daroussin AuthorDate: 2024-10-14 07:37:46 +0000 Commit: Baptiste Daroussin CommitDate: 2024-10-14 08:43:38 +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 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.=