<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/diff, branch releng/12.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2018-08-19T04:15:38Z</updated>
<entry>
<title>diff(1): Refactor -B a little bit</title>
<updated>2018-08-19T04:15:38Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-08-19T04:15:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9488de009c0903f02a2d3ae76b737af1ae1f41fc'/>
<id>urn:sha1:9488de009c0903f02a2d3ae76b737af1ae1f41fc</id>
<content type='text'>
Instead of doing a second pass to skip empty lines if we've specified -I, go
ahead and check both at once. Ignore critera has been split out into its own
function to try and keep the logic cleaner.
</content>
</entry>
<entry>
<title>diff(1): Implement -B/--ignore-blank-lines</title>
<updated>2018-08-19T03:57:20Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2018-08-19T03:57:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e68edb8cf06a796453378b98d963692c838c400f'/>
<id>urn:sha1:e68edb8cf06a796453378b98d963692c838c400f</id>
<content type='text'>
As noted by cem in r338035, coccinelle invokes diff(1) with the -B flag.
This was not previously implemented here, so one was forced to create a link
for GNU diff to /usr/local/bin/diff

Implement the -B flag and add some primitive tests for it. It is implemented
in the same fashion that -I is implemented; each chunk's lines are scanned,
and if a non-blank line is encountered then the chunk will be output.
Otherwise, it's skipped.

MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Improve --strip-trailing-cr handling:</title>
<updated>2018-07-27T05:21:20Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2018-07-27T05:21:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9977c7b5127ed393b291323fc095f65b39ab7a99'/>
<id>urn:sha1:9977c7b5127ed393b291323fc095f65b39ab7a99</id>
<content type='text'>
 - Advance ctold for f1 and ctnew for f2
 - ungetc() if the character is unexpected
 - Don't break early when we hit the combination on one side

PR:		230049
Reported by:	maskray &lt;emacsray gmail com&gt;
Reviewed by:	bapt, maskray
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D16451
</content>
</entry>
<entry>
<title>Convert `cap_enter() &lt; 0 &amp;&amp; errno != ENOSYS` to `caph_enter() &lt; 0`.</title>
<updated>2018-06-19T23:43:14Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-06-19T23:43:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7672a0148f79063eac8f8e0beb0db5350d02d5d4'/>
<id>urn:sha1:7672a0148f79063eac8f8e0beb0db5350d02d5d4</id>
<content type='text'>
No functional change intended.
</content>
</entry>
<entry>
<title>Fix memory leak</title>
<updated>2018-06-12T16:42:11Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-06-12T16:42:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=43d7b1c097bdd90eaadcaf41d87d526ca02f72b0'/>
<id>urn:sha1:43d7b1c097bdd90eaadcaf41d87d526ca02f72b0</id>
<content type='text'>
CID:		1393352
</content>
</entry>
<entry>
<title>Correctly test return value of pipe(2)</title>
<updated>2018-06-12T16:40:22Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-06-12T16:40:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5a43dca273c2628bb4936deb168acb063da5cee9'/>
<id>urn:sha1:5a43dca273c2628bb4936deb168acb063da5cee9</id>
<content type='text'>
CID:		1393351
</content>
</entry>
<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>Isolate the pr(1) related code in its own source files</title>
<updated>2018-06-09T20:24:17Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2018-06-09T20:24:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fa5bf0832efe8a894f612968c5afe1ad91f3a03'/>
<id>urn:sha1:6fa5bf0832efe8a894f612968c5afe1ad91f3a03</id>
<content type='text'>
This keeps diffreg.c closer to what it is supposed to do:
diffing regular files.

It also allows my code to get a proper license
</content>
</entry>
<entry>
<title>Replace homemade equivalent of tolower(3) by towlower(3)</title>
<updated>2017-12-13T16:09:00Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-12-13T16:09:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0118df5ecf3718e0dbb2c9943e72437908efada2'/>
<id>urn:sha1:0118df5ecf3718e0dbb2c9943e72437908efada2</id>
<content type='text'>
This will help in the futur making diff -i works with multibyte
</content>
</entry>
<entry>
<title>spdx: initial adoption of licensing ID tags.</title>
<updated>2017-11-18T14:26:50Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-18T14:26:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df57947f083046d50552e99b91074927d2458708'/>
<id>urn:sha1:df57947f083046d50552e99b91074927d2458708</id>
<content type='text'>
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13133
</content>
</entry>
</feed>
