<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff/diffdir.c, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-06-09T21:09:24Z</updated>
<entry>
<title>diff: Import fixes from OpenBSD</title>
<updated>2018-06-09T21:09:24Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-06-09T21:09:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e620f7fb56fa741b6e8f196979195f3a14b1dddb'/>
<id>urn:sha1:e620f7fb56fa741b6e8f196979195f3a14b1dddb</id>
<content type='text'>
original commit log by miller@OpenBSD  r1.46:
Fix exit value when diffing directories with missing files and the -N
or -P options are not used.  From Ibrahim Khalifa
</content>
</entry>
<entry>
<title>Fix exit status with -rq when there is a file in one directory but not another,</title>
<updated>2017-07-17T18:06:42Z</updated>
<author>
<name>Enji Cooper</name>
<email>ngie@FreeBSD.org</email>
</author>
<published>2017-07-17T18:06:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2d920b13cbf3fe93b5ed2c4aa4254d24c0fc95bb'/>
<id>urn:sha1:2d920b13cbf3fe93b5ed2c4aa4254d24c0fc95bb</id>
<content type='text'>
i.e., when print_only is called.

Prior to this change, -rq was always returning 0. After this change it will
return 1 if there is a difference between two directories.

This fixes compatibility with GNU diff and unbreaks backwards compatibility
expectations.

Found when trying to extend diff_test:brief_format_test.

MFC after:	2 months
MFC with:	r321076, r321077
</content>
</entry>
<entry>
<title>Clean up headers declaration</title>
<updated>2017-04-15T13:57:35Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-04-15T13:57:35Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7752043c9de277c9a4992b0e2f87ff3deb37fde0'/>
<id>urn:sha1:7752043c9de277c9a4992b0e2f87ff3deb37fde0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix building with recent gcc</title>
<updated>2017-03-12T04:04:16Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-03-12T04:04:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d5b187aefb8832bb5435f8c0c33ba954d9424e43'/>
<id>urn:sha1:d5b187aefb8832bb5435f8c0c33ba954d9424e43</id>
<content type='text'>
Reported by:	lwhsu, ngie
</content>
</entry>
<entry>
<title>Import diff from OpenBSD and remove GNU diff</title>
<updated>2017-03-11T05:01:29Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-03-11T05:01:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bbe3f672e37e4f609adb3be3a6476edce2243ec'/>
<id>urn:sha1:3bbe3f672e37e4f609adb3be3a6476edce2243ec</id>
<content type='text'>
Some of the modifications from the previous summer of code has been integrated
Modification for compatibility with GNU diff output has been added

Main difference with OpenBSD:
Implement multiple GNU diff options:
* --ignore-file-name-case
* --no-ignore-file-name-case
* --normal
* --tabsize
* --strip-trailing-cr
Make diff -p compatible with GNU diff
Implement diff -l
Make diff -r compatible with GNU diff

Capsicumize diffing 2 regular files
Add a simple test suite

Approved by:	AsiaBSDcon devsummit
Obtained from:	OpenBSD, GSoC
Relnotes:	yes
</content>
</entry>
</feed>
