bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: realloc buggy?


From: Paul Eggert
Subject: Re: realloc buggy?
Date: Thu, 01 Jun 2006 09:49:08 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

>> With glibc, if p is not null, realloc (p, 0) always returns NULL.
>
> And free's p, presumably?

Yes.

> The glibc behaviour here seems like something we shouldn't encourage
> IMHO.

Ah, then we probably shouldn't document it either.  (:-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]