History log of /netbsd-src/libexec/comsat/comsat.c (Results 1 – 25 of 42)
Revision Date Author Comments
# 8aaae434 29-May-2010 dholland <dholland@NetBSD.org>

Remove useless cast, probably motivated by an older and stupider lint.


# 3ba8be73 29-May-2010 dholland <dholland@NetBSD.org>

Update outdated comment (and docs) about which header lines are printed.
I appear to have been carrying this patch around since 2002.


# 5f666bd3 29-May-2010 dholland <dholland@NetBSD.org>

Don't launder const


# 434441de 14-Mar-2009 lukem <lukem@NetBSD.org>

fix sign-compare issue


# 0c4ddb15 20-Jul-2008 lukem <lukem@NetBSD.org>

Remove the \n and tabs from the __COPYRIGHT() strings.


# 16e3bec2 13-Jul-2008 dholland <dholland@NetBSD.org>

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,

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.

show more ...


# 8cb0a31f 03-May-2007 christos <christos@NetBSD.org>

PR/36266: David A. Holland: Don't read and write sig_atomic_t variables in
signal handlers; only write them.


# ee68ca46 21-Feb-2007 hubertf <hubertf@NetBSD.org>

Remove unnecessary ctype.h from libexec/comsat/comsat.c file
From: Slava Semushin <slava.semushin@gmail.com>


# 70b85ad9 18-Jul-2005 christos <christos@NetBSD.org>

Don't do things you are not supposed to inside a signal handler.


# a6bb8593 07-May-2005 christos <christos@NetBSD.org>

PR/30170: Markus W Kilbinger: src/libexec/comsat complains about: '/' in
"/dev/pts/1"


# b2772db1 15-Sep-2004 martin <martin@NetBSD.org>

Fix off by one reported by David A. Holland in PR bin/26778.


# 150b2519 10-Jul-2004 enami <enami@NetBSD.org>

Whitespace nits.


# af9fc9cd 10-Jul-2004 enami <enami@NetBSD.org>

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.


# f61a35ea 10-Jul-2004 christos <christos@NetBSD.org>

stat the right file.


# 66820706 10-Jul-2004 enami <enami@NetBSD.org>

No need to pretty print the errno with err() or warn().


# fd55c850 25-Jun-2004 christos <christos@NetBSD.org>

Forgot to include utmpx support for this one.


# 6e4e4279 19-Sep-2003 itojun <itojun@NetBSD.org>

realloc mistake. from openbsd


# 8e6ab883 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22284, verified by myself.


# b3df6303 16-Jan-2003 kleink <kleink@NetBSD.org>

Rename `sigset' locals to avoid symbol shadowing warning.


# f60ca83e 18-Mar-2002 mjl <mjl@NetBSD.org>

strncpy() -> strlcpy()


# 740970e2 02-Apr-2001 onoe <onoe@NetBSD.org>

ignore trailing newline which is included in the message from mail.local.


# 4c4a0e28 16-Mar-2001 atatat <atatat@NetBSD.org>

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 mes

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.

show more ...


# 32af8223 14-Mar-2001 atatat <atatat@NetBSD.org>

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.


# 65a10264 19-Feb-2001 cgd <cgd@NetBSD.org>

convert to use getprogname()


# b42a153d 04-Feb-2001 christos <christos@NetBSD.org>

fix nested extern


12