Re: [PATCH v2 2/2] make config --add behave correctly for empty and NULL values
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Sep 12, 2014, 08:15 UTC
- Message-ID
- <vpqegvhfe5p.fsf@anie.imag.fr>
- In-Reply-To
- <54129FE1.6020303@gmail.com>
Tanay Abhra <tanayabh@gmail.com> writes:
> +const char CONFIG_REGEX_NONE[] = "a^";
I have a slight preference for this version (no magic (void *)1 value, and belts-and-suspenders solution since someone actually using the regex should still get a correct behavior.
But I'm fine with both Junio/Peff's version or this one.
-- Matthieu Moy http://www-verimag.imag.fr/~moy/