From: Johan Herland Date: Sat, 09 Jun 2007 21:47:08 GMT Subject: Re: [PATCH 12/21] Use prefixcmp() instead of memcmp() for cleaner code with less magic numbers Message-ID: <200706092347.08729.johan@herland.net> In-Reply-To: <81b0412b0706091442m6594260btd3b898bfb63e1fbb@mail.gmail.com> On Saturday 09 June 2007, Alex Riesen wrote: > On 6/9/07, Johan Herland wrote: > > +/* > > + * Perform parsing and verification of tag object data. > > + * > > + * The 'item' parameter may be set to NULL if only verification is desired. > > + * > > + * The given data _must_ be null-terminated. > > + */ > > int parse_and_verify_tag_buffer(struct tag *item, > > const char *data, const unsigned long size, int thorough_verify) > > This hunk really belongs into commit which introduced the function > parse_and_verify_tag_buffer. Yes. I'm sorry it slipped out of that patch and into this one. ...Johan -- Johan Herland, www.herland.net