Source-Changes archive

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

CVS commit: [netbsd-7] src/usr.bin/patch



Module Name:    src
Committed By:   snj
Date:           Tue Aug  4 21:03:33 UTC 2015

Modified Files:
        src/usr.bin/patch [netbsd-7]: common.h inp.c patch.1

Log Message:
Pull up following revision(s) (requested by christos in ticket #918):
        usr.bin/patch/patch.1: revisions 1.18, 1.19
        usr.bin/patch/common.h: revision 1.21
        usr.bin/patch/inp.c: revision 1.24
>From Martin Natano @bitrig: Use execve(2) instead of system to apply patches
that require rcs command execution instead system(3) to avoid malicious
filenames in patches causing bad things to happen. In the process, lose SCCS
support. It is not like we are shipping sccs commands for that to work.
--
Use absolute paths for RCS commands (Martin Natano)
--
remove reference to SCCS which is not supported anymore.
--
Fix two typos.


To generate a diff of this commit:
cvs rdiff -u -r1.19.38.1 -r1.19.38.2 src/usr.bin/patch/common.h
cvs rdiff -u -r1.23 -r1.23.24.1 src/usr.bin/patch/inp.c
cvs rdiff -u -r1.17 -r1.17.2.1 src/usr.bin/patch/patch.1

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