diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-19 08:06:48 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-19 08:06:48 +0000 |
commit | 7942a4e1d2c7f9c821cae968af1b156019372d2a (patch) | |
tree | 983c446512bc26a2723c915739303dcac0da1570 /usr.sbin/pkg_install/create | |
parent | de49b782662799d33adbe3450f5c4cbdb697a7f0 (diff) | |
download | FreeBSD-src-7942a4e1d2c7f9c821cae968af1b156019372d2a.zip FreeBSD-src-7942a4e1d2c7f9c821cae968af1b156019372d2a.tar.gz |
Various fixes and improvements:
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r-- | usr.sbin/pkg_install/create/perform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index 252a457..30678bb 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -27,6 +27,7 @@ static const char rcsid[] = #include "create.h" #include <err.h> +#include <libgen.h> #include <signal.h> #include <sys/syslimits.h> #include <sys/wait.h> |