Sync with OpenBSD:
authorSascha Wildner <swildner@dragonflybsd.org>
Sat, 29 Sep 2007 23:11:10 +0000 (23:11 +0000)
committerSascha Wildner <swildner@dragonflybsd.org>
Sat, 29 Sep 2007 23:11:10 +0000 (23:11 +0000)
commit9d62a0f98f0de1bb82fb9d9c510d597e1e9a188d
tree69c2ca2005c0926a66bbc7f117abc11b82a7f775
parent2d250bd8e8ebf011f991ebef991748710ca76b20
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.
usr.bin/patch/Makefile
usr.bin/patch/backupfile.c
usr.bin/patch/backupfile.h
usr.bin/patch/common.h
usr.bin/patch/inp.c
usr.bin/patch/mkpath.c [new file with mode: 0644]
usr.bin/patch/patch.1
usr.bin/patch/patch.c
usr.bin/patch/pch.c
usr.bin/patch/util.c
usr.bin/patch/util.h