cvs commit: src/usr.bin/patch Makefile backupfile.c backupfile.h common.h inp.c mkpath.c patch.1 patch.c pch.c util.c util.h
Sascha Wildner
swildner at crater.dragonflybsd.org
Sat Sep 29 16:13:14 PDT 2007
swildner 2007/09/29 16:11:10 PDT
DragonFly src repository
Modified files:
usr.bin/patch Makefile backupfile.c backupfile.h
common.h inp.c patch.1 patch.c pch.c
util.c util.h
Added files:
usr.bin/patch mkpath.c
Log:
Sync with OpenBSD:
* Instead of calling out mkdir -p, reuse code from mkdir(1).
* Use calloc() to avoid malloc(n * m) overflows.
* Add detailed SYNOPSIS to the manual page, sort options and add
missing arguments.
* Various cleanups.
Revision Changes Path
1.7 +2 -2 src/usr.bin/patch/Makefile
1.4 +5 -4 src/usr.bin/patch/backupfile.c
1.3 +1 -1 src/usr.bin/patch/backupfile.h
1.4 +4 -2 src/usr.bin/patch/common.h
1.6 +9 -9 src/usr.bin/patch/inp.c
1.8 +104 -53 src/usr.bin/patch/patch.1
1.7 +6 -5 src/usr.bin/patch/patch.c
1.5 +5 -6 src/usr.bin/patch/pch.c
1.9 +5 -8 src/usr.bin/patch/util.c
1.2 +4 -1 src/usr.bin/patch/util.h
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/Makefile.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/backupfile.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/backupfile.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/common.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/inp.c.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/patch.1.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/patch.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/pch.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/util.c.diff?r1=1.8&r2=1.9&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/patch/util.h.diff?r1=1.1&r2=1.2&f=u
More information about the Commits
mailing list