From: David Kastrup Date: Thu, 06 Sep 2007 14:44:42 GMT Subject: Re: [PATCH 1/7] Rework strbuf API and semantics. Message-ID: <857in3dfad.fsf@lola.goethe.zz> In-Reply-To: <20070906142155.GB3002@coredump.intra.peff.net> Jeff King writes: > 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