Re: [PATCH 1/7] Rework strbuf API and semantics.
Jeff King <peff@peff.net> writes:
Show 16 quoted lines
> On Thu, Sep 06, 2007 at 03:09:28PM +0100, Johannes Schindelin wrote:
>
>> let me thank you for this very nicely done patch series. Except for 5/7,
>> they look pretty much obvious changes to me. I'll review that in detail
>> later.
>
> I second that; I am glad somebody is taking an interest in this area
> (though I haven't closely reviewed the patches yet).
>
>> > +#define STRBUF_INIT { 0, 0, 0, NULL }
>>
>> Would not "struct strbuf sb = { 0 };" have the same effect? (I am not so
>> standards-keen as other people, who I have no doubt will gladly answer
>> this one.)
>
> Yes, it would, according to the standard.Have a citation for that?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum