Home | History | Annotate | only in /src/libexec/comsat
History log of /src/libexec/comsat
RevisionDateAuthorComments
 1.7 16-Mar-2009  lukem Default to WARNS=4
Exceptions that need a lower level are:
getty ld.elf_so lfs_cleanerd makewhatis telnetd tftpd
hpropd ipropd-master ipropd-slave kadmind kpasswdd
 1.6 25-Jun-2004  christos branches: 1.6.34;
Forgot to include utmpx support for this one.
 1.5 07-Oct-1997  mrg WARNS?=1. RCS ids
 1.4 22-Dec-1994  cgd specify man pages the new way.
 1.3 06-Aug-1994  jtc Sync with 4.4 lite
 1.2 01-Aug-1993  mycroft branches: 1.2.2;
Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 06-Aug-1994  jtc from 4.4 lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.2.2.1 09-Aug-1994  mycroft update from trunk
 1.6.34.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.15 20-Dec-2016  abhinav s/users/user's

Also, add an xref to services(5)
 1.14 29-May-2010  dholland branches: 1.14.28;
Update outdated comment (and docs) about which header lines are printed.
I appear to have been carrying this patch around since 2002.
 1.13 25-Jun-2004  wiz 2004, not 1994.
 1.12 25-Jun-2004  christos Forgot to include utmpx support for this one.
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.10 29-Sep-2002  wiz Begin new sentences on new lines.
Patch from Robert Elz (kre at munnari oz au).
 1.9 15-Jan-2002  wiz Sort sections.
 1.8 14-Aug-2000  msaitoh remove extra period
 1.7 22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.6 04-Jul-1998  mrg add -l logging switch.
 1.5 20-Oct-1997  enami Fix .Nm usage.
 1.4 07-Oct-1997  mrg WARNS?=1. RCS ids
 1.3 06-Aug-1994  jtc Sync with 4.4 lite
 1.2 01-Aug-1993  mycroft branches: 1.2.2;
Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 06-Aug-1994  jtc from 4.4 lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.2.2.1 09-Aug-1994  mycroft update from trunk
 1.14.28.1 07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.42 29-May-2010  dholland Remove useless cast, probably motivated by an older and stupider lint.
 1.41 29-May-2010  dholland Update outdated comment (and docs) about which header lines are printed.
I appear to have been carrying this patch around since 2002.
 1.40 29-May-2010  dholland Don't launder const
 1.39 14-Mar-2009  lukem fix sign-compare issue
 1.38 20-Jul-2008  lukem branches: 1.38.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
 1.37 13-Jul-2008  dholland Clarify how one is supposed to use the pointers returned by getutentries()
(the utmpentry.c code), specifically with respect to who owns them and
when to free them. Now they're owned by utmpentry.c, only. Abolish the
freeutentries() function, which was the wrong abstraction; add instead
endutentries(), which flushes out the internally managed memory.

Update callers as necessary. Some (e.g. talkd) had been leaking memory;
others (e.g. syslogd) had been accidentally freeing and reloading utmp
more often than necessary. There are a couple untidy bits in users and
rwhod that someone should look after sometime, maybe.

Fixes PR bin/35131, which was about talkd's memory leak.
 1.36 03-May-2007  christos branches: 1.36.12;
PR/36266: David A. Holland: Don't read and write sig_atomic_t variables in
signal handlers; only write them.
 1.35 21-Feb-2007  hubertf Remove unnecessary ctype.h from libexec/comsat/comsat.c file
From: Slava Semushin <slava.semushin@gmail.com>
 1.34 18-Jul-2005  christos Don't do things you are not supposed to inside a signal handler.
 1.33 07-May-2005  christos PR/30170: Markus W Kilbinger: src/libexec/comsat complains about: '/' in
"/dev/pts/1"
 1.32 15-Sep-2004  martin Fix off by one reported by David A. Holland in PR bin/26778.
 1.31 10-Jul-2004  enami Whitespace nits.
 1.30 10-Jul-2004  enami Use strtoimax rather than strtol to parse a number which represents
an offset in a file. long is insufficient on some architecture.
Problem noticed by Atsushi Onoe while ago.
 1.29 10-Jul-2004  christos stat the right file.
 1.28 10-Jul-2004  enami No need to pretty print the errno with err() or warn().
 1.27 25-Jun-2004  christos Forgot to include utmpx support for this one.
 1.26 19-Sep-2003  itojun realloc mistake. from openbsd
 1.25 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.
 1.24 16-Jan-2003  kleink Rename `sigset' locals to avoid symbol shadowing warning.
 1.23 18-Mar-2002  mjl strncpy() -> strlcpy()
 1.22 02-Apr-2001  onoe ignore trailing newline which is included in the message from mail.local.
 1.21 16-Mar-2001  atatat Use strtol() instead of atoi() for reading the number out of the
datagram that we received, which leads to easier support for
(ignoring) the procmail messages that specify the folder to which
the message was delivered.

When reading the mailbox, if we encounter a "From " line, we should
exit(). This can occur if there are a lot of rapidly arriving, yet
short messages.
 1.20 14-Mar-2001  atatat Fix output to a tty that is missing ONLCR (eg emacs, vi, mutt,
etc.). This became broken when strvis(3) started being used instead
of simply scanning for "bad" characters.
 1.19 19-Feb-2001  cgd convert to use getprogname()
 1.18 04-Feb-2001  christos fix nested extern
 1.17 04-Oct-2000  mjl Un-__P and ANSIfy.
 1.16 04-Oct-2000  mjl No \n in syslog messages.
_exit(-1) -> _exit(1).
 1.15 22-Aug-2000  mjl Use sockaddr_storage.
Use correct var for strncpy length.
 1.14 06-Jul-1998  mrg - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
 1.13 04-Jul-1998  mrg add -l logging switch.
 1.12 03-Jul-1998  mrg - remove register
- KNF
- ensure hostname has trailling nul.
- use initgroups/setgid/setuid rather than just setuid, and do this earlier.
- find "from:" and "subject:" as well.
- use strvis(3) rather than some local crufty code.
 1.11 01-Apr-1998  kleink Need <time.h> for time() prototype.
 1.10 07-Oct-1997  mrg WARNS?=1. RCS ids
 1.9 25-Aug-1997  kleink Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
use SEEK_SET/SEEK_CUR/SEEK_END instead.
 1.8 02-May-1995  mycroft Use POSIX tty semantics.
 1.7 21-Mar-1995  mycroft Use POSIX signals.
 1.6 06-Aug-1994  jtc Sync with 4.4 lite
 1.5 05-Aug-1994  jtc Include proper header files to bring prototypes into scope
 1.4 01-Feb-1994  cgd branches: 1.4.2;
better fix for security problems, and minor cleanup
 1.3 30-Jan-1994  briggs Change from bicknell@csugrad.cs.vt.edu and ceharris@csugrad.cs.vt.edu.
This closes an apparent security problem on systems where users have
write access to the mail spool. Since root actually runs comsat, a
user could link their mail file to a system file that they normally
could not access, and use comsat to view said file. This fix simply
makes sure that the mail file is a REGular file.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 06-Aug-1994  jtc from 4.4 lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.4.2.1 09-Aug-1994  mycroft update from trunk
 1.36.12.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.38.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed