Hello. While looking at libpkg/pkg_config.c, I noticed that the condition of the conditional branch in function pkg_close_devnull may not be correct. It will not be able to close descriptor only when fd becomes 1. I don't think it will ever be assigned 1, but I'm a little concerned about it :)
Regards.
