A NOTE has been added to this issue. ====================================================================== http://austingroupbugs.net/view.php?id=1021 ====================================================================== Reported By: ch3root Assigned To: ====================================================================== Project: 1003.1(2013)/Issue7+TC1 Issue ID: 1021 Category: System Interfaces Type: Error Severity: Comment Priority: normal Status: New Name: Alexander Cherepanov Organization: User Reference: Section: fwprintf Page Number: unknown Line Number: unknown Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2016-01-10 16:53 UTC Last Modified: 2016-11-10 16:34 UTC ====================================================================== Summary: fwprintf EOVERFLOW ======================================================================
---------------------------------------------------------------------- (0003484) geoffclare (manager) - 2016-11-10 16:34 http://austingroupbugs.net/view.php?id=1021#c3484 ---------------------------------------------------------------------- Interpretation response ------------------------ The standard states the requirements for the error handling for the wprintf family of functions, and conforming implementations must conform to this. However, concerns have been raised about this which are being referred to the sponsor. Rationale: ------------- None. Notes to the Editor (not part of this interpretation): ------------------------------------------------------- On (2016 edition) page 915 line 31020 section fprintf() change:<blockquote>If an output error was encountered</blockquote>to:<blockquote>If an error was encountered</blockquote> On (2016 edition) page 998 line 33977 section fwprintf() change:<blockquote>if an output error was encountered</blockquote>to:<blockquote>if an error was encountered</blockquote> On (2016 edition) page 998 line 33982 add:<blockquote>[EOVERFLOW]<blockquote>[CX] The value to be returned is greater than {INT_MAX}.[/CX]</blockquote></blockquote> On (2016 edition) page 999 line 33988 change:<blockquote>The value of <i>n</i> is greater than {INT_MAX} or the number of bytes needed to hold the output excluding the terminating null is greater than {INT_MAX}.</blockquote>to:<blockquote>The value of <i>n</i> is greater than {INT_MAX}.</blockquote> Issue History Date Modified Username Field Change ====================================================================== 2016-01-10 16:53 ch3root New Issue 2016-01-10 16:53 ch3root Name => Alexander Cherepanov 2016-01-10 16:53 ch3root Section => fwprintf 2016-01-10 16:53 ch3root Page Number => unknown 2016-01-10 16:53 ch3root Line Number => unknown 2016-11-10 16:34 geoffclare Note Added: 0003484 ======================================================================