History log of /openbsd/games/hunt/hunt/hunt.c (Results 1 – 23 of 23)
Revision Date Author Comments
# d167610c 14-Feb-2020 schwarze <schwarze@openbsd.org>

no need to declare "extern optarg" and "extern optind"
when <unistd.h> is included;
patch from Jan Stary <hans at stare dot cz>;
OK millert


# 12fe996a 08-Apr-2017 gsoares <gsoares@openbsd.org>

format string is better be literal
OK deraadt


# 6fa5e1da 07-Mar-2016 mestre <mestre@openbsd.org>

- General changes:
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)

- Specific changes:
- atc(6): this used -? an

- General changes:
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)

- Specific changes:
- atc(6): this used -? and -u for usage(), remove both from game and manpage
- bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h
- hunt(6): replace fputs(3) by fprintf(3)

OK tb@ after his suggestions

show more ...


# 7dd160a5 10-Jan-2016 mestre <mestre@openbsd.org>

Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)
last arguments since "The list of arguments must be terminated by a null
null pointer" of type char *

Suggested by and OK

Remove needless casts to (char *) NULL. Some were kept, namely for execl(3)
last arguments since "The list of arguments must be terminated by a null
null pointer" of type char *

Suggested by and OK tb@

show more ...


# 0f16a76c 07-Jan-2016 mestre <mestre@openbsd.org>

ANSIfy hunt(6)

Note: casted 2 args to struct sockaddr * on list.c to shut off compiler
warnings, and also changed an int len to socklen_t since recvfrom(2) receives
the last argument as the latter.

ANSIfy hunt(6)

Note: casted 2 args to struct sockaddr * on list.c to shut off compiler
warnings, and also changed an int len to socklen_t since recvfrom(2) receives
the last argument as the latter.

I'm running out of credits, but this was once again with great help and OK from
tb@

show more ...


# 9ef48543 07-Jan-2016 mestre <mestre@openbsd.org>

Headers cleanup and sorting

OK tb@


# 17641e31 07-Jan-2016 tb <tb@openbsd.org>

Some basic code maintenance in games/

- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-decl

Some basic code maintenance in games/

- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-declaration
- add and sort some headers when needed
- add straightforward pledges to some programs used at compile time

discussed with and ok mestre@

show more ...


# 7ad55f55 26-Dec-2015 mestre <mestre@openbsd.org>

Set as __dead a few more functions, that don't return, on games/

With precious tip, help and also OK from tb@


# e782249f 24-Oct-2015 mmcc <mmcc@openbsd.org>

Cast ctype functions' argument to unsigned char.

ok guenther@


# 34278d36 16-Nov-2014 guenther <guenther@openbsd.org>

Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed

Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>,
and <sys/ttydefaults.h>
Replace MAXPATHLEN with PATH_MAX and MAXLOGNAME with LOGIN_NAME_MAX
Pull in <limits.h> where needed
Prefer sizeof(var) over MAXFOO or FOO_MAX

ok deraadt@

show more ...


# a307e700 17-Mar-2008 sobrado <sobrado@openbsd.org>

synchronization between usage and synopsis; add some missing "usage:"'s

ok jmc@


# 4670e67b 02-Apr-2007 jmc <jmc@openbsd.org>

sort options; from Igor Sobrado


# 598075ea 11-Jun-2003 pjanzen <pjanzen@openbsd.org>

New license from the official hunt release at
ftp://ftp.cgl.ucsf.edu/pub/hunt.shar.Z -- it has been approved by all three
authors (Conrad Huang, Ken Arnold, and Greg Couch).


# ef2c807a 31-May-2002 pjanzen <pjanzen@openbsd.org>

No dm -> no need to revoke setegid.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.

show more ...


# 7593a78d 25-Jun-2001 pvalchev <pvalchev@openbsd.org>

sync usage message with reality, alphabetize option order; ok pjanzen


# aa7fb881 12-Dec-1999 d <d@openbsd.org>

Use netdb to find the hunt service port.
Use the new probe_drivers().
Better warning messages about the -t option.
Correct error message for monitors that find nothing.
In the screen where the user h

Use netdb to find the hunt service port.
Use the new probe_drivers().
Better warning messages about the -t option.
Correct error message for monitors that find nothing.
In the screen where the user has to choose the huntd host,
show new hosts as they come in.
Check statistics information for 'bad' characters.
Allow space to be a team name (same as no team)

reviewed by pjanzen@

show more ...


# 60dd4730 30-May-1999 pjanzen <pjanzen@openbsd.org>

Only use __attribute__ if __GNUC__ is defined


# 48c40995 14-Mar-1999 pjanzen <pjanzen@openbsd.org>

Access control works now; also, some minor tidying and man page fixes.


# c6d62522 01-Feb-1999 d <d@openbsd.org>

avoid denial of service attacks on server port; extra conf vars; fix otto


# fab1dce0 29-Jan-1999 d <d@openbsd.org>

major changes: security, curses, config


# 6b3fe406 21-Jan-1999 d <d@openbsd.org>

ident for OpenBSD
mandoc-ify manual pages
use -locurses


# 3faf6791 21-Jan-1999 d <d@openbsd.org>

hunt (from NetBSD)