Re: [RFC/PATCH 1/3] strbuf: Add strbuf_vaddf function

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

 



On Sun, 11 Apr 2010 14:42:29 +0200, Erik Faye-Lund
<kusmabite@xxxxxxxxxxxxxx> wrote:
> On Sun, Apr 11, 2010 at 1:37 PM, Julian Phillips
> <julian@xxxxxxxxxxxxxxxxx> wrote:
>> +void strbuf_vaddf(struct strbuf *sb, const char *fmt, va_list args)
>> +{
>>        int len;
>>        va_list ap;
>>
>>        if (!strbuf_avail(sb))
>>                strbuf_grow(sb, 64);
>> -       va_start(ap, fmt);
>> +       va_copy(ap, args);
> 
> Isn't va_copy C99?

Indeed.

Hi ho, hi ho, It's off to a custom implementation I go ...

Ho hum.  

-- 
Julian
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]