Re: [PATCH 2/2] ref-filter: add function to parse atoms from a nul-terminated string

2017-01-26 Thread Junio C Hamano
SZEDER Gábor writes: > On Wed, Dec 7, 2016 at 5:09 PM, SZEDER Gábor wrote: >> ref-filter's parse_ref_filter_atom() function parses an atom between >> the start and end pointers it gets as arguments. This is fine for two >> of its callers, which

Re: [PATCH 2/2] ref-filter: add function to parse atoms from a nul-terminated string

2017-01-26 Thread SZEDER Gábor
On Wed, Dec 7, 2016 at 5:09 PM, SZEDER Gábor wrote: > ref-filter's parse_ref_filter_atom() function parses an atom between > the start and end pointers it gets as arguments. This is fine for two > of its callers, which process '%(atom)' format specifiers and the end >

Re: [PATCH 2/2] ref-filter: add function to parse atoms from a nul-terminated string

2016-12-08 Thread SZEDER Gábor
On Wed, Dec 7, 2016 at 5:09 PM, SZEDER Gábor wrote: > ref-filter's parse_ref_filter_atom() function parses an atom between > the start and end pointers it gets as arguments. This is fine for two > of its callers, which process '%(atom)' format specifiers and the end >

[PATCH 2/2] ref-filter: add function to parse atoms from a nul-terminated string

2016-12-07 Thread SZEDER Gábor
ref-filter's parse_ref_filter_atom() function parses an atom between the start and end pointers it gets as arguments. This is fine for two of its callers, which process '%(atom)' format specifiers and the end pointer comes directly from strchr() looking for the closing ')'. However, it's not