aboutsummaryrefslogtreecommitdiff
path: root/libexec/comsat
Commit message (Collapse)AuthorAgeFilesLines
* Remove copyright strings ifdef'd outWarner Losh2023-11-271-9/+0
| | | | | | | | | | | We've ifdef'd out the copyright strings for some time now. Go ahead and remove the ifdefs. Plus whatever other detritis was left over from other recent removals. These copyright strings are present in the comments and are largely from CSRG's attempt at adding their copyright to every binary file (which modern interpretations of the license doesn't require). Sponsored by: Netflix
* libexec: Remove ancient SCCS tags.Warner Losh2023-11-273-6/+0
| | | | | | | | Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
* Purge more stray embedded $FreeBSD$ stringsJohn Baldwin2023-09-251-2/+0
| | | | | | | These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* General further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-1/+3
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326025
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-282-10/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=265044
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync from headSimon J. Gerraty2012-11-041-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=242545
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Remove the 3rd clause ("advertising clause") of the BSD license asChristian Brueffer2014-02-172-10/+2
| |/ |/| | | | | | | | | | | | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week Notes: svn path=/head/; revision=262136
* | Bump date missed in r202756Eitan Adler2012-09-141-1/+1
|/ | | | | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days Notes: svn path=/head/; revision=240506
* Make comsat(8) approximately 15% smaller.Ed Schouten2011-12-101-10/+10
| | | | | | | | This program only consists of a single C file, so simply mark everything except main() static. Notes: svn path=/head/; revision=228397
* Remove a gratuitous newline. This should be a non-functional change.Jaakko Heinonen2011-06-071-1/+1
| | | | | | | | | PR: bin/153667 Submitted by: Craig Leres MFC after: 1 week Notes: svn path=/head/; revision=222825
* Remove stale references to utmp(5) and its corresponding filenames.Ed Schouten2010-01-211-1/+1
| | | | | | | I removed utmp and its manpage, but not other manpages referring to it. Notes: svn path=/head/; revision=202756
* Port comsat to utmpx.Ed Schouten2010-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. Notes: svn path=/head/; revision=202208
* Fix several warnings.Ed Schouten2010-01-021-10/+10
| | | | | | | | | - Add __unused keywords. - Don't shadow a global variable called cr. - Make the global cr variable const. Notes: svn path=/head/; revision=201379
* Fix handling of pts(4) device names in comsat(8). Also catch fork() errors.Ed Schouten2009-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> Notes: svn path=/head/; revision=187366
* Fix most cases where the address of an int is passed to a function expecting aStefan Farfeleder2005-02-141-1/+1
| | | | | | | socklen_t * argument. Notes: svn path=/head/; revision=141918
* Expand contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141851
* Sort sections.Ruslan Ermilov2005-01-181-5/+5
| | | | Notes: svn path=/head/; revision=140414
* Bump document date for the 'beep only' change.Johan Karlsson2002-08-161-1/+1
| | | | Notes: svn path=/head/; revision=101960
* mdoc(7) police: tidy up.Ruslan Ermilov2002-08-131-14/+19
| | | | Notes: svn path=/head/; revision=101783
* Add ability to only beep when mail arrives.Johan Karlsson2002-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 Notes: svn path=/head/; revision=99632
* The .Nm utilityPhilippe Charnier2002-07-061-5/+7
| | | | Notes: svn path=/head/; revision=99500
* o Eliminate __PWarner Losh2002-02-031-31/+18
| | | | | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register Notes: svn path=/head/; revision=90148
* File positions are off_t nowdays, not long, so:Andrey A. Chernov2001-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. Notes: svn path=/head/; revision=82851
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68949
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50476
* Fixed printf format errors.Bruce Evans1998-06-301-3/+5
| | | | Notes: svn path=/head/; revision=37297
* Use err(3). exit(-1) -> exit(1).Philippe Charnier1997-11-201-11/+11
| | | | Notes: svn path=/head/; revision=31307
* Allow backspace tooAndrey A. Chernov1997-09-151-2/+2
| | | | Notes: svn path=/head/; revision=29433
* disable upper controls and enable all otherAndrey A. Chernov1997-09-151-11/+15
| | | | | | | 8bit codes due to lack of locale knowledge in daemon Notes: svn path=/head/; revision=29432
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-3/+3
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* add forgotten $Id$Wolfram Schneider1996-09-223-0/+4
| | | | Notes: svn path=/head/; revision=18471
* wrong C bracketing, *blush*...Peter Wemm1996-09-071-1/+1
| | | | Notes: svn path=/head/; revision=18097
* Another sgtty use bites the dust..Peter Wemm1996-09-071-5/+4
| | | | Notes: svn path=/head/; revision=18093
* Pass in both username and file to jkfprintfPaul Traina1996-06-041-6/+7
| | | | Notes: svn path=/head/; revision=16105
* Extend message format to user@offset[:file]Andrey A. Chernov1994-10-152-11/+42
| | | | | | | Obtained from: FreeBSD 1.x Notes: svn path=/head/; revision=3618