Subject: CVS commit: othersrc/bootstrap-pkgsrc/pkg_install
To: None <source-changes@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: source-changes
Date: 01/07/2003 18:12:16
Module Name:	othersrc
Committed By:	jschauma
Date:		Tue Jan  7 16:12:16 UTC 2003

Modified Files:
	othersrc/bootstrap-pkgsrc/pkg_install/admin: main.c
	othersrc/bootstrap-pkgsrc/pkg_install/delete: main.c
	othersrc/bootstrap-pkgsrc/pkg_install/info: perform.c

Log Message:
Unlike pkg_install in src, this version of pkg_install contains
a pkgdb_open that may return one of _three_ values (0,1,-1), so that
we can not simply use
if (!pkgdb_open(ReadOnly))
but need to use
if (pkgdb_open(ReadOnly) == -1)

Mea culpa.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 othersrc/bootstrap-pkgsrc/pkg_install/admin/main.c
cvs rdiff -r1.4 -r1.5 othersrc/bootstrap-pkgsrc/pkg_install/delete/main.c
cvs rdiff -r1.3 -r1.4 othersrc/bootstrap-pkgsrc/pkg_install/info/perform.c

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