Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: pkgsrc-changes
Date: 01/07/2003 18:10:04
Module Name:	pkgsrc
Committed By:	jschauma
Date:		Tue Jan  7 16:10:03 UTC 2003

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/delete: main.c
	pkgsrc/pkgtools/pkg_install/files/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.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/delete/main.c
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/info/perform.c

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