Thread (34 messages) flat view 34 messages, 2 authors, 2016-06-15

Re: [PATCH v2 05/11] ref-filter: skip deref specifier in match_atom_name()

From: Karthik Nayak <hidden>
Date: 2016-06-15 23:07:31

On Thu, Dec 17, 2015 at 2:41 AM, Eric Sunshine [off-list ref] wrote:
On Wed, Dec 16, 2015 at 10:29 AM, Karthik Nayak [off-list ref] wrote:
quoted
In upcoming patches we make calls to match_atom_name() with the '*'
deref specifier still attached to the atom name. This causes
undesirable errors, hence, if present skip over the '*' deref
specifier in the atom name.
I'd drop the second sentence since it doesn't add much or any value.
Instead, you might want to explain that skipping '*' is done as a
convenience.

    Subsequent patches will call match_atom_name() with the '*' deref
    specifier still attached to the atom name so, as a convenience,
    skip over it on their behalf.
Thanks will put that in.
quoted
Signed-off-by: Karthik Nayak <redacted>
---
diff --git a/ref-filter.c b/ref-filter.c
@@ -37,6 +37,10 @@ static int match_atom_name(const char *name, const char *atom_name, const char *
 {
        const char *body;

+       /*  skip the deref specifier*/
Too many spaces before "skip".
Too few spaces after "specifier".
Will fix.

-- 
Regards,
Karthik Nayak
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help