Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-08-27 | Pull in <sys/select.h> for fd_set | Philip Guenther | |
ok deraadt@ | |||
2016-03-28 | remove unused variables | Charles Longeau | |
ok millert@ | |||
2016-03-21 | Instead of creating a socket with socket() or accept() and then | Philip Guenther | |
setting the O_NONBLOCK flag on it with fcntl(F_SETFL) afterwards, just pass SOCK_NONBLOCK to socket() or accept4() and get it right to begin with. ok millert@ krw@ beck@ deraadt@ jca@ | |||
2016-03-07 | - General changes: | mestre | |
- 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 | |||
2016-01-10 | Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) | mestre | |
last arguments since "The list of arguments must be terminated by a null null pointer" of type char * Suggested by and OK tb@ | |||
2016-01-10 | As per style(9), remove remaining lint-style comments from games/ | mestre | |
OK tb@ | |||
2016-01-07 | ANSIfy hunt(6) | mestre | |
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@ | |||
2016-01-07 | Headers cleanup and sorting | mestre | |
OK tb@ | |||
2016-01-07 | Some basic code maintenance in games/ | tb | |
- 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@ | |||
2015-12-26 | Set as __dead a few more functions, that don't return, on games/ | mestre | |
With precious tip, help and also OK from tb@ | |||
2015-12-16 | Use __progname instead of hand-rolled parsing of argv[0]. | tb | |
Inspired by similar diffs by tobias@ and millert@. "I like the concept" pjanzen@ ok tedu@ | |||
2015-10-24 | Cast ctype functions' argument to unsigned char. | mmcc | |
ok guenther@ | |||
2015-10-24 | Cast ctype functions' arguments to unsigned char. | mmcc | |
ok guenther@ | |||
2015-10-24 | Cast isprint()'s argument to unsigned char. | mmcc | |
ok guenther@ | |||
2015-10-24 | Cast toupper()'s argument to unsigned char. | mmcc | |
ok guenther@ | |||
2015-09-27 | Delete pointless NOSTRICT comments | Philip Guenther | |
2015-09-25 | Fix -D in the synopsis line: | Ingo Schwarze | |
* Whitespace is allowed between -D and the variable name. * Each -D option only takes one single assignment. * Drop excessive .Sm macro. | |||
2015-08-22 | remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok ↵ | Theo de Raadt | |
millert krw | |||
2014-11-19 | We don't need no stinkin' non-new-curses code. Also eliminates a | Kenneth R Westerback | |
double #include. ok deraadt@ tedu@ | |||
2014-11-16 | Eliminate pointless use of <sys/param.h>, <sys/file.h>, <sys/sockio.h>, | Philip Guenther | |
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@ | |||
2014-10-11 | Userland reallocarray() audit. | Doug Hogan | |
Avoid potential integer overflow in the size argument of malloc() and realloc() by using reallocarray() to avoid unchecked multiplication. ok deraadt@ | |||
2014-09-28 | I was mistaken: Nothing's wrong with contractions, they're just a normal | Ingo Schwarze | |
feature of the English language, so revert that part of the previous. Requested by jmc@. | |||
2014-09-26 | Add missing .An macros (found with mandoc -Tlint) and | Ingo Schwarze | |
resolve contractions (found with textproc/igor(1)). Work done by Kaspars at Bankovskis dot net during the EuroBSDCon 2014 documentation tutorial. Very minor addition of a few more missing .An macros by myself. | |||
2014-05-25 | use calloc. from Benjamin Baier | Ted Unangst | |
2014-03-23 | some minor cleanup: | Jason McIntyre | |
- new sentence, new line - no need to quote Sh lines, or Pa args | |||
2014-03-23 | stop using libwrap. ok deraadt | Ted Unangst | |
2013-08-29 | replace srandomdev()+random() with the arc4random*() family | Christian Weisgerber | |
tweaks and ok millert@, ok deraadt@ | |||
2013-01-17 | macro fixes; | Jason McIntyre | |
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2009-12-10 | fix potential bugs spotted by parfait | Bob Beck | |
ok millert@ pjanzen@ | |||
2008-10-02 | zap trailing whitespace; | Jason McIntyre | |
2008-10-02 | spelling; Dieter Rauschenberger | Theo de Raadt | |
2008-10-02 | Remove useless setsid() and setpgrp() calls and add -b option to | Todd C. Miller | |
run huntd in the background like a true daemon. OK deraadt@ | |||
2008-06-20 | Fix erroneous variadics. Ok millert@ | Anders Magnusson | |
2008-03-17 | synchronization between usage and synopsis; add some missing "usage:"'s | Igor Sobrado | |
ok jmc@ | |||
2007-11-06 | fix format string | Charles Longeau | |
ok ray@ gilles@ | |||
2007-09-04 | Some more simple malloc(n * m) -> calloc(n, m) conversions. | Hans-Joerg Hoexer | |
ok deraadt@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-04-02 | tidy up synopis and usage(); sort options; from Igor Sobrado | Jason McIntyre | |
2007-04-02 | sort options; from Igor Sobrado | Jason McIntyre | |
2007-03-20 | remove some bogus *p tests from charles longeau | Ted Unangst | |
ok deraadt millert | |||
2006-03-27 | assorted fixes mostly from coverity via netbsd via jasper adriaanse via tech | Ted Unangst | |
2005-04-21 | vsnprintf careful handling of -1; ok beck | Theo de Raadt | |
2004-04-04 | .br workaround no longer necessary; | Jason McIntyre | |
2004-01-16 | ISO C police: log and expl are reserved for the C library. | Marc Espie | |
expl -> expl_string log -> logit | |||
2003-12-28 | Fix two obvious thinkos in va_end() usage. | Marc Espie | |
Caught by gcc3. | |||
2003-09-02 | escape punctuation; | Jason McIntyre | |
ok deraadt@ | |||
2003-08-07 | unknwown->unknown, spotted by miod@. now that we have an otto@, theo.c | Jolan Luff | |
has competition. | |||
2003-06-17 | Give this header file, which was split off by d@, the same (BSD) license as | Paul Janzen | |
the functions it's prototyping and the variables it's declaring extern. d@ has no objection. This is the last of the hunt source to be clearly licensed. | |||
2003-06-17 | d@ has asked me to put in an explicit "Public domain" on header files for code | Paul Janzen | |
he's written here. The code itself is clearly licensed already. |