Commit Graph

14 Commits

Author SHA1 Message Date
cgd 25bdbb661e convert to use getprogname() 2001-02-19 23:22:40 +00:00
cgd ede451d831 comment about the backslash used to avoid trigraph 2001-01-16 02:36:29 +00:00
lukem 13220245b2 use explicit name rather than __progname in openlog 2001-01-11 01:43:25 +00:00
cgd 94e108c80f avoid accidental use of ANSI C trigraphs. 2000-12-20 01:30:26 +00:00
thorpej 56c5efa335 Use pidfile(3). 1999-06-06 02:52:16 +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
lukem dd30ff553b use strchr/strrchr/memset/memmove instead of index/rindex/bzero/bcopy 1997-10-18 11:23:03 +00:00
lukem 0a9c07ac82 getopt returns -1 not EOF 1997-10-17 12:52:25 +00:00
thorpej 4902da1c96 Fix compiler warnings, build with WARNS. 1997-07-28 05:39:16 +00:00
thorpej 31903d0eaa Be safer with types. From Scott Reynolds <scottr@plexus.com> 1995-10-06 05:12:12 +00:00
thorpej 6799ca3972 Use new-style RCS ids. 1995-08-21 17:05:08 +00:00
thorpej fc5cbfd4ca A few things:
* Don't compute the basename, use __progname.
	* Use daemon() to detach.
	* Use err(3) functions where appropriate.
	* Remove some old 4.2 stuff.
1995-08-21 16:57:54 +00:00
brezak 880d90d4e9 rbootd for booting HP workstations from 4.4BSD/Utah. 1994-01-11 16:41:38 +00:00
brezak e05cab76da Original version from 4.4BSD/Utah. 1994-01-11 15:43:38 +00:00