Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Hubert Feyrer <hubertf@netbsd.org>
List: source-changes
Date: 04/21/2001 04:38:15
Module Name: basesrc
Committed By: hubertf
Date: Sat Apr 21 01:38:15 UTC 2001
Modified Files:
basesrc/usr.sbin/pkg_install/add: main.c
Log Message:
Check for return value of getenv() before handing it to strdup().
Fixes a bug in last commit when PKG_ADD was not set.
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 basesrc/usr.sbin/pkg_install/add/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.