Commit Graph

17 Commits

Author SHA1 Message Date
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
christos 81c9862ba6 - Minor logical restructure. Make sure we can create the client before
even bothering to call makemsg(); (Liam Foy)
- Use MAXPATHLEN consistently (Liam Foy)
- WARNS=3, KNF and misc cleanups
2005-08-09 23:41:38 +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
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