Re: [PATCH 12/21] Use prefixcmp() instead of memcmp() for cleaner code with less magic numbers
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jun 9, 2007, 21:42 UTC
- Message-ID
- <81b0412b0706091442m6594260btd3b898bfb63e1fbb@mail.gmail.com>
- In-Reply-To
- <200706090217.49818.johan@herland.net>
On 6/9/07, Johan Herland <johan@herland.net> wrote:
Show 9 quoted lines
> +/* > + * 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.