Subject: Re: Implementation of asprintf()/vasprintf()
To: None <tech-userlevel@netbsd.org>
From: Matthias Buelow <mkb@mukappabeta.de>
List: tech-userlevel
Date: 09/30/2001 23:56:21
Jarom r Dolecek <jdolecek@netbsd.org> writes:

>> >Yes, I suppose that would be okay. Though I wonder if realloc(3)
>> >ever fails if the result is smaller than the original.
>> but that's an implementation-specific property of realloc() that
>> lies outside the domain of *asprintf() and hence must not be relied
>> on.
>That's true. Go ahead with the *asprintf() change, then :)

IIRC, a solution has already been posted in one of the earlier followups?

--mkb