mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:03:40 +00:00
f9a9953071
We previously used strstr, which can be prone to false positives when the name of one extension is a substring of another extension. This commit creates the helper function util_hasGLExt, which asserts that the substring found in extension list is bounded by either spaces or the beginning/end of the string. |
||
---|---|---|
.. | ||
platform | ||
countedbuffer.c | ||
framebuffer.c | ||
KVMFR.c | ||
option.c | ||
stringlist.c | ||
stringutils.c |