No system is known to set errno when using free, successfully or
otherwise, and POSIX Issue 8 is slated to protect it on success
to simplify error handling:
https://www.austingroupbugs.net/view.php?id=385
On Sunday, December 20, 2020 3:45:47 PM EST Florian Weimer wrote:
glibc currently does [set errno on successful free]:
https://sourceware.org/bugzilla/show_bug.cgi?id=17924
Wow, I had no idea! Nevermind then, at least for now, although is it
a coincidence that the glibc bug happened to have patches posted
yesterday that ought to resolve it?
glibc currently does [set errno on successful free]: https://sourceware.org/bugzilla/show_bug.cgi?id=17924
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 91:10:37 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,334,158 |