Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/usr.sbin/pkg_install



Module Name:    src
Committed By:   riz
Date:           Sun Nov 27 15:46:05 UTC 2005

Modified Files:
        src/usr.sbin/pkg_install/add [netbsd-3]: add.h extract.c futil.c
            perform.c
        src/usr.sbin/pkg_install/create [netbsd-3]: perform.c
        src/usr.sbin/pkg_install/info [netbsd-3]: perform.c
        src/usr.sbin/pkg_install/lib [netbsd-3]: Makefile fexec.c file.c lib.h
            version.h
Added Files:
        src/usr.sbin/pkg_install/lib [netbsd-3]: pexec.c

Log Message:
Pull up following revision(s) (requested by ben in ticket #991):
        usr.sbin/pkg_install/lib/lib.h: revision 1.79
        usr.sbin/pkg_install/lib/Makefile: revision 1.26
        usr.sbin/pkg_install/create/perform.c: revision 1.43
        usr.sbin/pkg_install/add/add.h: revision 1.9
        usr.sbin/pkg_install/lib/fexec.c: revision 1.9
        usr.sbin/pkg_install/lib/file.c: revision 1.75
        usr.sbin/pkg_install/add/futil.c: revision 1.16
        usr.sbin/pkg_install/info/perform.c: revision 1.67
        usr.sbin/pkg_install/add/perform.c: revision 1.114
        usr.sbin/pkg_install/add/extract.c: revision 1.37
        usr.sbin/pkg_install/lib/pexec.c: revision 1.1
        usr.sbin/pkg_install/lib/version.h: revision 1.73
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().


To generate a diff of this commit:
cvs rdiff -r1.7.2.1 -r1.7.2.2 src/usr.sbin/pkg_install/add/add.h
cvs rdiff -r1.34.2.2 -r1.34.2.3 src/usr.sbin/pkg_install/add/extract.c
cvs rdiff -r1.14.6.1 -r1.14.6.2 src/usr.sbin/pkg_install/add/futil.c
cvs rdiff -r1.107.2.5 -r1.107.2.6 src/usr.sbin/pkg_install/add/perform.c
cvs rdiff -r1.40.2.2 -r1.40.2.3 src/usr.sbin/pkg_install/create/perform.c
cvs rdiff -r1.62.2.4 -r1.62.2.5 src/usr.sbin/pkg_install/info/perform.c
cvs rdiff -r1.23.2.2 -r1.23.2.3 src/usr.sbin/pkg_install/lib/Makefile
cvs rdiff -r1.7.6.1 -r1.7.6.2 src/usr.sbin/pkg_install/lib/fexec.c
cvs rdiff -r1.73.2.1 -r1.73.2.2 src/usr.sbin/pkg_install/lib/file.c
cvs rdiff -r1.74.2.4 -r1.74.2.5 src/usr.sbin/pkg_install/lib/lib.h
cvs rdiff -r0 -r1.2.2.1 src/usr.sbin/pkg_install/lib/pexec.c
cvs rdiff -r1.64.2.8 -r1.64.2.9 src/usr.sbin/pkg_install/lib/version.h

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




Home | Main Index | Thread Index | Old Index