projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d6df0
)
babl: do not load cache if BABL_INHIBIT_CACHE is set in environment
author
Øyvind Kolås
<pippin@gimp.org>
Thu, 27 Jan 2022 04:38:47 +0000
(
05:38
+0100)
committer
Øyvind Kolås
<pippin@gimp.org>
Thu, 27 Jan 2022 07:51:17 +0000
(08:51 +0100)
babl/babl.c
patch
|
blob
|
history
diff --git
a/babl/babl.c
b/babl/babl.c
index 515fa09b0bce9f9608dce190c02bdbb4979e3742..141396f9bd9e80ff5fb9b2c42cef8a8fc8badf27 100644
(file)
--- a/
babl/babl.c
+++ b/
babl/babl.c
@@
-158,7
+158,8
@@
babl_init (void)
babl_extension_load_dir_list (dir_list);
babl_free (dir_list);
- babl_init_db ();
+ if (!getenv ("BABL_INHIBIT_CACHE"))
+ babl_init_db ();
}
}