This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/21789] New: Consider adding reallocarray prototype to stdlib.h to match *BSD behaviour


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]