<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff, 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>2021-09-25T08:34:39Z</updated>
<entry>
<title>diff: read whole files to determine if they are ASCII text</title>
<updated>2021-09-25T08:34:39Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-08-22T19:57:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bda949b6efdf099846775d3dc595c36561df1cca'/>
<id>urn:sha1:bda949b6efdf099846775d3dc595c36561df1cca</id>
<content type='text'>
Before this change, only the first BUFSIZE bytes were checked.

(cherry picked from commit 3cbf98e2bee91db9ed9118ff557e02cdd449f49a)
</content>
</entry>
<entry>
<title>diff: don't output carriage returns that were stripped on input</title>
<updated>2021-09-25T08:34:38Z</updated>
<author>
<name>Piotr Pawel Stefaniak</name>
<email>pstef@FreeBSD.org</email>
</author>
<published>2021-08-22T16:05:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ece58f7ada409ac68e072cdddcc29e21127aafce'/>
<id>urn:sha1:ece58f7ada409ac68e072cdddcc29e21127aafce</id>
<content type='text'>
--strip-trailing-cr worked as intended for comparison between files,
but the characters were still present in final output.

(cherry picked from commit af2f0164318455433db95adce07af829285b78ad)
</content>
</entry>
<entry>
<title>diff: Use unprivileged_user with report_identical test</title>
<updated>2021-08-22T16:48:55Z</updated>
<author>
<name>Olivier Cochard</name>
<email>olivier@FreeBSD.org</email>
</author>
<published>2021-02-03T16:18:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=108633bb1556f1e107b05a68fa0c323ac4d2c712'/>
<id>urn:sha1:108633bb1556f1e107b05a68fa0c323ac4d2c712</id>
<content type='text'>
Approved by:	bapt
Sponsored by:	Netflix
Differential Revision:	https://reviews.freebsd.org/D28466

(cherry picked from commit b67df8d7c203a139b5afbe72e1947fbb8c32dc73)
</content>
</entry>
<entry>
<title>usr.bin/diff: fix UBSan error in readhash</title>
<updated>2021-08-05T08:59:26Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-07-06T11:16:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7a7324d9cebee6f42d77a39f3a8c657e23676cc2'/>
<id>urn:sha1:7a7324d9cebee6f42d77a39f3a8c657e23676cc2</id>
<content type='text'>
UBSan complains about the `sum = sum * 127 + chrtran(t);` line below since
that can overflow an `int`. Use `unsigned int` instead to ensure that
overflow is well-defined.

Reviewed By:	imp
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D31075

(cherry picked from commit c78f449d85e0b292fe5d942cca99f11c1cd430fa)
</content>
</entry>
<entry>
<title>diff: eleminitate useless macros</title>
<updated>2021-05-05T08:37:09Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-27T10:47:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7904a2e5a8c56853bd39f5fe22a14cf8b526cd3c'/>
<id>urn:sha1:7904a2e5a8c56853bd39f5fe22a14cf8b526cd3c</id>
<content type='text'>
The diff_output was not bringing any values but was obfuscating
the code.

(cherry picked from commit 7a57c9cb5a4dffb0483beeae6da7cf266ea634be)
</content>
</entry>
<entry>
<title>diff: simplify the hash functions</title>
<updated>2021-05-05T08:37:09Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-26T15:25:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b6b26cecc0babc7834c026b43bb761cbd5147ed9'/>
<id>urn:sha1:b6b26cecc0babc7834c026b43bb761cbd5147ed9</id>
<content type='text'>
Instead of 3 different complex case they have all been folded into a
simple on based on switch

(cherry picked from commit e43239f5140e1b80de122458a2ac037172866058)
</content>
</entry>
<entry>
<title>diff: fix typo in a comment</title>
<updated>2021-05-05T08:37:09Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-26T14:20:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ffbf0225b7d2fbee1acd430eaf714b29f378bebf'/>
<id>urn:sha1:ffbf0225b7d2fbee1acd430eaf714b29f378bebf</id>
<content type='text'>
(cherry picked from commit e52546a3a75f6e4b327178f4d50a98dd99101c64)
</content>
</entry>
<entry>
<title>diff: remove stalled entries in headers</title>
<updated>2021-05-05T08:37:08Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-27T11:13:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5820184feb6c76516da025233b6ac9be8eaf14d'/>
<id>urn:sha1:c5820184feb6c76516da025233b6ac9be8eaf14d</id>
<content type='text'>
(cherry picked from commit 931ad51808a650fd28be27210f25ba05d8e71199)
</content>
</entry>
<entry>
<title>diff: eliminate space at end of line</title>
<updated>2021-05-05T08:37:08Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-27T10:46:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0ce985a23b505750faa446ebf7dae177bf3f88c4'/>
<id>urn:sha1:0ce985a23b505750faa446ebf7dae177bf3f88c4</id>
<content type='text'>
No functionnal changes

(cherry picked from commit 15abb23286541c17ff95bac056cd4979822c4288)
</content>
</entry>
<entry>
<title>diff: add a test case about the non regular file support</title>
<updated>2021-05-05T08:37:07Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-01-26T10:38:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=07d72ca90585ee98dbdd8f4fd2bb01bc2329d99c'/>
<id>urn:sha1:07d72ca90585ee98dbdd8f4fd2bb01bc2329d99c</id>
<content type='text'>
(cherry picked from commit c440e7870a020546ad241848e2ff8e9cb27a3073)
</content>
</entry>
</feed>
