matt
d34c2845b8
Use C89 function definitions
2012-03-20 20:34:57 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
dholland
16e3bec279
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.
2008-07-13 20:07:48 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
jdolecek
e13853c3cc
one <unistd.h> is enough
...
fixes PR misc/21339 by Igor Sobrado
2003-04-27 10:38:42 +00:00
lukem
5d4973fe97
makefile delint. use NETBSDSRCDIR as appropriate
2002-09-18 14:00:33 +00:00
christos
51fb285828
utmpx support
2002-08-01 23:51:20 +00:00
garbled
9e44e9b578
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.
1999-03-22 18:16:34 +00:00
christos
b4c8a47030
appease gcc-2.8.1
1998-12-19 23:35:24 +00:00
wsanchez
76e31a71ac
include unistd
1998-10-14 00:58:00 +00:00
perry
d15c52e60c
change includes to fix compiler warning
1998-02-03 04:19:15 +00:00
lukem
d73442837f
WARNSify, fix .Nm usage, deprecate register, getopt returns -1
1997-10-20 02:41:21 +00:00
jtc
b9dc358fda
more cleanup from jimj.
1994-12-20 15:58:19 +00:00
jtc
3b09eeb789
Allocate array containing names of users dynamically.
1994-12-07 00:21:14 +00:00
jtc
3ed25c1fb4
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1994-12-06 07:32:26 +00:00
deraadt
9e884098d2
fix from <dgy@mcs.com>
1994-04-08 08:09:14 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64
Add RCS indentifiers.
1993-08-01 07:22:47 +00:00
mycroft
75ff3a90bd
Add RCS identifiers.
1993-07-30 23:49:23 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00