<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/tail/misc.c, branch upstream/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-06-09T22:55:21Z</updated>
<entry>
<title>tail: fix the checks if the file was rotated</title>
<updated>2019-06-09T22:55:21Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2019-06-09T22:55:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c851fce6d779e8340609d7e2364829c61cbcb1ef'/>
<id>urn:sha1:c851fce6d779e8340609d7e2364829c61cbcb1ef</id>
<content type='text'>
The freopen(3) was replaced with fileargs_open(3) and fclose(3).
In the following function, we skip if the stream is standard in, so it is
safe to do so.
This also requires us to change the logic first to open the file and then
check its status. The stat(2) is disallowed in capability mode.

This commit unbrakes the -F option.
The bug was introduced in the r348708.

Reported by:	pho
Tested by:	pho
</content>
</entry>
<entry>
<title>General further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-20T19:49:47Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-20T19:49:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a16b7a18f5d0b031f09832fd7752fba717e2a97'/>
<id>urn:sha1:8a16b7a18f5d0b031f09832fd7752fba717e2a97</id>
<content type='text'>
Mainly focus on files that use BSD 3-Clause license.

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.
</content>
</entry>
<entry>
<title>Renumber copyright clause 4</title>
<updated>2017-02-28T23:42:47Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-02-28T23:42:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fbbd9655e5107c68e4e0146ff22b73d7350475bc'/>
<id>urn:sha1:fbbd9655e5107c68e4e0146ff22b73d7350475bc</id>
<content type='text'>
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann &lt;jschauma@stevens.edu&gt;
Pull Request:	https://github.com/freebsd/freebsd/pull/96
</content>
</entry>
<entry>
<title>Print file names without stdio buffering to avoid mixing buffered and</title>
<updated>2013-06-09T08:06:26Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2013-06-09T08:06:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=849d265d53a721b9bfb8bd5a5e204c026436316d'/>
<id>urn:sha1:849d265d53a721b9bfb8bd5a5e204c026436316d</id>
<content type='text'>
unbuffered ouput.

PR:		bin/176886
Reviewed by:	mjg
</content>
</entry>
<entry>
<title>Remove the advertising clause from UCB copyrighted files in usr.bin.  This</title>
<updated>2010-12-11T08:32:16Z</updated>
<author>
<name>Joel Dahl</name>
<email>joel@FreeBSD.org</email>
</author>
<published>2010-12-11T08:32:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da52b4caaf187775f6b56a72c6b16e94ad728f7b'/>
<id>urn:sha1:da52b4caaf187775f6b56a72c6b16e94ad728f7b</id>
<content type='text'>
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
</content>
</entry>
<entry>
<title>ANSIfy various tools in usr.bin/.</title>
<updated>2010-01-02T10:09:20Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:09:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ef636796f6443dbb7214182450240bba4ddd515f'/>
<id>urn:sha1:ef636796f6443dbb7214182450240bba4ddd515f</id>
<content type='text'>
Most of these tools properly build at WARNS=6, except for their K&amp;R
function declarations. Fix this, so we can bump WARNS as well.
</content>
</entry>
<entry>
<title>Change the behaviour of -F slightly; it now persists (forever) in</title>
<updated>2009-06-05T09:08:53Z</updated>
<author>
<name>Brian Somers</name>
<email>brian@FreeBSD.org</email>
</author>
<published>2009-06-05T09:08:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=22da50cfc88081e487465042b96f969349ecb6c5'/>
<id>urn:sha1:22da50cfc88081e487465042b96f969349ecb6c5</id>
<content type='text'>
trying to open files rather than giving up when it encounters an
error.  ENOENT errors are not reported.

As a result, files that are moved away then recreated are not at
risk of being 'lost' to tail.  Files that are recreated and
temporarily have unreadable permissions will be shown when they
are fixed.

This behaviour is consistent with the GNU version of tail but
without the verbiage that goes with the GNU version.

This change also fixes error messages accompanying -f and -F.
They no longer report problems with (null)!

MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Cast size_t to off_t before adding them to avoid warnings on the alpha.</title>
<updated>2005-01-10T20:19:46Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2005-01-10T20:19:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d0990ea900d0caa58b17d88ed48239d06a8b8b61'/>
<id>urn:sha1:d0990ea900d0caa58b17d88ed48239d06a8b8b61</id>
<content type='text'>
Use %ld and intmax_t for printing an off_t.
</content>
</entry>
<entry>
<title>Convert to ANSI style function definitions.</title>
<updated>2004-11-03T15:23:11Z</updated>
<author>
<name>Paul Richards</name>
<email>paul@FreeBSD.org</email>
</author>
<published>2004-11-03T15:23:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4bba8e595ecc312b5dd9c73c8da1a636f896fce9'/>
<id>urn:sha1:4bba8e595ecc312b5dd9c73c8da1a636f896fce9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WARNS=2 fixes, use __FBSDID().</title>
<updated>2001-12-12T00:01:16Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-12-12T00:01:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=814e3a92a9538486cd1621e811c475c932e32227'/>
<id>urn:sha1:814e3a92a9538486cd1621e811c475c932e32227</id>
<content type='text'>
</content>
</entry>
</feed>
