History log of /freebsd/libexec/comsat/comsat.c (Results 26 – 50 of 68)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3e08d559 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Fix several warnings.

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


Revision tags: release/8.0.0_cvs, release/8.0.0
# 7d4b968b 17-Sep-2009 Dag-Erling Smørgrav <des@FreeBSD.org>

Merge from head up to r188941 (last revision before the USB stack switch)


Revision tags: release/7.2.0_cvs, release/7.2.0
# bad3b688 18-Jan-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Sync with head


# 4cb085f3 17-Jan-2009 Ed Schouten <ed@FreeBSD.org>

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

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>

show more ...


Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0
# 78e3eed0 14-Feb-2005 Stefan Farfeleder <stefanf@FreeBSD.org>

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


Revision tags: release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1
# 7da9dccb 09-Jul-2002 Johan Karlsson <johan@FreeBSD.org>

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: 109

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

show more ...


Revision tags: release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# e4bc453c 03-Feb-2002 Warner Losh <imp@FreeBSD.org>

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


# 1012cb60 03-Sep-2001 Andrey A. Chernov <ache@FreeBSD.org>

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

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.

show more ...


Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# 1a463b86 30-Jun-1998 Bruce Evans <bde@FreeBSD.org>

Fixed printf format errors.


Revision tags: release/2.2.6
# 55033a6f 20-Nov-1997 Philippe Charnier <charnier@FreeBSD.org>

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


Revision tags: release/2.2.5_cvs
# fe38e2f8 15-Sep-1997 Andrey A. Chernov <ache@FreeBSD.org>

Allow backspace too


# 4541df7b 15-Sep-1997 Andrey A. Chernov <ache@FreeBSD.org>

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


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 9e522f7a 22-Feb-1997 Peter Wemm <peter@FreeBSD.org>

Revert $FreeBSD$ to $Id$


Revision tags: release/2.1.6_cvs, release/2.1.6.1
# 1130b656 14-Jan-1997 Jordan K. Hubbard <jkh@FreeBSD.org>

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

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.

show more ...


Revision tags: release/2.1.5_cvs
# 148531ef 22-Sep-1996 Wolfram Schneider <wosch@FreeBSD.org>

add forgotten $Id$


# 163d0a5f 07-Sep-1996 Peter Wemm <peter@FreeBSD.org>

wrong C bracketing, *blush*...


# 2a295922 07-Sep-1996 Peter Wemm <peter@FreeBSD.org>

Another sgtty use bites the dust..


# 6cde4348 04-Jun-1996 Paul Traina <pst@FreeBSD.org>

Pass in both username and file to jkfprintf


Revision tags: release/2.1.0_cvs, release/2.0.5_cvs, release/2.0
# 87fe4a3a 15-Oct-1994 Andrey A. Chernov <ache@FreeBSD.org>

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


Revision tags: release/1.1.5.1_cvs
# ea022d16 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Libexec Sources


# 960aa5e0 13-Jan-2010 Ed Schouten <ed@FreeBSD.org>

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

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.

show more ...


# 9199c09a 06-Jan-2010 Warner Losh <imp@FreeBSD.org>

Merge from head at r201628.

# This hasn't been tested, and there are at least three bad commits
# that need to be backed out before the branch will be stable again.


# 3e08d559 02-Jan-2010 Ed Schouten <ed@FreeBSD.org>

Fix several warnings.

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


Revision tags: release/7.2.0_cvs, release/7.2.0
# bad3b688 18-Jan-2009 Oleksandr Tymoshenko <gonzo@FreeBSD.org>

Sync with head


123