Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | simplify silly logic | dholland | 2014-03-29 | 1 | -14/+11 | |
| | ||||||
* | temp is a pointer, and tempmax, not sizeof(temp), is the length of | apb | 2014-03-28 | 1 | -3/+3 | |
| | | | the buffer that it points to. Adjust a strlcat() call to suit. | |||||
* | If you are going to use memcpy instead of struct assignment, then at | apb | 2014-03-28 | 1 | -3/+3 | |
| | | | | | least use sizeof(the correct variable). The use of memcmp to test two pointers for equality, one line earlier, is also weird but may be correct. | |||||
* | Add note cautioning against bothering with WARNS=6 until gcc improves | dholland | 2014-03-23 | 1 | -1/+4 | |
| | | | | | | | | (or -Wconversion is removed from WARNS=6) as it produces loads of false positives. The most entertaining of these that I've seen this afternoon: games/hack/hack.apply.c:143:22: error: conversion to 'unsigned char:1' from 'int' may alter its value [-Werror=conversion] flags.move = multi = 0; ^ | |||||
* | fix signedness issue | dholland | 2014-03-23 | 1 | -4/+4 | |
| | ||||||
* | gratuitous (but not harmful) changes to pass gcc48's -Wconversion | dholland | 2014-03-23 | 1 | -10/+12 | |
| | ||||||
* | Use ssize_t for read() results. Don't use int for lseek() results. | dholland | 2014-03-22 | 1 | -6/+5 | |
| | | | Call srandom() with time(), not getpid(). | |||||
* | Use ssize_t for read() results. Don't use int for lseek() results. | dholland | 2014-03-22 | 1 | -6/+6 | |
| | ||||||
* | Use uid_t to hold getuid() results, and don't check getuid for failure | dholland | 2014-03-22 | 1 | -5/+3 | |
| | | | as it isn't allowed to fail. | |||||
* | use size_t instead of int for a length | dholland | 2014-03-22 | 1 | -3/+3 | |
| | ||||||
* | Use random(), not rand(). | dholland | 2014-03-22 | 2 | -5/+5 | |
| | ||||||
* | avoid unnecessary floating point ops | dholland | 2014-03-22 | 1 | -4/+7 | |
| | ||||||
* | avoid signed left-shift | dholland | 2014-03-22 | 1 | -5/+5 | |
| | ||||||
* | Use CHAR_BIT, not 8. | dholland | 2014-03-22 | 1 | -2/+3 | |
| | ||||||
* | don't declare ospeed; it's in <termcap.h> | dholland | 2014-03-22 | 1 | -3/+2 | |
| | ||||||
* | Make the list of place types an enumeration. Use unsigned values for | dholland | 2014-03-22 | 6 | -29/+30 | |
| | | | place numbers. | |||||
* | use a more suitable type | dholland | 2014-03-22 | 1 | -3/+4 | |
| | ||||||
* | use more suitable types | dholland | 2014-03-22 | 3 | -11/+13 | |
| | ||||||
* | woops, more of previous. | dholland | 2014-03-22 | 2 | -7/+7 | |
| | ||||||
* | Make some things unsigned that should be (why would we need e.g. a | dholland | 2014-03-22 | 4 | -45/+52 | |
| | | | negative number of airports?) and remove some related bogus casts. | |||||
* | Don't cast the return value of malloc. | dholland | 2014-03-22 | 2 | -13/+13 | |
| | ||||||
* | Minor tidyup. | dholland | 2014-03-22 | 1 | -6/+6 | |
| | ||||||
* | tag decl() __noinline, as inlining it would defeat its purpose | dholland | 2014-03-22 | 1 | -3/+3 | |
| | | | | (which is to not have interesting string literals appear in the compiled binary) | |||||
* | Revert part of previous -r1.21 and fix the errno-handling bug instead. | dholland | 2014-03-22 | 1 | -1/+4 | |
| | ||||||
* | move extern decls to .h files | dholland | 2014-03-22 | 2 | -6/+6 | |
| | ||||||
* | Merge riastradh-drm2 to HEAD. | riastradh | 2014-03-18 | 1 | -1/+1 | |
| | ||||||
* | fix typo, from Henning Petersen in PR misc/48613 | dholland | 2014-02-22 | 1 | -1/+1 | |
| | ||||||
* | remove duplicate | dholland | 2013-12-11 | 1 | -4/+0 | |
| | ||||||
* | another minor fix | dholland | 2013-12-11 | 1 | -1/+1 | |
| | ||||||
* | Reinstate typo since kre claims it's by purpose. | wiz | 2013-12-11 | 1 | -1/+1 | |
| | | | Discussion in PR 48442. | |||||
* | Error and typo fixes from OpenBSD and FreeBSD via Henning Petersen | wiz | 2013-12-11 | 1 | -19/+17 | |
| | | | | | | in PR 48443. While here, remove a duplication, fix another typo, and don't claim that Mr. Sheperd was the first man in space. | |||||
* | Error and typo fixes from OpenBSD and FreeBSD via Henning Petersen | wiz | 2013-12-11 | 1 | -16/+16 | |
| | | | in PR 48442. | |||||
* | WARNS=5 | dholland | 2013-12-07 | 1 | -2/+1 | |
| | ||||||
* | hals_end(6) outputs the last words of the supercomputer HAL 9000 aboard | mbalmer | 2013-11-12 | 4 | -2/+228 | |
| | | | | | | the spaceship in Stanley Kubrick's famous film "2001 - A Space Odissey". The source code and output of this program were used to illustrate an article in the book "Total Interaction". How this looks in print can be at http://www.netbsd.org/~mbalmer/hals_end.jpg. | |||||
* | fix unused variable warnings | christos | 2013-10-19 | 6 | -27/+16 | |
| | ||||||
* | Untabify the header definition to avoid misaligned comment on | uwe | 2013-09-19 | 1 | -11/+11 | |
| | | | str_delim in PostScript output. | |||||
* | Use .Fa instead of .Ar to refer to header fields. | uwe | 2013-09-19 | 1 | -4/+4 | |
| | ||||||
* | Now that we use "nbtool_config.h" we can use __dead again and drop | uwe | 2013-09-19 | 1 | -13/+3 | |
| | | | | | | local attempts to define its equivalent. Also drop the comment that warns this file is a tool; use of "nbtool_config.h" makes it evident. | |||||
* | Don't define TRUE/FALSE, which may conflict with host headers. | uwe | 2013-09-19 | 1 | -13/+10 | |
| | | | TRUE is unused anyway. Replace all instances of FALSE with 0. | |||||
* | #include "nbtool_config.h" to pull in getprogname() declaration. | uwe | 2013-09-18 | 1 | -2/+6 | |
| | ||||||
* | GC descr and helpm. | joerg | 2013-09-13 | 2 | -25/+4 | |
| | ||||||
* | hook cgram to the build | dholland | 2013-09-01 | 1 | -2/+2 | |
| | ||||||
* | WARNS=5 | dholland | 2013-08-11 | 3 | -32/+33 | |
| | ||||||
* | typo in comment | dholland | 2013-08-11 | 1 | -2/+2 | |
| | ||||||
* | this already passes WARNS=5 | dholland | 2013-08-11 | 1 | -2/+2 | |
| | ||||||
* | Add RCS Id. | wiz | 2013-08-04 | 1 | -0/+1 | |
| | ||||||
* | Add a curses gizmo for solving Sunday-paper-type cryptograms based on | dholland | 2013-08-04 | 4 | -0/+448 | |
| | | | | | | | | substitution ciphers. It gets the cleartext from fortune. I wrote this some years ago for my own amusement; a couple people have suggested that I should import it. Approved only by groo, so I'm going to wait a couple days to hook it to the build in case anyone demands it be removed again... | |||||
* | Fix typo. | wiz | 2013-07-24 | 1 | -1/+1 | |
| | ||||||
* | add an Oscar Wilde quote | jnemeth | 2013-07-24 | 1 | -0/+6 | |
| | ||||||
* | Use Mt for email addresses. | wiz | 2013-07-20 | 1 | -2/+2 | |
| |