The following issue has been SUBMITTED. ====================================================================== https://austingroupbugs.net/view.php?id=1469 ====================================================================== Reported By: dennisw Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1469 Category: Base Definitions and Headers Type: Error Severity: Editorial Priority: normal Status: New Name: Dennis Wölfing Organization: User Reference: Section: <search.h> Page Number: 316 Line Number: 11052-11055 Final Accepted Text: ====================================================================== Date Submitted: 2021-05-04 16:03 UTC Last Modified: 2021-05-04 16:03 UTC ====================================================================== Summary: Inconsistent return type for tfind and tsearch Description: https://austingroupbugs.net/view.php?id=1011 added the posix_tnode type and changed the return types of tfind and tsearch to posix_tnode*. However in the current draft the return type is only changed in XSH but not in XBD <search.h>. Desired Action: On page 316 line 11052-11055 change<blockquote><pre>void *tfind(const void *, posix_tnode *const *, int(*)(const void *, const void *)); void *tsearch(const void *, posix_tnode **, int(*)(const void *, const void *));</pre></blockquote>to<blockquote><pre>posix_tnode *tfind(const void *, posix_tnode *const *, int(*)(const void *, const void *)); posix_tnode *tsearch(const void *, posix_tnode **, int(*)(const void *, const void *));</pre></blockquote> ======================================================================
Issue History Date Modified Username Field Change ====================================================================== 2021-05-04 16:03 dennisw New Issue 2021-05-04 16:03 dennisw Name => Dennis Wölfing 2021-05-04 16:03 dennisw Section => <search.h> 2021-05-04 16:03 dennisw Page Number => 316 2021-05-04 16:03 dennisw Line Number => 11052-11055 ======================================================================
