wiz
6438e0bfa7
Sync usage with man page.
2005-09-12 18:34:37 +00:00
wiz
4b44cc9527
New sentence, new line.
...
Add -u to SYNOPSIS. Fix some typos.
Use more markup. Bump date for -u.
2005-09-12 18:33:56 +00:00
tsarna
04414a373b
Add -u option: rwhod will drop privledges and become the given user.
...
reviewed by jwise
2005-09-12 16:13:13 +00:00
wiz
b94cb50cae
Fix argument name, and move Pp where it belongs. From YOMURA Masanori in private mail.
2005-09-11 23:45:04 +00:00
christos
ef6897a3a6
Add "by default" (Liam Foy)
2005-08-09 23:27:31 +00:00
christos
cb1d68978b
Patch from Liam J. Foy:
...
- cleanup sendto code.
- fix usage.
2005-07-05 02:46:36 +00:00
peter
e0de99f875
Remove trailing space, fix a Xref.
2005-07-01 16:18:46 +00:00
christos
6b7013d1ad
Change g flag to i as in the PR.
...
Don't allow interval to be set to > 11 minutes.
Rephrase option blurb.
2005-07-01 15:31:18 +00:00
christos
c36c99ef66
PR/30648: Liam J. Foy: rwhod patch to reduce time interval between broadcasts
2005-07-01 13:07:21 +00:00
junyoung
632e7ed58f
Remove a unnecessary semicolon and trailing spaces.
2005-06-27 12:07:46 +00:00
peter
c14c7a6bb6
- Use the timer* macros from sys/time.h, no need to invent a new time add
...
function if it already exists.
- Improve a few function/variable names and use EXIT_FAILURE.
2005-06-24 13:47:30 +00:00
christos
a8b658e375
Initialize events not revents. Noted by Peter Postma. The timer changes he
...
can make himself :-)
2005-06-24 13:24:23 +00:00
christos
f17eeccada
Fixes from Liam J. Foy to use poll, and proper signals. (from OpenBSD)
...
While there, ansify, and fix const abuse.
2005-06-24 13:22:09 +00:00
dsl
9122339b9f
Add (unsigned char) cast to ctype functions
2004-10-30 15:39:39 +00:00
agc
326b2259b7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
itojun
d9f2774c1e
use bounded string op
2003-07-13 12:08:28 +00:00
christos
50455a9139
PR/20318: Johnny Billquist: rwhod does not compile with -DDEBUG
2003-02-12 17:49:35 +00:00
lukem
17d72c8a6b
use NETBSDSRCDIR as appropriate
2002-09-18 03:54:26 +00:00
christos
b166b5b47b
use utmpx.
2002-08-02 02:38:15 +00:00
wiz
ddac63620b
Sort sections and SEE ALSO.
2002-02-02 01:47:36 +00:00
wiz
a2d753e3ef
Whitespace nits.
2002-01-19 11:44:57 +00:00
is
d8302e2d73
More format string cleanups by sommerfeld.
2000-10-11 20:23:46 +00:00
itojun
c8ebe62e8b
avoid memory leak on realloc() error.
1999-12-30 09:10:28 +00:00
mjl
f214fa323a
From FreeBSD bin/14844 (slightly modified): Due to signed calculations
...
with the packet size, a short packet would trigger an infinite loop
on little endian machines.
1999-11-15 15:59:24 +00:00
thorpej
bcd4659148
Use pidfile(3).
1999-06-06 03:27:35 +00:00
garbled
d1407362ba
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:43:46 +00:00
mrg
31283e2cd0
fix error in previous pointed out by bad. minor KNFing.
1998-07-08 15:17:57 +00:00
mrg
32f519716b
- 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
1998-07-06 06:56:06 +00:00
msaitoh
e167016fdb
The service name of the rwhod(8) is not "rwho" but "who".
1998-06-04 13:31:40 +00:00
lukem
e5d6d67c63
deprecate register, use warn/err
1997-10-18 11:37:10 +00:00
lukem
149f1867d1
rcsid fascism
1997-10-18 04:36:50 +00:00
lukem
8d79db1093
WARNSify
1997-10-17 13:13:40 +00:00
kleink
66105c37fc
Lseek(2) usage cleanup: the use of L_SET/L_INCR/L_XTND is deprecated,
...
use SEEK_SET/SEEK_CUR/SEEK_END instead.
1997-08-25 19:31:43 +00:00
mikel
05938835d7
gethostname(3) is no longer a syscall
1997-07-14 01:43:49 +00:00
mikel
7fedc67b9e
xref gethostname(3) not gethostname(2), RCSid police
1997-07-14 01:42:20 +00:00
cgd
dd7fbd1461
doesn't need libkvm any more
1997-03-08 22:21:55 +00:00
cgd
1e9c4131dc
update structure definitions for 64-bit safety (already done in the relevant
...
header files), and kill the note about checking /netbsd's nlist, since that
is no longer done (since the kernel namelist isn't actually used for
anything).
1997-03-08 22:20:21 +00:00
explorer
d3a4eeb1fe
Fix some potential buffer overflow problems.
...
From David Holland <dholland@hcs.harvard.edu>
1996-09-07 21:05:37 +00:00
cgd
d8806814a6
specify man pages the new way.
1994-12-22 11:32:57 +00:00
jtc
9afcf17bec
sync with 44lite
1994-05-29 02:53:21 +00:00
andrew
b55bc39b4e
rwhod wasn't too happy after the off_t change - its lseek() to check the
...
boottime was broken. Replaced this code with kvm_nlist()/kvm_read() to be
more efficient.
1994-04-06 03:01:46 +00:00
cgd
7a6e889600
kill bad casts
1994-03-30 02:28:43 +00:00
cgd
20137a28c8
kill extern'd lseek()
1994-03-28 07:08:56 +00:00
jtc
281c9594a0
vmunix -> netbsd
1994-02-03 17:41:21 +00:00
cgd
ecd53521f1
no longer need lib hackery
1994-01-28 05:13:28 +00:00
cgd
8970fe6df6
hack to make getloadavg() link properly
1994-01-28 00:58:41 +00:00
mycroft
aa14f04fcb
From: mrm@sceard.com (M.R.Murphy)
...
Fix memory leak.
1993-12-15 23:52:40 +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
3731815919
Add RCS identifiers.
1993-07-30 20:50:20 +00:00