History log of /freebsd-10.1-release/libexec/comsat/
Revision Date Author Comments
272461 03-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


262435 24-Feb-2014 brueffer

MFC: r262136

Remove the 3rd clause ("advertising clause") of the BSD license as
permitted by the University of Berkeley on July 22, 1999.

Reviewed by: imp


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


240506 14-Sep-2012 eadler

Bump date missed in r202756

PR: docs/171624
Submitted by: bdrewery
Approved by: gabor
MFC after: 3 days


228397 10-Dec-2011 ed

Make comsat(8) approximately 15% smaller.

This program only consists of a single C file, so simply mark everything
except main() static.


222825 07-Jun-2011 jh

Remove a gratuitous newline. This should be a non-functional change.

PR: bin/153667
Submitted by: Craig Leres
MFC after: 1 week


202756 21-Jan-2010 ed

Remove stale references to utmp(5) and its corresponding filenames.

I removed utmp and its manpage, but not other manpages referring to it.


202208 13-Jan-2010 ed

Port comsat to utmpx.

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.


201379 02-Jan-2010 ed

Fix several warnings.

- Add __unused keywords.
- Don't shadow a global variable called cr.
- Make the global cr variable const.


187366 17-Jan-2009 ed

Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.

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 <roberthuff rcn com>


141918 14-Feb-2005 stefanf

Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.


141851 13-Feb-2005 ru

Expand contractions.


140414 18-Jan-2005 ru

Sort sections.


101960 16-Aug-2002 johan

Bump document date for the 'beep only' change.


101783 13-Aug-2002 ru

mdoc(7) police: tidy up.


99632 09-Jul-2002 johan

Add ability to only beep when mail arrives.

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 <ajk@purdue.edu>
Approved by: sheldonh (mentor)
MFC after: 1 month


99500 06-Jul-2002 charnier

The .Nm utility


90148 03-Feb-2002 imp

o Eliminate __P
o Use new-style function definitions
o remove some !__STDC__ code
o eliminate register


82851 03-Sep-2001 ache

File positions are off_t nowdays, not long, so:
atoi -> strtoll
fseek -> fseeko

NOTE: that fseek not works for >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.


79529 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


74814 26-Mar-2001 ru

- Backout botched attempt to intoduce MANSECT feature.
- MAN[1-9] -> MAN.


74529 20-Mar-2001 ru

Set the default manual section for libexec/ to 8.


68949 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


50476 28-Aug-1999 peter

$Id$ -> $FreeBSD$


37297 30-Jun-1998 bde

Fixed printf format errors.


31307 20-Nov-1997 charnier

Use err(3). exit(-1) -> exit(1).


29433 15-Sep-1997 ache

Allow backspace too


29432 15-Sep-1997 ache

disable upper controls and enable all other
8bit codes due to lack of locale knowledge in daemon


22989 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


18471 22-Sep-1996 wosch

add forgotten $Id$


18097 07-Sep-1996 peter

wrong C bracketing, *blush*...


18093 07-Sep-1996 peter

Another sgtty use bites the dust..


16105 04-Jun-1996 pst

Pass in both username and file to jkfprintf


3618 15-Oct-1994 ache

Extend message format to user@offset[:file]
Obtained from: FreeBSD 1.x


1875 05-Aug-1994 wollman

Update to new make macros and disable Kerberos because we haven't got it
set up right yet.


1593 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1592,
which included commits to RCS files with non-trunk default branches.