diff options
author | 2015-05-19 12:17:05 -0400 | |
---|---|---|
committer | 2015-05-19 12:17:05 -0400 | |
commit | 357a4c2d329ccf46cddb96e07c9308105e977fd3 (patch) | |
tree | ca4d09389e17a83a315f957c75d098506545af76 /qsearch.c | |
parent | qgrep/qpkg: use the cache file given (diff) | |
download | portage-utils-357a4c2d329ccf46cddb96e07c9308105e977fd3.tar.gz portage-utils-357a4c2d329ccf46cddb96e07c9308105e977fd3.tar.bz2 portage-utils-357a4c2d329ccf46cddb96e07c9308105e977fd3.zip |
cache: rework and move to /var/cache/edb
Since we want the portdir to be read-only when possible, move our
cache files to /var/cache/edb. This means the cache regeneration
logic isn't as robust (as we can't rely on rsync deleting it), but
so be it. We can see about improving this in the future.
URL: https://bugs.gentoo.org/548052
Reported-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'qsearch.c')
-rw-r--r-- | qsearch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ int qsearch_main(int argc, char **argv) } #endif last[0] = 0; - fp = fopen(initialize_flat(search_cache), "r"); + fp = fopen(initialize_flat(search_cache, false), "r"); if (!fp) return 1; |