This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/17924] New: 'free' should not set errno
- From: "eggert at gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 04 Feb 2015 00:06:46 +0000
- Subject: [Bug malloc/17924] New: 'free' should not set errno
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=17924
Bug ID: 17924
Summary: 'free' should not set errno
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: eggert at gnu dot org
As mentioned in <http://austingroupbugs.net/view.php?id=385>, the next major
POSIX release will require 'free' to not set errno. Rich Felker points out
some scenarios when glibc 'free' might set errno; see
<https://sourceware.org/ml/libc-alpha/2015-02/msg00067.html>. These scenarios
should be investigated and fixed.
Also, the glibc documentation should be updated to make it clear to users that
glibc 'free' does not set errno, and that any replacements for 'free' should do
the same.
--
You are receiving this mail because:
You are on the CC list for the bug.