Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files/add
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 08/15/2007 01:16:27
Module Name:	pkgsrc
Committed By:	joerg
Date:		Wed Aug 15 01:16:27 UTC 2007

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/add: perform.c

Log Message:
Split off the part dealing with already installed packages into
a subfunction.

Bail out if the package name doesn't have a version name.
Bail out if the internal rename failed (it was an assert before).
Invert some of the branches to cut off three levels of indirection.


To generate a diff of this commit:
cvs rdiff -r1.57 -r1.58 pkgsrc/pkgtools/pkg_install/files/add/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.