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 libc/12547] realloc(p, 0) violates C99


http://sourceware.org/bugzilla/show_bug.cgi?id=12547

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> 2011-03-17 19:02:55 UTC ---
In view of the conclusion at the WG14 meeting today that C1X should stay with
the C99 semantics for realloc rather than reverting to the C90/POSIX semantics,
and the consequentially proposed changes for POSIX
http://austingroupbugs.net/view.php?id=374
this looks rather like a case for having different versions of realloc
depending on feature test macros (with strict conformance to newer POSIX
versions, or to C99 or C1X without features beyond ISO C, getting the C99
version, and other modes (and existing binaries) getting the C90 version).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]