Article 6RQ96 [$] realloc() and the oversize importance of zero-size objects

[$] realloc() and the oversize importance of zero-size objects

by
corbet
from LWN.net on (#6RQ96)
Small objects can lead to large email threads. In thiscase, the GNU C Library (glibc) community has been having an extensivedebate over the handling of zero-byte allocations. Specifically, whatshould happen when a program calls realloc()specifying a size of zero? This is, it seems, a topic about which somepeople, at least, have strong feelings.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments