Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 11/03/2006 09:35:14
Module Name:	pkgsrc
Committed By:	joerg
Date:		Fri Nov  3 09:35:14 UTC 2006

Modified Files:
	pkgsrc/pkgtools/pkg_install/files/add: extract.c
	pkgsrc/pkgtools/pkg_install/files/lib: plist.c version.h

Log Message:
Merge add/extract.c, rev 1.39:
  If a plist contains @owner or @group entries and first rename failed,
  pushout was called with NULL argument. This has the semantic of using a
  working directory of "/", even though already read plist entries are
  relative to prefix. The calls to chown and chgrp therefore end up with
  the wrong arguments for the current directory. To compensate for this,
  don't pushout the first time. As plists are not supposed to have
  multiple @cwd entries anymore, this could most likely be simplified, but
  that is outside the scope of this commit.

Merge lib/plist.c, rev 1.51:
  When processing symlinks in pkg_delete and the call to readlink failed,
  it often helps to know why, so use warn instead of warnx.

Bump version to 20061103.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/pkgtools/pkg_install/files/add/extract.c
cvs rdiff -r1.14 -r1.15 pkgsrc/pkgtools/pkg_install/files/lib/plist.c
cvs rdiff -r1.61 -r1.62 pkgsrc/pkgtools/pkg_install/files/lib/version.h

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