Date: Mon, 31 Aug 2020 01:42:41 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 249025] description of scanf %u incorrectly says "optionally signed" (patch included) Message-ID: <bug-249025-227-Llk5x4azS0@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-249025-227@https.bugs.freebsd.org/bugzilla/> References: <bug-249025-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249025 Hiroki Sato <hrs@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hrs@FreeBSD.org --- Comment #1 from Hiroki Sato <hrs@FreeBSD.org> --- (In reply to wbe from comment #0) %u actually matches an optionally signed integer. This means digits with "= +" or "-". The value is casted to an unsigned type after the matching. This wording (and behavior) is the same as one in the specification. I do not t= hink the current version is incorrect. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249025-227-Llk5x4azS0>