A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=700 ====================================================================== Reported By: fbauzac Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 700 Category: System Interfaces Type: Clarification Requested Severity: Comment Priority: normal Status: Under Review Name: Fabrice Bauzac Organization: User Reference: Section: strtoul Page Number: na Line Number: na Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2013-05-19 18:12 UTC Last Modified: 2023-04-06 16:30 UTC ====================================================================== Summary: Clarify strtoul's behaviour on strings representing negative numbers ======================================================================
---------------------------------------------------------------------- (0006256) geoffclare (manager) - 2023-04-06 16:30 https://austingroupbugs.net/view.php?id=700#c6256 ---------------------------------------------------------------------- On 2018 edition page 2081 line 66795 section strtol(), and page 2277 line 72497 section wcstol(), change:<blockquote>the value resulting from the conversion shall be negated.</blockquote>to:<blockquote>the resulting value shall be the negative of the converted value.</blockquote> On 2018 edition page 2086 line 66909 section strtoul(), and page 2284 line 72661 section wcstoul(), change:<blockquote>the value resulting from the conversion shall be negated.</blockquote>to:<blockquote>the resulting value shall be the negative of the converted value; this action shall be performed in the return type.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2013-05-19 18:12 fbauzac New Issue 2013-05-19 18:12 fbauzac Status New => Under Review 2013-05-19 18:12 fbauzac Assigned To => ajosey 2013-05-19 18:12 fbauzac Name => Fabrice Bauzac 2013-05-19 18:12 fbauzac Section => strtoul 2013-05-19 18:12 fbauzac Page Number => na 2013-05-19 18:12 fbauzac Line Number => na 2013-05-23 16:27 msbrown Project 1003.1(2004)/Issue 6 => 1003.1(2008)/Issue 7 2014-04-03 16:22 geoffclare Tag Attached: c99 2023-02-16 16:41 nick Note Added: 0006150 2023-02-16 16:41 nick Note Added: 0006151 2023-02-16 16:41 nick Note Deleted: 0006151 2023-02-16 16:42 nick Note Edited: 0006150 2023-02-16 16:44 nick Note Edited: 0006150 2023-02-16 16:45 nick Note Edited: 0006150 2023-04-06 16:30 geoffclare Note Added: 0006256 ======================================================================