pkg
pkg copied to clipboard
main's pkg_add.c is still using fopen("/tmp/pkg_add_cache", "w"), not open_cache_write()
https://github.com/freebsd/pkg/blob/30773fa8c3779e9dc840d8b44a1e5aed19d86275/libpkg/pkg_add.c#L1189
There is no use of open_cache_write() but there is use of open_cache_read() earlier in the code. So the "if (package_building && !cache_exist)" code is not using the new path /var/cache/pkg/pkg_add_cache .