From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BC4CB3858C41; Tue, 2 Jan 2024 13:44:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC4CB3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1704203086; bh=tFlp7JU4OcDRTv3F2UMp7hyVqRQfA7K4xS1ly51SlDY=; h=From:To:Subject:Date:From; b=IDVc5C/zK6rOQ/DUsK4in+atenj2fVm88wwJMWgzyCGxZMhkIgsBkDtkK7IXS6btM xoFZ+1YprQ5zqjQNyfi6YbKLr3F2eJGfN8VB8KtDYz/RUsMXb7tul6+1Oc+K+kxH6+ 376SlKnnsVRTVCB/ute2hsVYj+zu1U8qKEEe7PPU= From: "oscar.gustafsson at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/31206] New: Incorrect value for C-locale (mon_)grouping Date: Tue, 02 Jan 2024 13:44:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: oscar.gustafsson at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31206 Bug ID: 31206 Summary: Incorrect value for C-locale (mon_)grouping Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: manual Assignee: unassigned at sourceware dot org Reporter: oscar.gustafsson at gmail dot com CC: mtk.manpages at gmail dot com Target Milestone: --- The manual states: "In the standard =E2=80=98C=E2=80=99 locale, both grouping and mon_grouping= have a value of "". This value specifies no grouping at all." However, the value is -1/CHAR_MAX https://sourceware.org/git/?p=3Dglibc.git;a=3Dblob;f=3Dlocaledata/locales/C= ;h=3Dfc0614e551519c6b162379bf672b428dba21c12a;hb=3Drefs/heads/master#l73 Not a big deal, but when trying to understand how it actually works, I stum= bled upon this. Also, it is not mentioned earlier that an empty string should gi= ve this behavior, rather it says that when finding a string termination charac= ter, it should use the previous char. Location of the incorrect statement: https://sourceware.org/git/?p=3Dglibc.git;a=3Dblob;f=3Dmanual/locale.texi;h= =3Df6afa5dc44a2a016df5c529dc8d2491b689f4b37;hb=3DHEAD#l702 --=20 You are receiving this mail because: You are on the CC list for the bug.=