Subject: CVS commit: othersrc/bootstrap-pkgsrc/pkg_install/admin
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 04/17/2003 13:57:48
Module Name:	othersrc
Committed By:	grant
Date:		Thu Apr 17 13:57:48 UTC 2003

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

Log Message:
sync with -current:
don't pass NULL as the 2nd arg to getcwd(), ala lib/path.c.

fixes 'pkg_admin lsall' and 'pkg_admin lsbest' on Solaris and probably
other platforms where getcwd() doesn't allocate a buffer when the 2nd
arg is NULL.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 othersrc/bootstrap-pkgsrc/pkg_install/admin/main.c

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