From nobody Sat Nov 05 00:31:10 2022 X-Original-To: dev-commits-src-all@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 4N3z1p55DTz4hB7B; Sat, 5 Nov 2022 00:31:10 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N3z1p4HFhz3M9r; Sat, 5 Nov 2022 00:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667608270; 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; bh=TtnG1jDSNorCMeY8I/HbnwQpcDx1qOLgrLTCO0z0E/w=; b=hAcWeV28iseZVA6KDGUuXOYDlisEJQDbELWvhIRUCzDBb30HXG1VcDRDi0VJblyidKYMLV cd14NEF58UaWobT1cvRIQLLawywqu1kkD3pYbFWOAiIE0T3i3625lJttvzgg6pyy83nK8i xzxhRSrZaFm5NS4QEB4mFwABS91KM/JhvXkVcrnD7BCNQw8wozeW13eK6ExJ3d/JBjrs8X dhfMrTYVckA0EL9uAq/Z8jTT0ZZSKYGb0TImXMOTDJfdxcBD65uZbkrpRQJuVXwsPHRUgW Iye3J5QDXnTcYyohXMyUUcj29eHw65Ol6Wj55AErwMAZ4N7noEAXglzMmHOhew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4N3z1p3JFjzMTH; Sat, 5 Nov 2022 00:31:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2A50VAEg071160; Sat, 5 Nov 2022 00:31:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A50VA4H071159; Sat, 5 Nov 2022 00:31:10 GMT (envelope-from git) Date: Sat, 5 Nov 2022 00:31:10 GMT Message-Id: <202211050031.2A50VA4H071159@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 85e34c0f6702 - stable/13 - strfmon: Remove XXX marks List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 85e34c0f6702acd6623ff606fef0c49d9683553c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667608270; 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; bh=TtnG1jDSNorCMeY8I/HbnwQpcDx1qOLgrLTCO0z0E/w=; b=C/pByy39hD+6EXicGYR+QJPaJHR1Gb1R8Hua9hXTT6FNlMxOhRmf/UI3zqJFUbWzNwaw5T mzPWVROwIoeiNYTuOMtBa9t7OQTRdZtAtLtaUcYT3Q5rTD13sOLLFq1+MF2ObngHSfFrOC FFCTK7t3Doqt8HmXXOC0DIyI+ctMJZO8Izbz5FAqIs9V2q/PUJ4lsyodd/WHgmXYwdPtcP HyIJXvaGn54LfhQ3Bjrl2JM9dsxJrbSWWM81BTss1A7EiT0IDUXOzWaN0UGlPJbAcuthdE 9OfIPX8ehdiZBpIfaLhI2z3ps/KfVFhzmnBt0YYz/pRJiVlPLxWFvGqeR0KsZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667608270; a=rsa-sha256; cv=none; b=bX4YLazanCiEYYs78ZVvyZ8HnKsV9ISq0J9ZAj5qn9hXSKCDal+NJLF5vMsGhFKmj+hgp4 QxS98fzF6CkVWx5dDkmY/vGm1aifPZOPKVfhtGDD+FmxMcC2d5GVVh8St0tLZRESxeoPJt bb4cdJRnBx5Bz6HUyYZ7Un2Ysgul2nNJ6qN5+BLUwXR0OU1PtkTPFCmehORlZVzCYvD1BF TSXNA3NWJfOy4oap76Jjeqps/pejS0HmpdoNZY1V68gN+trbYh8M9UWO7KdaPhpZFzSQ5v 924EQJQdlEiIKkcm4iqpiDcx2RJZWYPcAxyi6iqxZfL0xDFfA4K7YNhRy9F/qA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=85e34c0f6702acd6623ff606fef0c49d9683553c commit 85e34c0f6702acd6623ff606fef0c49d9683553c Author: Jose Luis Duran AuthorDate: 2022-10-28 09:20:33 +0000 Commit: Konstantin Belousov CommitDate: 2022-11-05 00:30:39 +0000 strfmon: Remove XXX marks (cherry picked from commit f0a15aafcb863f796e2a7f94d0fd8a857fb56103) --- lib/libc/stdlib/strfmon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/stdlib/strfmon.c b/lib/libc/stdlib/strfmon.c index dd1a69dd6d7a..b50d08400cbb 100644 --- a/lib/libc/stdlib/strfmon.c +++ b/lib/libc/stdlib/strfmon.c @@ -324,7 +324,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, if (cs_precedes == 1) { if (sign_posn == 1 || sign_posn == 3) { PRINTS(signstr); - if (sep_by_space == 2) /* XXX: ? */ + if (sep_by_space == 2) PRINT(' '); } @@ -363,7 +363,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc, || sign_posn == 2 || sign_posn == 4))) PRINT(space_char); - PRINTS(currency_symbol); /* XXX: len */ + PRINTS(currency_symbol); if (sign_posn == 4) { if (sep_by_space == 2) PRINT(' '); @@ -597,7 +597,7 @@ __format_grouped_double(double value, int *flags, } if ((*flags & NEED_GROUPING) && - thousands_sep_size > 0 && /* XXX: need investigation */ + thousands_sep_size > 0 && *grouping != CHAR_MAX && *grouping > 0) { while (avalue_size > (int)*grouping) {