From owner-freebsd-doc@freebsd.org Mon Aug 31 01:26:04 2020 Return-Path: Delivered-To: freebsd-doc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 71E7C3D1B19 for ; Mon, 31 Aug 2020 01:26:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BfswX1Fz7z3bXZ for ; Mon, 31 Aug 2020 01:26:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 123F13D15F9; Mon, 31 Aug 2020 01:26:04 +0000 (UTC) Delivered-To: doc@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 113F43D15F8 for ; Mon, 31 Aug 2020 01:26:04 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BfswW5cpBz3bKc for ; Mon, 31 Aug 2020 01:26:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 9598F20043 for ; Mon, 31 Aug 2020 01:26:03 +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 07V1Q3pa027878 for ; Mon, 31 Aug 2020 01:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07V1Q3Wo027877 for doc@FreeBSD.org; Mon, 31 Aug 2020 01:26:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 249025] description of scanf %u incorrectly says "optionally signed" Date: Mon, 31 Aug 2020 01:26:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: wbe@psr.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2020 01:26:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249025 Bug ID: 249025 Summary: description of scanf %u incorrectly says "optionally signed" Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: wbe@psr.com CC: doc@FreeBSD.org I believe the description of %u in man3/scanf.3, which says that %u matches= an OPTIONALLY SIGNED decimal integer, is incorrect. If you agree, the followi= ng "diff -u" 1-line patch to the man3/scanf.3 file from 12.1-RELEASE-p8 should= fix the problem. If this error is in 12.1, it's probably in other versions of FreeBSD as well.

--- scanf.3~    2020-08-30 20:59:00.080775000 -0400
+++ scanf.3     2020-08-30 21:00:37.400650000 -0400
@@ -296,7 +296,7 @@
 the next pointer must be a pointer to
 .Vt "unsigned int" .
 .It Cm u
-Matches an optionally signed decimal integer;
+Matches an unsigned decimal integer;
 the next pointer must be a pointer to
 .Vt "unsigned int" .
 .It Cm x , X

-WBE --=20 You are receiving this mail because: You are on the CC list for the bug.=