mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
util/disk_cache: do not allow space in MESA_GLSL_CACHE_MAX_SIZE
No other env var used in mesa allows for space in the variable contents. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
350e8e821f
commit
cadf174866
1 changed files with 0 additions and 2 deletions
|
|
@ -278,8 +278,6 @@ disk_cache_create(void)
|
|||
if (end == max_size_str) {
|
||||
max_size = 0;
|
||||
} else {
|
||||
while (*end && isspace(*end))
|
||||
end++;
|
||||
switch (*end) {
|
||||
case 'K':
|
||||
case 'k':
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue