Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2019 23:05:40 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        rgrimes@freebsd.org, "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>,  Ed Maste <emaste@freebsd.org>, src-committers <src-committers@freebsd.org>,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r345138 - head/share/man/man9
Message-ID:  <20190315221737.N1248@besplex.bde.org>
In-Reply-To: <3317.1552634192@critter.freebsd.dk>
References:  <201903150152.x2F1q34w027789@gndrsh.dnsmgr.net> <3317.1552634192@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Mar 2019, Poul-Henning Kamp wrote:

> --------
> In message <201903150152.x2F1q34w027789@gndrsh.dnsmgr.net>, "Rodney W. Grimes"
> writes:
>
>>> The first versions of CTM used diff -e and ed(1) to transmit changes,
>>> and that choked up on binary files.  We didn't have patch in the
>>> tree back then.
>
>> patch has always been in the tree.
>> https://github.com/sergev/4.4BSD-Lite2/tree/master/usr/src/usr.bin/patch
>
> Yes, in *that* tree, but it was not always in *our* tree, particularly
> not in the strange time between 1.1.5.1 and 2.0.
>
> Trust me: if it had been, I would not have used diff-e+ed(1)

patch has been in the tree since FreeBSD.1.1.  It was gnu patch, so it
had an unbroken history through the transition to 2.0.  From a FreeBSD-5.2
repository:

XX RCS file: /home/ncvs/src/gnu/usr.bin/patch/patch.c,v
XX Working file: patch.c
XX head: 1.21
XX branch:
XX locks: strict
XX access list:
XX symbolic names:
XX 	RELENG_4_10_0_RELEASE: 1.16.2.4
XX 	RELENG_4_10: 1.16.2.4.0.6
XX 	RELENG_4_10_BP: 1.16.2.4
XX 	RELENG_5_2_1_RELEASE: 1.21
XX 	RELENG_5_2_0_RELEASE: 1.21
XX 	RELENG_5_2: 1.21.0.6
XX 	RELENG_5_2_BP: 1.21
XX 	RELENG_4_9_0_RELEASE: 1.16.2.4
XX 	RELENG_4_9: 1.16.2.4.0.4
XX 	RELENG_4_9_BP: 1.16.2.4
XX 	RELENG_5_1_0_RELEASE: 1.21
XX 	RELENG_5_1: 1.21.0.4
XX 	RELENG_5_1_BP: 1.21
XX 	RELENG_4_8_0_RELEASE: 1.16.2.4
XX 	RELENG_4_8: 1.16.2.4.0.2
XX 	RELENG_4_8_BP: 1.16.2.4
XX 	RELENG_5_0_0_RELEASE: 1.21
XX 	RELENG_5_0: 1.21.0.2
XX 	RELENG_5_0_BP: 1.21
XX 	RELENG_4_7_0_RELEASE: 1.16.2.3
XX 	RELENG_4_7: 1.16.2.3.0.4
XX 	RELENG_4_7_BP: 1.16.2.3
XX 	RELENG_4_6_2_RELEASE: 1.16.2.3
XX 	RELENG_4_6_1_RELEASE: 1.16.2.3
XX 	RELENG_4_6_0_RELEASE: 1.16.2.3
XX 	RELENG_4_6: 1.16.2.3.0.2
XX 	RELENG_4_6_BP: 1.16.2.3
XX 	RELENG_4_5_0_RELEASE: 1.16.2.1
XX 	RELENG_4_5: 1.16.2.1.0.6
XX 	RELENG_4_5_BP: 1.16.2.1
XX 	RELENG_4_4_0_RELEASE: 1.16.2.1
XX 	RELENG_4_4: 1.16.2.1.0.4
XX 	RELENG_4_4_BP: 1.16.2.1
XX 	RELENG_4_3_0_RELEASE: 1.16.2.1
XX 	RELENG_4_3: 1.16.2.1.0.2
XX 	RELENG_4_3_BP: 1.16.2.1
XX 	RELENG_4_2_0_RELEASE: 1.16.2.1
XX 	RELENG_4_1_1_RELEASE: 1.16.2.1
XX 	PRE_SMPNG: 1.18
XX 	RELENG_4_1_0_RELEASE: 1.16
XX 	RELENG_3_5_0_RELEASE: 1.14.2.1
XX 	RELENG_4_0_0_RELEASE: 1.16
XX 	RELENG_4: 1.16.0.2
XX 	RELENG_4_BP: 1.16
XX 	RELENG_3_4_0_RELEASE: 1.14.2.1
XX 	RELENG_3_3_0_RELEASE: 1.14.2.1
XX 	RELENG_3_2_PAO: 1.14.0.4
XX 	RELENG_3_2_PAO_BP: 1.14
XX 	RELENG_3_2_0_RELEASE: 1.14
XX 	RELENG_3_1_0_RELEASE: 1.14
XX 	RELENG_3: 1.14.0.2
XX 	RELENG_3_BP: 1.14
XX 	RELENG_2_2_8_RELEASE: 1.6.6.3
XX 	RELENG_3_0_0_RELEASE: 1.14
XX 	RELENG_2_2_7_RELEASE: 1.6.6.3
XX 	RELENG_2_2_6_RELEASE: 1.6.6.3
XX 	RELENG_2_2_5_RELEASE: 1.6.6.1
XX 	RELENG_2_2_2_RELEASE: 1.6.6.1
XX 	RELENG_2_2_1_RELEASE: 1.6.6.1
XX 	RELENG_2_2_0_RELEASE: 1.6
XX 	RELENG_2_1_7_RELEASE: 1.6.4.1
XX 	RELENG_2_1_6_1_RELEASE: 1.6.4.1
XX 	RELENG_2_1_6_RELEASE: 1.6.4.1
XX 	RELENG_2_2: 1.6.0.6
XX 	RELENG_2_2_BP: 1.6
XX 	RELENG_2_1_5_RELEASE: 1.6.4.1
XX 	RELENG_2_1_0_RELEASE: 1.6
XX 	RELENG_2_1_0: 1.6.0.4
XX 	RELENG_2_1_0_BP: 1.6
XX 	RELENG_2_0_5_RELEASE: 1.6
XX 	RELENG_2_0_5: 1.6.0.2
XX 	RELENG_2_0_5_BP: 1.6
XX 	RELENG_2_0_5_ALPHA: 1.5
XX 	RELEASE_2_0: 1.4
XX 	BETA_2_0: 1.4
XX 	ALPHA_2_0: 1.4.0.2
XX 	MOVED_NEWCVS: 1.4
XX 	FINAL_1_1_5: 1.4
XX 	ALPHA_1_1_5: 1.4
XX 	FINAL_1_1: 1.3
XX 	GAMMA_1_1: 1.3
XX 	BETA_1_1: 1.3.0.2
XX 	BP_BETA_1_1: 1.3
XX 	FINAL_1_0: 1.1.1.1
XX 	EPSILON_1_0: 1.1.1.1
XX 	GAMMA_1_0: 1.1.1.1
XX 	BETA_1_0: 1.1.1.1
XX 	ALPHA_1_0: 1.1.1.1
XX 	V2_10: 1.1.1.1
XX keyword substitution: kv
XX total revisions: 33;	selected revisions: 33
XX description:
XX ----------------------------
XX revision 1.21
XX date: 2002/10/13 01:18:33;  author: kris;  state: Exp;  lines: +7 -6
XX Prevent stack-smashing buffer overflows in -D and -r options by using
XX buffer-safe string functions.  The rest of the code is still probably
XX unsafe.
XX 
XX MFC after:	1 week
XX ...
XX ----------------------------
XX revision 1.2
XX date: 1994/02/17 22:16:03;  author: jkh;  state: Exp;  lines: +21 -7
XX From Poul-Henning Kamp -  Implement a -C option to verify the integrity of
XX a patch before actually applying it.
XX ----------------------------
XX revision 1.1
XX date: 1993/06/19 14:21:51;  author: paul;  state: Exp;
XX branches:  1.1.1;
XX Initial revision
XX ----------------------------
XX revision 1.1.1.1
XX date: 1993/06/19 14:21:52;  author: paul;  state: Exp;  lines: +0 -0
XX b-maked patch-2.10
XX ----------------------------

I don't know how to find the old history using svn.  svn log doesn't show
removed files.  It is hard to find where the files were unless you already
know the history.  svn log on stable/5/gnu/usr.bin/patch/patch.c only shows
history on the branch.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190315221737.N1248>