diff options
author | pfg <pfg@FreeBSD.org> | 2014-06-21 01:48:45 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2014-06-21 01:48:45 +0000 |
commit | 56eadad6c552cf366b03f1759d7794ccc97291f7 (patch) | |
tree | f52e00e34423d07617c8faeafa9b81f346ef1901 /usr.bin/patch/patch.1 | |
parent | a63ff939c2a4f901e3d48c6fa8fc2198291561ff (diff) | |
download | FreeBSD-src-56eadad6c552cf366b03f1759d7794ccc97291f7.zip FreeBSD-src-56eadad6c552cf366b03f1759d7794ccc97291f7.tar.gz |
MFC r267426, r267464:
Avoid zeroing during allocation.
This change reverts a change from OpenBSD which made use of
calloc, and therefore wasted time initializing arrays that
will later be realloc'ed.
Consistently use FreeBSD's reallocf():
- Drop some bogus casts to size_t.
- The new_p_foo variables are not needed anymore.
Also merge the changes from OpenBSD's manpage
patch.1 Rev 1.27:
"patch was moved from user portability (UP) to base in issue 7
and is no longer optional"
Diffstat (limited to 'usr.bin/patch/patch.1')
-rw-r--r-- | usr.bin/patch/patch.1 | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1 index 587b166..36ba860 100644 --- a/usr.bin/patch/patch.1 +++ b/usr.bin/patch/patch.1 @@ -19,9 +19,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: patch.1,v 1.26 2010/09/03 11:09:29 jmc Exp $ +.\" $OpenBSD: patch.1,v 1.27 2014/04/15 06:26:54 jmc Exp $ .\" $FreeBSD$ -.Dd January 29, 2013 +.Dd June 12, 2014 .Dt PATCH 1 .Os .Sh NAME @@ -639,13 +639,10 @@ The .Nm utility is compliant with the .St -p1003.1-2008 -specification -(except as detailed above for the +specification, +except as detailed above for the .Fl -posix -option), -though the presence of -.Nm -itself is optional. +option. .Pp The flags .Op Fl BCEFfstVvxz |