freebsd-nq/usr.sbin/pkg_install/delete
Dag-Erling Smørgrav 0f98df2956 Fix a long-standing bug where if the package being deleted had no
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized.  In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:

.//: Permission denied

This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.

MFC after:	3 days
2003-02-25 15:01:54 +00:00
..
delete.h
main.c
Makefile Fix a long-standing bug where if the package being deleted had no 2003-02-25 15:01:54 +00:00
perform.c Fix a long-standing bug where if the package being deleted had no 2003-02-25 15:01:54 +00:00
pkg_delete.1 Use `The .Nm utility' 2002-04-20 12:27:18 +00:00