This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] mtrace: properly handle realloc (p, 0)
> The original subject of this thread is quite straightforward and none
> of this fritter about the standards is relevant to it at all. The
> change was to make mtrace's analysis of libc calls consistent with
> what they actually do. That's clearly a correct change and that's all
> there is to it. If the behavior of realloc changes in the future, for
> whatever reason, then it will be appropriate and necessary to update
> mtrace so it continues to accurately reflect the actual behavior.
I agree. That makes sense.