NetBSD/usr.sbin/pkg_install/create
ben ed4b2f6172 Reduce the use of the system() function in pkg_install to avoid quoting
problems.  Instead, use exec*() functions.

Replace PUSHOUT() macro and string buffers with a function that
operates on data structures.

If it is necessary to copy files into place from staging area, then use
pax to copy them.

Add functions in pexec.c to create a pipe for sending data to a child
process.  Replace pipe code in create/perform.c with these functions.
Use these functions instead of command-line arguments when copying files
into place from staging area.

Three system() references remain: @exec, @unexec, and vsystem().
2005-11-23 04:59:14 +00:00
..
Makefile
create.h
main.c Add compat #ifdefs from pkgsrc, to make syncing easier between the 2005-11-05 13:11:02 +00:00
perform.c Reduce the use of the system() function in pkg_install to avoid quoting 2005-11-23 04:59:14 +00:00
pkg_create.1
pl.c Add compat #ifdefs from pkgsrc, to make syncing easier between the 2005-11-05 13:11:02 +00:00