On Thu, 17 Nov 2011 23:31:14 +0900, Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
On Thu, Nov 17, 2011 at 06:17:19PM +0900, OBATA Akio wrote:I feel that pkg_delete(1) should be fixed. Before removal of directory, check not only empty, but also refcount db.I disagree. This instances should be properly using @pkgdir.
Do you want to say as followings? Before removal of directory, check not only empty, but also check ALL other packages' +CONTENTS whether @pkgdir for the directory exists or not. And on package creation, OWN_DIRS must be registered to +CONTENTS as @pkgdir. -- OBATA Akio / obache%NetBSD.org@localhost