From: Alex Riesen Date: Sat, 09 Jun 2007 21:42:40 GMT Subject: Re: [PATCH 12/21] Use prefixcmp() instead of memcmp() for cleaner code with less magic numbers Message-ID: <81b0412b0706091442m6594260btd3b898bfb63e1fbb@mail.gmail.com> In-Reply-To: <200706090217.49818.johan@herland.net> 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.