On Mon, Jan 24, 2011 at 9:52 PM, Marek Olšák <mar...@gmail.com> wrote:
> Let's assume there are two options with names such that one is a substring
> of another. Previously, if we only specified the longer one as a debug option,
> the shorter one would be considered specified as well (because of strstr).
> This commit fixes it by checking that each option is surrounded by commas.
>
> (a regexp would be nicer, but this is not a performance critical code)

Looks good to me.

-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to