This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/21789] New: Consider adding reallocarray prototype to stdlib.h to match *BSD behaviour
- From: "krejzi at email dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 19 Jul 2017 10:18:14 +0000
- Subject: [Bug malloc/21789] New: Consider adding reallocarray prototype to stdlib.h to match *BSD behaviour
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21789
Bug ID: 21789
Summary: Consider adding reallocarray prototype to stdlib.h to
match *BSD behaviour
Product: glibc
Version: 2.26
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: malloc
Assignee: unassigned at sourceware dot org
Reporter: krejzi at email dot com
Target Milestone: ---
Glibc 2.26 has added reallocarray function to be more compatible with *BSD
libc. On *BSD, reallocarray is declared in stdlib.h, whereas in current glibc
git master it's declared in malloc.h.
This might introduce some compatibility issues when the autoconf snippet that
checks for reallocarray presence assumes reallocarray is declared in stdlib.h.
See also:
https://github.com/westes/flex/issues/241
--
You are receiving this mail because:
You are on the CC list for the bug.