<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/write/write.c, branch releng/8.1</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.1</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F8.1'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2007-11-12T20:02:21Z</updated>
<entry>
<title>write(1) needs to strip off the leading /dev/ from the tty name for the</title>
<updated>2007-11-12T20:02:21Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-11-12T20:02:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a4cc298ac968fd275219d04f2a6fef7b73594253'/>
<id>urn:sha1:a4cc298ac968fd275219d04f2a6fef7b73594253</id>
<content type='text'>
current tty as returned from ttyname(3) so it can try to avoid writing to
the current tty if possible.  Previously, it did this by trimming off any
leading directory (effectively performing a basename(3) on the path
returned from ttyname(3)).  However, this chopped off too much of the path
for ttys who have directories in their name such as pts(4).  Instead, just
strip off the leading /dev/ from the path returned by ttyname(3).  This
fixes write(1) when using pts(4).

MFC after:	1 week
Reported by:	rwatson
</content>
</entry>
<entry>
<title>Fix a typo in comment.</title>
<updated>2005-01-05T11:52:40Z</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2005-01-05T11:52:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e4bac6b8640bf41b651eb2e3563e08823756a95c'/>
<id>urn:sha1:e4bac6b8640bf41b651eb2e3563e08823756a95c</id>
<content type='text'>
Reviewed by:	mux (mentor)
</content>
</entry>
<entry>
<title>ANSIify function definitions.</title>
<updated>2002-09-04T23:29:10Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2002-09-04T23:29:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4ac32def255b5968bdd8150057b9c0d14595689'/>
<id>urn:sha1:f4ac32def255b5968bdd8150057b9c0d14595689</id>
<content type='text'>
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
</content>
</entry>
<entry>
<title>Use getopt() to reject any options and skip "--" arguments.</title>
<updated>2002-05-29T13:14:51Z</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-05-29T13:14:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=759484bacdbfd748c4c3c9beb6b94bf5c9779476'/>
<id>urn:sha1:759484bacdbfd748c4c3c9beb6b94bf5c9779476</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove __P</title>
<updated>2002-03-22T01:42:45Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-03-22T01:42:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41'/>
<id>urn:sha1:3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41</id>
<content type='text'>
</content>
</entry>
<entry>
<title>1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.</title>
<updated>2002-02-27T14:40:09Z</updated>
<author>
<name>David Malone</name>
<email>dwmalone@FreeBSD.org</email>
</author>
<published>2002-02-27T14:40:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=421dfbcfdd8808dca9404958e4be98161ae7a609'/>
<id>urn:sha1:421dfbcfdd8808dca9404958e4be98161ae7a609</id>
<content type='text'>
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
</content>
</entry>
<entry>
<title>WARNS=2 fixes, use __FBSDID(), kill register keyword.</title>
<updated>2001-12-11T22:34:38Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-12-11T22:34:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ba3a235b158a579891a6a1f21aa73c05229de6d'/>
<id>urn:sha1:9ba3a235b158a579891a6a1f21aa73c05229de6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>$Id$ -&gt; $FreeBSD$</title>
<updated>1999-08-28T01:08:13Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>1999-08-28T01:08:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c3aac50f284c6cca5b4f2eb46aaa13812cb8b630'/>
<id>urn:sha1:c3aac50f284c6cca5b4f2eb46aaa13812cb8b630</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up some ambiguous nested if/elses.</title>
<updated>1999-07-04T17:26:16Z</updated>
<author>
<name>Bill Fumerola</name>
<email>billf@FreeBSD.org</email>
</author>
<published>1999-07-04T17:26:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc'/>
<id>urn:sha1:9ef5c48befdfa36ad5ef5e0ae898e7ca9397abcc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow backspace too</title>
<updated>1997-09-15T00:42:04Z</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>1997-09-15T00:42:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe38e2f8f4c12eef9c35fc4ec4a49cdf7ca06544'/>
<id>urn:sha1:fe38e2f8f4c12eef9c35fc4ec4a49cdf7ca06544</id>
<content type='text'>
</content>
</entry>
</feed>
