Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <>
From: Jan Schaumann <>
List: pkgsrc-changes
Date: 01/06/2003 06:34:18
Module Name:	pkgsrc
Committed By:	jschauma
Date:		Mon Jan  6 04:34:17 UTC 2003

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/add: extract.c perform.c
	pkgsrc/pkgtools/pkg_install/files/admin: main.c
	pkgsrc/pkgtools/pkg_install/files/create: pl.c
	pkgsrc/pkgtools/pkg_install/files/delete: main.c perform.c
	pkgsrc/pkgtools/pkg_install/files/info: main.c perform.c
	pkgsrc/pkgtools/pkg_install/files/lib: file.c ftpio.c lpkg.c
	    path.c pen.c pkgdb.c plist.c str.c

Log Message:
Synch with basesrc:
Use EXIT_FAILURE, rather than hardcoding a value of '1' in err(3) and

Plug a memory leak by modifying the signature of
_pkgdb_getPKGDB_FILE() to take a buffer and its size, and fill in that
buffer and return it.

Add an enumerated type which is used in pkgdb_open() to specify
read-only or read-write mode.

Modify the return value of pkgdb_open() to have a more logical boolean

To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/add/extract.c \
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/admin/main.c
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/create/pl.c
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/delete/main.c \
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/info/main.c \
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/pkg_install/files/lib/file.c \
    pkgsrc/pkgtools/pkg_install/files/lib/ftpio.c \
    pkgsrc/pkgtools/pkg_install/files/lib/ \
    pkgsrc/pkgtools/pkg_install/files/lib/lpkg.c \
    pkgsrc/pkgtools/pkg_install/files/lib/path.c \
    pkgsrc/pkgtools/pkg_install/files/lib/pkgdb.c \
    pkgsrc/pkgtools/pkg_install/files/lib/plist.c \
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/pkg_install/files/lib/pen.c

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