projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
350e8e8
)
util/disk_cache: do not allow space in MESA_GLSL_CACHE_MAX_SIZE
author
Emil Velikov
<emil.velikov@collabora.com>
Thu, 9 Feb 2017 13:35:34 +0000
(13:35 +0000)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 16 Feb 2017 15:22:17 +0000
(15:22 +0000)
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>
src/util/disk_cache.c
patch
|
blob
|
history
diff --git
a/src/util/disk_cache.c
b/src/util/disk_cache.c
index 047a016006b8e434b4264a106b11adb35246f919..46d161441661471d76d8a4774c3423e0c5d816e1 100644
(file)
--- a/
src/util/disk_cache.c
+++ b/
src/util/disk_cache.c
@@
-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':