enami
79dbd4ba43
Check return value of mkstemp correctly.
2001-08-16 01:00:31 +00:00
taca
20117cd175
- Knf auto variables in modified line by me.
...
- Print "??" as tty name instead of print nothing. Suggested by jhawk.
2000-10-02 03:28:42 +00:00
taca
99ebb8038f
- Check return value of ttyname(3) and prevent to pass NULL pointer for
...
"%s" in printf style format string.
- Use STDERR_FILENO as paramter for ttyname(3).
2000-09-04 15:21:24 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
christos
d374d91f3d
small cast.
1998-12-19 21:50:45 +00:00
mycroft
cc06efc9db
const poisoning.
1998-07-26 22:15:38 +00:00
mrg
2beab49a06
- 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:45:41 +00:00
lukem
b65c70eff6
WARNSify, fix .Nm usage
1997-10-19 14:30:04 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
jtc
2a45581848
Must use a struct timeval, not NULL, for the timeout in clnt_call.
...
Include appropriate header files to bring prototypes into scope.
Enlarge buffer used for tempfile name -- were trying to stuff ~20
chars into a 15 char buffer.
1993-12-10 19:24:39 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
brezak
5f2b367636
Add rup and rusers. Changes to rwall
1993-06-03 19:32:26 +00:00
mycroft
9596c5e1e8
Fix NULL pointer reference.
1993-04-26 14:43:24 +00:00
cgd
15cf805834
rwall, mostly-original by cgd.
...
code snarfed from rwalld (from cgd), and wall (from UCB).
1993-04-04 20:15:30 +00:00