Home | History | Annotate | Download | only in who
History log of /src/usr.bin/who/utmpentry.h
RevisionDateAuthorComments
 1.8  21-Nov-2015  christos WARNS=6
 1.7  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.6  28-Apr-2008  martin branches: 1.6.2;
Remove clause 3 and 4 from TNF licenses
 1.5  20-Sep-2006  christos branches: 1.5.16;
unbreak the build by including the appropriate header files here.
 1.4  19-Sep-2006  christos Add support for the majority of the rest of the system V options, although
we don't support some of them. We might add boottime, system clock change
time, in the future, so add the code to do it.
 1.3  19-Sep-2006  hubertf Change -u behaviour to also print PID of process on terminal, and
add -d to print more information from utmpx.

OK'd by christos@
 1.2  28-Nov-2003  wiz Use $NetBSD$ instead of $Header$.
 1.1  01-Aug-2002  christos abstract out utmp loading.
 1.5.16.1  18-May-2008  yamt sync with head.
 1.6.2.1  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.

RSS XML Feed