<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff3, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-03-28T08:51:48Z</updated>
<entry>
<title>diff3: set O_CLOEXEC on pipes</title>
<updated>2026-03-28T08:51:48Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-28T08:41:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=945e60e018c287f8097f3ee4a30ccf4921845aa1'/>
<id>urn:sha1:945e60e018c287f8097f3ee4a30ccf4921845aa1</id>
<content type='text'>
This avoid leaking pipe fd in children and simplifies the code

MFC After:	1 week
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D56120
</content>
</entry>
<entry>
<title>diff3: plug fd leak</title>
<updated>2026-03-26T07:40:29Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-26T07:40:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33424fd50ee0333bc6f70b5b14a270b85e5b5de1'/>
<id>urn:sha1:33424fd50ee0333bc6f70b5b14a270b85e5b5de1</id>
<content type='text'>
MFC After:	1 week
Reported by:	kib
</content>
</entry>
<entry>
<title>diff3: prefer posix_spawn over pdfork/execlp</title>
<updated>2026-03-26T07:36:55Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-25T10:08:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f7f0efe8e13247fc80a2a739e757f73a5d7ebda'/>
<id>urn:sha1:5f7f0efe8e13247fc80a2a739e757f73a5d7ebda</id>
<content type='text'>
MFC After:		1 week
Reviewed by:		kib
Differential Revision:	https://reviews.freebsd.org/D56075
</content>
</entry>
<entry>
<title>diff3: Add SPDX-License-Identifier tag</title>
<updated>2026-03-03T19:43:21Z</updated>
<author>
<name>Tuukka Pasanen</name>
<email>tuukka.pasanen@ilmi.fi</email>
</author>
<published>2026-02-12T09:27:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5778700fb8c54a33e5bb00a4a0c4e40fde2edbd9'/>
<id>urn:sha1:5778700fb8c54a33e5bb00a4a0c4e40fde2edbd9</id>
<content type='text'>
Reviewed by: bapt
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55462
</content>
</entry>
<entry>
<title>diff3: Produce correct exit status</title>
<updated>2026-03-02T08:52:06Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-03-02T08:52:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe5341287c6c9bacc18879b25ed72ceb42e1c811'/>
<id>urn:sha1:fe5341287c6c9bacc18879b25ed72ceb42e1c811</id>
<content type='text'>
Use exit status 2 for errors, 1 only to indicate that differences were
found between the inputs (in some operating modes).

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	ngie, bapt
Differential Revision:	https://reviews.freebsd.org/D55608
</content>
</entry>
<entry>
<title>diff3: bump version to the date when the GNU diff3 compat was reached</title>
<updated>2026-03-01T11:37:24Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-01T11:37:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5ddfd1db271cc675997a942da599c342ccb53afa'/>
<id>urn:sha1:5ddfd1db271cc675997a942da599c342ccb53afa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>diff3: Code cleanup</title>
<updated>2026-02-28T18:15:23Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-02-28T18:15:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2dee7786bf32cb66cedec226e42e79e06457c51'/>
<id>urn:sha1:c2dee7786bf32cb66cedec226e42e79e06457c51</id>
<content type='text'>
* Order includes.

* Turn the diff type into an enum.

* Turn an unreachable error message into an assertion.

* Remove unused debugging code.

* Remove some dead assignments.

* Consistently use 1 instead of EXIT_FAILURE.

* Turn a return from main() into an exit().

MFC after:	1 week
Sponsored by:	Klara, Inc.
Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D55517
</content>
</entry>
<entry>
<title>diff3: add 3 missing files from the testsuite</title>
<updated>2026-02-13T19:26:02Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-02-13T17:45:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=284a0aa96eb63f12831a9e06514a50b2cd80957f'/>
<id>urn:sha1:284a0aa96eb63f12831a9e06514a50b2cd80957f</id>
<content type='text'>
Fixes:	2cfca8e710f260b8a1bb1ee5e1836a52e468ef4b
</content>
</entry>
<entry>
<title>diff3: fix merge mode</title>
<updated>2026-02-13T17:36:42Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-02-13T16:10:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2cfca8e710f260b8a1bb1ee5e1836a52e468ef4b'/>
<id>urn:sha1:2cfca8e710f260b8a1bb1ee5e1836a52e468ef4b</id>
<content type='text'>
Make the merge mode compatible with GNU diff3
Add tests for all the changes, those tests are extracted from the
etcupdate testsuite.

This version passes the etcupdate testsuite and the diffutils diff3
test suite.

MFC After:	1 week
</content>
</entry>
<entry>
<title>diff3: fix diff3 -A</title>
<updated>2026-02-13T09:34:15Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-02-13T08:33:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8d442cf32e4fb29fbb85090ac29d32d1e30fd824'/>
<id>urn:sha1:8d442cf32e4fb29fbb85090ac29d32d1e30fd824</id>
<content type='text'>
for cases where file2 differs but file1 and file3 agrees, the code
stored the file2 and file3 line numbers in the de[] editing script
entries but used them as if they were file1 line numbers.

Reviewed by:		thj
Differential Revision:	https://reviews.freebsd.org/D55276
</content>
</entry>
</feed>
