Subject: CVS commit: pkgsrc/pkgtools/pkg_install/files/add
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 09/11/2007 12:33:14
Module Name:	pkgsrc
Committed By:	rillig
Date:		Tue Sep 11 12:33:14 UTC 2007

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

Log Message:
Applying sizeof() to a string parameter does not return the size of the
buffer, but the size of a pointer to a buffer. This makes pkg_add -u
work again. It failed before, trying to rename the +REQUIRED_BY file to
"/us" or "/va", depending on the value of PKGDBDIR.


To generate a diff of this commit:
cvs rdiff -r1.61 -r1.62 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.