<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/comsat/comsat.c, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Remove the 3rd clause ("advertising clause") of the BSD license as</title>
<updated>2014-02-17T22:27:32+00:00</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2014-02-17T22:27:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=5efaea4cc6095b61e0df2a8bc7fd9912c019d805'/>
<id>5efaea4cc6095b61e0df2a8bc7fd9912c019d805</id>
<content type='text'>
permitted by the University of Berkeley on July 22, 1999.

Reviewed by:	imp
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
permitted by the University of Berkeley on July 22, 1999.

Reviewed by:	imp
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Make comsat(8) approximately 15% smaller.</title>
<updated>2011-12-10T18:35:26+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2011-12-10T18:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4df6844ba35918b29084b53fe68fb6af467f0886'/>
<id>4df6844ba35918b29084b53fe68fb6af467f0886</id>
<content type='text'>
This program only consists of a single C file, so simply mark everything
except main() static.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This program only consists of a single C file, so simply mark everything
except main() static.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove a gratuitous newline. This should be a non-functional change.</title>
<updated>2011-06-07T16:23:27+00:00</updated>
<author>
<name>Jaakko Heinonen</name>
<email>jh@FreeBSD.org</email>
</author>
<published>2011-06-07T16:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=189075e9db44afa4632b9ad7c7f51f4cc92668d8'/>
<id>189075e9db44afa4632b9ad7c7f51f4cc92668d8</id>
<content type='text'>
PR:		bin/153667
Submitted by:	Craig Leres
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		bin/153667
Submitted by:	Craig Leres
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Port comsat to utmpx.</title>
<updated>2010-01-13T18:25:43+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-13T18:25:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=960aa5e0718bf1c2b5cea9b6469c5143fe75a81f'/>
<id>960aa5e0718bf1c2b5cea9b6469c5143fe75a81f</id>
<content type='text'>
It seems comsat stats the utmpx database each 15 seconds to see whether
it has been changed. I am changing this behaviour to look at the utmpx
database upon processing. I don't want to allow direct interference with
the database files. I also wonder whether this optimization has any
measurable performance benefit nowadays.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems comsat stats the utmpx database each 15 seconds to see whether
it has been changed. I am changing this behaviour to look at the utmpx
database upon processing. I don't want to allow direct interference with
the database files. I also wonder whether this optimization has any
measurable performance benefit nowadays.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix several warnings.</title>
<updated>2010-01-02T09:45:59+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2010-01-02T09:45:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3e08d559a869564e3397e171f38f89c737911a47'/>
<id>3e08d559a869564e3397e171f38f89c737911a47</id>
<content type='text'>
- Add __unused keywords.
- Don't shadow a global variable called cr.
- Make the global cr variable const.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add __unused keywords.
- Don't shadow a global variable called cr.
- Make the global cr variable const.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.</title>
<updated>2009-01-17T15:56:38+00:00</updated>
<author>
<name>Ed Schouten</name>
<email>ed@FreeBSD.org</email>
</author>
<published>2009-01-17T15:56:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4cb085f3618e5781b969f3121b57d086b4cdd1ab'/>
<id>4cb085f3618e5781b969f3121b57d086b4cdd1ab</id>
<content type='text'>
Pseudo-terminals allocated with posix_openpt(2) will have more slashes
in their path names than comsat(8) allows, so allow slashes when the
character device name starts with "pts/".

This patch is loosely based on NetBSD's changes, revision 1.33. Because
it also included the changes to fork(), I imported them here as well.
Maybe we could import even more fixes from the other BSD's?

Original commit message from the NetBSD folks:

	PR/30170: Markus W Kilbinger: src/libexec/comsat complains
	about: '/' in "/dev/pts/1"

Reported by:	Robert Huff &lt;roberthuff rcn com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pseudo-terminals allocated with posix_openpt(2) will have more slashes
in their path names than comsat(8) allows, so allow slashes when the
character device name starts with "pts/".

This patch is loosely based on NetBSD's changes, revision 1.33. Because
it also included the changes to fork(), I imported them here as well.
Maybe we could import even more fixes from the other BSD's?

Original commit message from the NetBSD folks:

	PR/30170: Markus W Kilbinger: src/libexec/comsat complains
	about: '/' in "/dev/pts/1"

Reported by:	Robert Huff &lt;roberthuff rcn com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix most cases where the address of an int is passed to a function expecting a</title>
<updated>2005-02-14T17:42:58+00:00</updated>
<author>
<name>Stefan Farfeleder</name>
<email>stefanf@FreeBSD.org</email>
</author>
<published>2005-02-14T17:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=78e3eed07184d423cdabe6a8baae3edcd47c3dc5'/>
<id>78e3eed07184d423cdabe6a8baae3edcd47c3dc5</id>
<content type='text'>
socklen_t * argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
socklen_t * argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ability to only beep when mail arrives.</title>
<updated>2002-07-09T02:16:49+00:00</updated>
<author>
<name>Johan Karlsson</name>
<email>johan@FreeBSD.org</email>
</author>
<published>2002-07-09T02:16:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7da9dccb668d7db7c182d36f82cd2d083574d1bc'/>
<id>7da9dccb668d7db7c182d36f82cd2d083574d1bc</id>
<content type='text'>
comsat:
        only send two bell charecters if S_IXGRP is set and S_IXUSR is not.

biff:
        add new option 'b' to set S_IXGRP.

PR:             10931
Submitted by:   Andrew J. Korty &lt;ajk@purdue.edu&gt;
Approved by:    sheldonh (mentor)
MFC after:      1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
comsat:
        only send two bell charecters if S_IXGRP is set and S_IXUSR is not.

biff:
        add new option 'b' to set S_IXGRP.

PR:             10931
Submitted by:   Andrew J. Korty &lt;ajk@purdue.edu&gt;
Approved by:    sheldonh (mentor)
MFC after:      1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>o Eliminate __P</title>
<updated>2002-02-03T15:53:02+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2002-02-03T15:53:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e4bc453cc2658df97063d1539941a70980e48058'/>
<id>e4bc453cc2658df97063d1539941a70980e48058</id>
<content type='text'>
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register
</pre>
</div>
</content>
</entry>
<entry>
<title>File positions are off_t nowdays, not long, so:</title>
<updated>2001-09-03T05:06:48+00:00</updated>
<author>
<name>Andrey A. Chernov</name>
<email>ache@FreeBSD.org</email>
</author>
<published>2001-09-03T05:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1012cb601c0d9901d20480a11b70c3e93270c51f'/>
<id>1012cb601c0d9901d20480a11b70c3e93270c51f</id>
<content type='text'>
    atoi -&gt; strtoll
    fseek -&gt; fseeko

    NOTE: that fseek not works for &gt;long offsets per POSIX:

    [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
    cannot be represented correctly in an object of type long.

Fix minor cast too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    atoi -&gt; strtoll
    fseek -&gt; fseeko

    NOTE: that fseek not works for &gt;long offsets per POSIX:

    [EOVERFLOW] For fseek( ), the resulting file offset would be a value which
    cannot be represented correctly in an object of type long.

Fix minor cast too.
</pre>
</div>
</content>
</entry>
</feed>
