<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/tail, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-04-02T17:10:17Z</updated>
<entry>
<title>MFC r251565:</title>
<updated>2014-04-02T17:10:17Z</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2014-04-02T17:10:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b0b2d07b9aa83484c9339e3de3ceb8b31c01b1d1'/>
<id>urn:sha1:b0b2d07b9aa83484c9339e3de3ceb8b31c01b1d1</id>
<content type='text'>
Print file names without stdio buffering to avoid mixing buffered and
unbuffered ouput.

PR:		bin/176886
</content>
</entry>
<entry>
<title>tail: Fix crash if -F'ed file's filesystem disappears.</title>
<updated>2011-08-14T13:37:38Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2011-08-14T13:37:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54d34ff63deb6b929444de83db4c9fa96e7ba6e5'/>
<id>urn:sha1:54d34ff63deb6b929444de83db4c9fa96e7ba6e5</id>
<content type='text'>
If tail notices that a file it is following no longer exists (because stat()
fails), it will output any final lines and then close the file. If the read
operation also causes an error, such as when the filesystem is forcefully
unmounted, it closes the file as well, leading to fclose(NULL) and a
segmentation fault.

PR:		bin/159750
Submitted by:	swills
Approved by:	re (kib)
MFC after:	1 week
</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>Build usr.bin/ with WARNS=6 by default.</title>
<updated>2010-01-02T10:27:05Z</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T10:27:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b7946da96b4498519f66f3f5fe72d1474bf13f7d'/>
<id>urn:sha1:b7946da96b4498519f66f3f5fe72d1474bf13f7d</id>
<content type='text'>
Also add some missing $FreeBSD$ to keep svn happy.
</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>Use our canonical .Dd format.</title>
<updated>2009-11-02T12:35:38Z</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2009-11-02T12:35:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf6c5eebe7a6f0f1e8b75d249a54989c5fa3bcdc'/>
<id>urn:sha1:cf6c5eebe7a6f0f1e8b75d249a54989c5fa3bcdc</id>
<content type='text'>
Submitted by:	Ulrich Spoerlein
</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>Nuking the temporary pointer once it is properly tracked in local storage.</title>
<updated>2007-11-22T01:51:46Z</updated>
<author>
<name>Tai-hwa Liang</name>
<email>avatar@FreeBSD.org</email>
</author>
<published>2007-11-22T01:51:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e7356456ed980db73b21df22d5405c1aaeeca003'/>
<id>urn:sha1:e7356456ed980db73b21df22d5405c1aaeeca003</id>
<content type='text'>
This should fix the double free() bug where there's no tailing newline(\n)
character:

	current# echo -n test | tail
	testAssertion failed: (run-&gt;magic == ARENA_RUN_MAGIC), function
	arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448.
	Abort (core dumped)

Reviewed by:	kib
MFC after:	3 days
</content>
</entry>
<entry>
<title>initialize variables, WARNS=6 compliant</title>
<updated>2007-11-02T18:06:51Z</updated>
<author>
<name>Philippe Charnier</name>
<email>charnier@FreeBSD.org</email>
</author>
<published>2007-11-02T18:06:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f8c2d2bde173c40f2f1780099df1099ba0bebbcb'/>
<id>urn:sha1:f8c2d2bde173c40f2f1780099df1099ba0bebbcb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix various memory leaks.</title>
<updated>2007-10-17T09:52:08Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2007-10-17T09:52:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7ce8354a9bf58ba0433d798d97bb890379c365d9'/>
<id>urn:sha1:7ce8354a9bf58ba0433d798d97bb890379c365d9</id>
<content type='text'>
Submitted by:	rdivacky
Obtained from:	OpenBSD
MFC after:	1 week
</content>
</entry>
</feed>
