On 11/19/2016 11:18 PM, Jakub Jelinek wrote:
On Sat, Nov 19, 2016 at 04:43:29PM -0700, Martin Sebor wrote:Thanks for calling out the realloc(0, p) case! Realloc(0, p) is?? The DR you refer to deprecates realloc(p, 0), not realloc(0, p).
We are discussing zero size allocation so I was obviously referring to realloc(p, 0). Bernd had the arguments in the right order in his message and I transposed them by mistake in my reply. Martin