[PATCH:xrdb 2/3] Replace complex malloc calculations with asprintf()

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jan 5 07:09:53 PST 2011


On 01/ 5/11 01:42 AM, Julien Cristau wrote:
> On Tue, Jan  4, 2011 at 20:31:41 -0800, Alan Coopersmith wrote:
> 
>> Includes simple local implemenation of asprintf if configure doesn't
>> find one in system libraries.
>>
>> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
>> ---
>>  configure.ac |    3 +-
>>  xrdb.c       |   72 ++++++++++++++++++++++++++++++++++++---------------------
>>  2 files changed, 47 insertions(+), 28 deletions(-)
>>
> This is going to conflict with the -P patch all over the place :)

Yes, the -P patch is what brought it to my attention, but hopefully this will
also simplify the -P patch.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list