summaryrefslogtreecommitdiffstats
path: root/hunt/huntd/driver.c
Commit message (Collapse)AuthorAgeFilesLines
* Get all the games compiling for iOSCameron Katri2021-02-221-1/+2
|
* Remove all the conditional compilation for INTERNET. Now you can rundholland2014-03-301-134/+183
| | | | | | | this on either a local or internet socket (including via inetd on either) and it will, or is supposed to, DTRT. Does not really support ipv6 yet, but in a number of places will no longer vomit or exhibit UB if it encounters an ipv6 address.
* Clean up the names of the various pieces of socket apparatus.dholland2014-03-301-67/+121
| | | Systematic naming is easier to follow...
* fix non-INTERNET builddholland2014-03-291-4/+4
|
* Reduce ifdefs by making a common function to talk to either syslogd ordholland2014-03-291-47/+11
| | | stderr.
* handle compiled-in pathnames the customary waydholland2014-03-291-5/+7
|
* Additional minor cleanup and remove a straggler data declarationdholland2014-03-291-9/+9
| | | from hunt_common.h.
* sprinkle staticdholland2014-03-291-5/+11
|
* Move definitions to the file they're used in.dholland2014-03-291-2/+9
|
* remove stubbed-out functiondholland2014-03-291-6/+5
|
* Use setproctitle() instead of handrolled version.dholland2014-03-291-13/+3
|
* Make the code for issuing talk requests to find players actually build.dholland2014-03-291-4/+4
|
* don't declare own boolean typedholland2014-03-291-36/+36
|
* use random(), not a handrolled 16-bit generatordholland2014-03-291-12/+4
|
* fix unused variable warningschristos2013-10-191-7/+3
|
* NULL does not need a castplunky2011-08-311-6/+6
|
* sprinkle static and prune some dead codedholland2009-08-121-11/+11
|
* Remove config for the return type of signal handlers, which is also adholland2009-07-041-3/+3
| | | long-dead issue.
* Remove references to config #defines for the thoroughly obsoletedholland2009-07-041-7/+2
| | | 4.2BSD syslog API.
* Whitespace.dholland2009-07-041-181/+182
|
* ANSIfy function declarations.dholland2009-07-041-25/+13
|
* Remove a pile of bogus casts. One object file diff, crosschecked anddholland2009-07-041-7/+7
| | | found harmless.
* sprintf -> snprintfdholland2009-06-281-11/+16
|
* clean for WARNS=4dholland2008-01-281-8/+8
|
* PR/18906: roskens at elfin dot net: misc. select() to poll() updates.elad2006-10-071-5/+5
| | | Adapted to -current by myself, thanks for the patch!
* change (mostly) int to socklen_t. GCC 4 doesn't like that int andmrg2006-05-091-5/+5
| | | socklen_t are different signness.
* Remove uses of __P.jsm2004-01-271-9/+9
|
* Merge with v20030416.wiz2003-06-111-5/+30
|
* select() -> poll()mycroft2002-09-201-91/+70
| | | Also, turn off talk announcements; it's a wretched hack.
* - openlog "huntd" instead of "HUNT"lukem2001-01-091-6/+6
| | | | | - consistently log non-critical errors at LOG_WARNING not LOG_ERR - consistently use positive numbers for exit() and _exit() - one warning was using printf() instead of syslog()
* Don't declare 'extern opt*' getopt variables.simonb2000-04-141-4/+2
|
* FD_ZERO select mask before FD_SET-ing itlukem1997-10-201-2/+3
|
* drop core in /var/tmp (from linux).mrg1997-10-151-3/+3
|
* use err/warn instead of perrorlukem1997-10-111-11/+11
|
* Yet Another Monster Commit:lukem1997-10-101-65/+84
| | | | | | | | | | | - 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()
* hunt version 1993-07-17mrg1997-10-041-0/+956