Commit Graph

15 Commits

Author SHA1 Message Date
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
mrg
8f2fc17f92 change static to static int 1998-03-29 04:50:29 +00:00
jtc
2065ddb3da Simply include -lcurses instead of -lcurses -ltermcap 1998-02-18 22:37:30 +00:00
perry
3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
mrg
1eeb8e6b5f move hunt under dm(6) 1997-11-19 07:07:46 +00:00
ragge
85a3b2eb8f Must have the correct library link order to be able to link
the binaries static.
1997-11-05 12:12:32 +00:00
lukem
009fbbc126 use CPPFLAGS instead of CFLAGS 1997-10-22 05:05:21 +00:00
lukem
3b2e6e2466 FD_ZERO select mask before FD_SET-ing it 1997-10-20 00:37:14 +00:00
mrg
6d4ad6d5a7 drop core in /var/tmp (from linux). 1997-10-15 12:02:08 +00:00
lukem
ff943cc8ca use err/warn instead of perror 1997-10-11 08:13:40 +00:00
lukem
544a5e3331 Yet Another Monster Commit:
- WARNSify
- getopt returns -1 not EOF
- select() uses an fd_set, not int/long; modify code to use FD_* et al
  instead of direct bitwise operations
- in otto.c::look (renamed to ottolook() to prevent name clash), the
  case WEST section had a 'goto cont_east', instead of 'goto cont_west'.
  (picked up by WARNS=1, because cont_west was an unused label because
  of this typo). probably meant that otto got lost in the maze :-/
- deprecate register, convert bcmp() -> memcmp()
1997-10-10 16:32:15 +00:00
mrg
7da61b6eaa fix compiler warnings on the alpha. 1997-10-04 09:28:32 +00:00
mrg
b1175274c8 note that huntd lives in /usr/games. 1997-10-04 09:16:27 +00:00
mrg
251a23a671 build hunt. 1997-10-04 09:11:14 +00:00
mrg
4052d13ded hunt version 1993-07-17 1997-10-04 09:00:13 +00:00