Subject: CVS commit: src/usr.sbin/pkg_install/admin
To: None <source-changes@netbsd.org>
From: grant beattie <grant@netbsd.org>
List: source-changes
Date: 04/17/2003 13:32:22
Module Name:	src
Committed By:	grant
Date:		Thu Apr 17 13:32:22 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/admin: main.c

Log Message:
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.

ok'd by simonb@


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 src/usr.sbin/pkg_install/admin/main.c

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