summaryrefslogtreecommitdiffstats
path: root/libexec/comsat
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r262136brueffer2014-02-242-10/+2
| | | | | | | Remove the 3rd clause ("advertising clause") of the BSD license as permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp
* Bump date missed in r202756eadler2012-09-141-1/+1
| | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days
* Make comsat(8) approximately 15% smaller.ed2011-12-101-10/+10
| | | | | This program only consists of a single C file, so simply mark everything except main() static.
* Remove a gratuitous newline. This should be a non-functional change.jh2011-06-071-1/+1
| | | | | | PR: bin/153667 Submitted by: Craig Leres MFC after: 1 week
* Remove stale references to utmp(5) and its corresponding filenames.ed2010-01-211-1/+1
| | | | I removed utmp and its manpage, but not other manpages referring to it.
* Port comsat to utmpx.ed2010-01-131-64/+21
| | | | | | | | 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.
* Fix several warnings.ed2010-01-021-10/+10
| | | | | | - Add __unused keywords. - Don't shadow a global variable called cr. - Make the global cr variable const.
* Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.ed2009-01-171-6/+17
| | | | | | | | | | | | | | | | | 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>
* Fix most cases where the address of an int is passed to a function expecting astefanf2005-02-141-1/+1
| | | | socklen_t * argument.
* Expand contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-5/+5
|
* Bump document date for the 'beep only' change.johan2002-08-161-1/+1
|
* mdoc(7) police: tidy up.ru2002-08-131-14/+19
|
* Add ability to only beep when mail arrives.johan2002-07-092-6/+27
| | | | | | | | | | | | | 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
* The .Nm utilitycharnier2002-07-061-5/+7
|
* o Eliminate __Pimp2002-02-031-31/+18
| | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register
* File positions are off_t nowdays, not long, so:ache2001-09-031-4/+4
| | | | | | | | | | | | 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.
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to intoduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for libexec/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Fixed printf format errors.bde1998-06-301-3/+5
|
* Use err(3). exit(-1) -> exit(1).charnier1997-11-201-11/+11
|
* Allow backspace tooache1997-09-151-2/+2
|
* disable upper controls and enable all otherache1997-09-151-11/+15
| | | | 8bit codes due to lack of locale knowledge in daemon
* Revert $FreeBSD$ to $Id$peter1997-02-223-3/+3
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* add forgotten $Id$wosch1996-09-223-0/+4
|
* wrong C bracketing, *blush*...peter1996-09-071-1/+1
|
* Another sgtty use bites the dust..peter1996-09-071-5/+4
|
* Pass in both username and file to jkfprintfpst1996-06-041-6/+7
|
* Extend message format to user@offset[:file]ache1994-10-152-11/+42
| | | | Obtained from: FreeBSD 1.x
* Update to new make macros and disable Kerberos because we haven't got itwollman1994-08-051-1/+1
| | | | set up right yet.
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-273-0/+386
OpenPOWER on IntegriCloud