pkg icon indicating copy to clipboard operation
pkg copied to clipboard

main's pkg_add.c is still using fopen("/tmp/pkg_add_cache", "w"), not open_cache_write()

Open markmi opened this issue 6 months ago • 0 comments

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 .

markmi avatar May 26 '25 16:05 markmi