bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24260: [PATCH 1/6] dfa: thread-safety: remove 'dfa' global in dfa.c


From: Jim Meyering
Subject: bug#24260: [PATCH 1/6] dfa: thread-safety: remove 'dfa' global in dfa.c
Date: Thu, 18 Aug 2016 07:46:53 -0700

On Thu, Aug 18, 2016 at 3:50 AM, Zev Weiss <address@hidden> wrote:
> * src/dfa.c: remove global dfa struct.  A pointer to a struct dfa is
> instead added as a parameter to the functions that had been using the
> global.

Thank you.
At first glance, I like it, but saw no "const" attribute on any added
parameter declaration.
Surely some of those can be "const".  Would you make all new dfa
parameters const that can be?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]