summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/drm
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-01-24 23:41:51 +0100
committerMarek Olšák <[email protected]>2011-01-26 10:48:21 +0100
commitc7c733545a19aab3e2b954153b9348ebe3147368 (patch)
treeb0fa789271d3e16b356e6d831680911936008749 /src/gallium/state_trackers/egl/drm
parent0657fc00dd9e69f71d679d480b5d5f4c33cfae35 (diff)
util: require debug options to be separated by commas
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)
Diffstat (limited to 'src/gallium/state_trackers/egl/drm')
0 files changed, 0 insertions, 0 deletions