A NOTE has been added to this issue. ====================================================================== https://austingroupbugs.net/view.php?id=1894 ====================================================================== Reported By: mjo Assigned To: ====================================================================== Project: 1003.1(2024)/Issue8 Issue ID: 1894 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: New Name: Michael Orlitzky Organization: User Reference: Section: bind_textdomain_codeset Page Number: (page or range of pages) Line Number: (Line or range of lines) Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2024-12-17 19:14 UTC Last Modified: 2024-12-19 10:43 UTC ====================================================================== Summary: Return value for bind_textdomain_codeset() is ambiguous ======================================================================
---------------------------------------------------------------------- (0007016) geoffclare (manager) - 2024-12-19 10:43 https://austingroupbugs.net/view.php?id=1894#c7016 ---------------------------------------------------------------------- The RETURN VALUE section agrees with the second piece of text that a null pointer is returned:<blockquote>A call to the bind_textdomain_codeset() function with a non-empty domainname argument shall return one of the following:<ul><li>The currently bound codeset name for that text domain if codeset is a null pointer</li> <li>The newly bound codeset if codeset is non-empty</li> <li>A null pointer without changing errno if no codeset has yet been bound for that text domain</li></ul> although this also has problems, as the last bullet item should say codeset is null (or be merged into the first bullet item). Issue History Date Modified Username Field Change ====================================================================== 2024-12-17 19:14 mjo New Issue 2024-12-17 19:14 mjo Name => Michael Orlitzky 2024-12-17 19:14 mjo Section => bind_textdomain_codeset 2024-12-17 19:14 mjo Page Number => (page or range of pages) 2024-12-17 19:14 mjo Line Number => (Line or range of lines) 2024-12-19 10:43 geoffclare Note Added: 0007016 ======================================================================