<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/diff, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Retire GNU diff3</title>
<updated>2026-02-22T01:53:19+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-10-02T16:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9a44e42a2b8f5f78695016344e760d72ad0b1220'/>
<id>9a44e42a2b8f5f78695016344e760d72ad0b1220</id>
<content type='text'>
We added the option to build BSD diff3 in commit 2201f7c49f11 ("Build
BSD diff3 if GNU diff3 is disabled.") and made it the default in
4d5c434ed16e ("diff3: use bsd diff3 by default") after resolving
deficiencies relative to GNU diff3.  Thus, we can now remove the GNU
diff3 build infrastructure and source.

Reviewed by:	bapt, ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46878
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We added the option to build BSD diff3 in commit 2201f7c49f11 ("Build
BSD diff3 if GNU diff3 is disabled.") and made it the default in
4d5c434ed16e ("diff3: use bsd diff3 by default") after resolving
deficiencies relative to GNU diff3.  Thus, we can now remove the GNU
diff3 build infrastructure and source.

Reviewed by:	bapt, ziaee
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D46878
</pre>
</div>
</content>
</entry>
<entry>
<title>diff3: Use a format string to quiet a compiler warning</title>
<updated>2026-02-13T20:19:58+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-11-18T13:21:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd52a9becc62f721ad6a61c7301559afaedee010'/>
<id>fd52a9becc62f721ad6a61c7301559afaedee010</id>
<content type='text'>
And bump WARNS to 2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And bump WARNS to 2
</pre>
</div>
</content>
</entry>
<entry>
<title>diff3: Use logical-not, not bitwise for booleans</title>
<updated>2025-11-18T18:53:24+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-11-18T13:20:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=abcb80f46c2607fc16564ca87cc25f0908f29f99'/>
<id>abcb80f46c2607fc16564ca87cc25f0908f29f99</id>
<content type='text'>
And compare impcompat != 0 as it's actually an integer incremented on
each use of one of the AeExX3 options.

Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53808
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And compare impcompat != 0 as it's actually an integer incremented on
each use of one of the AeExX3 options.

Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53808
</pre>
</div>
</content>
</entry>
<entry>
<title>diff3: Remove bespoke getopt.h</title>
<updated>2025-11-18T13:42:36+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2025-11-18T13:16:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=38829592dc77e9ead4259785e0bfb93bd4c2fe34'/>
<id>38829592dc77e9ead4259785e0bfb93bd4c2fe34</id>
<content type='text'>
diff3's getopt.h included a function declaration without a prototype,
which produces a compiler warning.  Just remove the bespoke getopt.h
and use the system header.

Reported by:	Mark Millard
Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53802
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
diff3's getopt.h included a function declaration without a prototype,
which produces a compiler warning.  Just remove the bespoke getopt.h
and use the system header.

Reported by:	Mark Millard
Reviewed by:	fuz
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53802
</pre>
</div>
</content>
</entry>
<entry>
<title>contrib: Remove various $FreeBSD$ tags not upstream</title>
<updated>2024-05-31T19:49:17+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-05-31T19:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=d37eb51047221dc3322b34db1038ff3aa533883f'/>
<id>d37eb51047221dc3322b34db1038ff3aa533883f</id>
<content type='text'>
Sponsored by:		Netflix
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sponsored by:		Netflix
</pre>
</div>
</content>
</entry>
<entry>
<title>gnu diff3: apply patch to committed src, rather than at build time</title>
<updated>2022-11-14T02:33:40+00:00</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2022-11-11T19:48:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3a13b5ac83a100ebb5a0da0579e418f19b3b630b'/>
<id>3a13b5ac83a100ebb5a0da0579e418f19b3b630b</id>
<content type='text'>
This appears to be a leftover from the time we used a less-capable VCS.

Reviewed by:	delphij
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D37368
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This appears to be a leftover from the time we used a less-capable VCS.

Reviewed by:	delphij
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D37368
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix macro-redefined warning in gnu/diff for fputc_unlocked</title>
<updated>2021-01-19T21:23:25+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-01-19T11:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7954ad9f22b3b453c4cea49dc663e7b17631a209'/>
<id>7954ad9f22b3b453c4cea49dc663e7b17631a209</id>
<content type='text'>
While updating config.h to set HAVE_DECL_FPUTC_UNLOCKED to 1 also update
the other macros that are defined in stdio.h.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While updating config.h to set HAVE_DECL_FPUTC_UNLOCKED to 1 also update
the other macros that are defined in stdio.h.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the wrong format, format specifies type 'int' but the argument has type</title>
<updated>2015-06-01T06:14:17+00:00</updated>
<author>
<name>Marcelo Araujo</name>
<email>araujo@FreeBSD.org</email>
</author>
<published>2015-06-01T06:14:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9310c7d568363767c06ec1aa2255c313e70f54bc'/>
<id>9310c7d568363767c06ec1aa2255c313e70f54bc</id>
<content type='text'>
'long', it was spotted by clang.

Differential Revision:	D2663
Reviewed by:		imp, rodrigc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'long', it was spotted by clang.

Differential Revision:	D2663
Reviewed by:		imp, rodrigc
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert texinfo to mdoc(7) using texi2mdoc</title>
<updated>2015-03-02T11:48:00+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2015-03-02T11:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2fd5d19071f68264b1d432b77bc38239c8b2aa40'/>
<id>2fd5d19071f68264b1d432b77bc38239c8b2aa40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a cut and paste error.</title>
<updated>2014-01-05T23:28:03+00:00</updated>
<author>
<name>Warren Block</name>
<email>wblock@FreeBSD.org</email>
</author>
<published>2014-01-05T23:28:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=998db43a8d31330a111205a1bba9707883de8610'/>
<id>998db43a8d31330a111205a1bba9707883de8610</id>
<content type='text'>
PR:		docs/184791
Submitted by:	Jamie Landeg Jones &lt;jamie@dyslexicfish.net&gt;
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		docs/184791
Submitted by:	Jamie Landeg Jones &lt;jamie@dyslexicfish.net&gt;
MFC after:	3 days
</pre>
</div>
</content>
</entry>
</feed>
