A NOTE has been added to this issue. ====================================================================== https://www.austingroupbugs.net/view.php?id=1387 ====================================================================== Reported By: rhansen Assigned To: ajosey ====================================================================== Project: 1003.1(2008)/Issue 7 Issue ID: 1387 Category: System Interfaces Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Richard Hansen Organization: User Reference: Section: malloc Page Number: 1295 (Issue 7 2018 edition) Line Number: 43161 (Issue 7 2018 edition) Interp Status: --- Final Accepted Text: ====================================================================== Date Submitted: 2020-08-10 16:46 UTC Last Modified: 2020-08-10 17:45 UTC ====================================================================== Summary: Should EAGAIN be acceptable for malloc failure? ======================================================================
---------------------------------------------------------------------- (0004916) alanc (reporter) - 2020-08-10 17:45 https://www.austingroupbugs.net/view.php?id=1387#c4916 ---------------------------------------------------------------------- I believe the Solaris behavior originally came from passing through sbrk() failures without checking/changing the reported errno value, and thus distinguishes between hitting some limit, for which trying again is not worthwhile, vs. waiting for other processes to exit or otherwise free up memory. Issue History Date Modified Username Field Change ====================================================================== 2020-08-10 16:46 rhansen New Issue 2020-08-10 16:46 rhansen Status New => Under Review 2020-08-10 16:46 rhansen Assigned To => ajosey 2020-08-10 16:46 rhansen Name => Richard Hansen 2020-08-10 16:46 rhansen Section => malloc 2020-08-10 16:46 rhansen Page Number => 1295 (Issue 7 2018 edition) 2020-08-10 16:46 rhansen Line Number => 43161 (Issue 7 2018 edition) 2020-08-10 16:46 rhansen Interp Status => --- 2020-08-10 17:09 rhansen Note Added: 0004914 2020-08-10 17:14 rhansen Description Updated 2020-08-10 17:35 rhansen Desired Action Updated 2020-08-10 17:36 rhansen Desired Action Updated 2020-08-10 17:39 Don Cragun Note Added: 0004915 2020-08-10 17:45 alanc Note Added: 0004916 ======================================================================