summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* WARNS=5, and make WARNS=5 the default for src/games.dholland2012-06-1915-166/+112
|
* WARNS=5dholland2012-06-199-32/+29
|
* WARNS=5dholland2012-06-1932-485/+350
|
* Typo. Reported by I-forget-who-but-they'd-probably-rather-not-be-credited,dholland2012-06-191-1/+1
| | | during the -6 freeze, and then forgotten until now.
* Remove unused fieldsjoerg2012-06-151-5/+1
|
* Consistently use major/minor for NetBSD version.njoly2012-06-091-2/+2
|
* Add missing terminfomartin2012-06-091-3/+3
|
* rcsid, warnschristos2012-06-061-0/+3
|
* Sort sections; remove trailing whitespace.wiz2012-06-061-4/+4
|
* add colorbarschristos2012-06-061-2/+2
|
* new colorbars program from Nathanial Slosschristos2012-06-063-0/+177
|
* Attribute the `Consequences, Schmonsequences...' quote to Daffy Duck.riastradh2012-06-051-1/+1
|
* use modern shell constructschristos2012-04-261-44/+39
|
* allow multiple '-f acronyms' arguments to be given, which makes this behavejschauma2012-04-261-11/+13
| | | more consistently with ACRONYMSDB, which may also point to multiple files
* Add capfile(5) to describe the termcap format.roy2012-04-211-7/+7
| | | | | | Adjust various man pages and other documentation to point to capfile(5) instead of termcap(5). Remove getcap(3) as curses hasn't been building it for a long time. Punt wrterm.c as tset no longer uses it.
* Fix various format string mismatches.joerg2012-02-292-9/+10
|
* Man page and usage cleanups from Bug Hunting in PR 46103.wiz2012-02-262-15/+26
|
* Fix conflicting variable definitionsmatt2012-02-182-6/+6
|
* PR/45842: Henning Petersen: compare fgets with NULL not 0christos2012-01-161-3/+3
|
* grumble.dholland2012-01-081-1/+2
|
* Oops, I forgot to actually implement the checksumming code for the newdholland2012-01-083-38/+65
| | | | savefile format, so any savefiles generated yesterday can be tampered with. Oh well. While here, tidy up the crc code.
* Redo save file handling. The old save files were unportable, had nodholland2012-01-071-46/+712
| | | | | | | | | | | | | | | | | | | | magic number or versioning, relied on random(3) never changing to a different implementation, and were also saving pointers to disk and reading them back again. It *looks* as if the pointers thus loaded were reset before being used, but it's not particularly clear as the main loop of this thing is goto-based FORTRAN translated lightly to C. I've changed the logic to null these pointers instead of saving and loading them, and things seem to still work. The new save files have a header, support versioning, write only sized types in network byte order, and for the toy encryption to discourage cheating do something self-contained instead of using random(3) as a stream cipher. Because between the original import from 4.4 until earlier today trying to save would result in SIGSEGV on most platforms, it's unlikely anyone has a save file, but just in case (since the pointer issue appears to be nonlethal) I've kept compat code for old save files.
* Make this not crash on machines that are (a) 64 bit, or (b) have signeddholland2012-01-071-9/+4
| | | | | | | chars by default (i.e., almost all machines). Makes it possible to save the game. This has been broken since 4.4 and probably ever since the FORTRAN -> C translation. Crash reported by Petri Laakso in private mail.
* Per [1] the speed of light in a vaccum is exactly 299792458 m/s.jakllsch2011-12-061-1/+1
| | | | | | | | | | | | | | | | | | Per [2] a furlong is 220 yards and a yard is exactly 0.9144 m. Per [3] a fortnight is 14 days. As I didn't find a good authority for what definition of a day a fortnight is measured in, I'll assume here a day is 86400 SI seconds. Thus, the speed of light in a vaccum is approximately 1.80*10^12 furlongs per fortnight. 1.80*10^12 = 299792458*86400*14/(220*0.9144) [1] Resolution 1 of the 17th meeting of the CGPM (1983) http://www.bipm.org/en/CGPM/db/17/1/ [2] Weights and Measures Act 1985 http://www.legislation.gov.uk/ukpga/1985/72 [3] The Concise Oxford Dictionary, 5th Edition, 1964, p. 480
* handle EOF in inputahoka2011-12-012-7/+12
|
* grammar fixjnemeth2011-11-191-1/+1
|
* remove duplicated #defines (in a usually unused part of the code)drochner2011-11-091-5/+2
|
* Use tiparm instead of vtparm.roy2011-10-033-13/+13
|
* reinstate NULL cast by request, where the NULL was being passed as a varargplunky2011-09-018-26/+26
|
* NULL does not need a castplunky2011-08-3122-78/+77
|
* No need to cast double to ubig (aka uintmax_t) through int.jakllsch2011-08-301-5/+4
| | | | | This change prevents a modulo by zero in a invocation such as: primes 18446744073709551000 18446744073709551615 on a LP64 machine.
* Use __deadjoerg2011-08-297-22/+19
|
* Mark error() as dead, so that validation for setclipped works correctly.joerg2011-08-271-2/+2
|
* Avoid non-literal format strings.tron2011-08-262-8/+8
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-2615-74/+62
|
* add printf attributes.christos2011-08-251-4/+4
|
* Uses non-literal format stringsjoerg2011-08-251-1/+4
|
* -Wno-shadow is no longer needed for HAVE_PCC, hereplunky2011-08-241-5/+1
|
* use const char [] for format.christos2011-08-211-3/+3
|
* Remove redundant set of prototypes for local functions, exposed bydholland2011-08-171-11/+2
| | | previous.
* Move some things around so declarations appear in a reasonable order.dholland2011-08-171-33/+32
|
* Use __dead instead of __attribute__((__noreturn__)).dholland2011-08-161-3/+3
|
* document non-literal string formatschristos2011-08-161-1/+3
|
* avoid non-literal format stringchristos2011-08-161-8/+8
|
* eliminate/document non-literal format stringschristos2011-08-162-13/+14
|
* eliminate non-literal format stringschristos2011-08-163-8/+8
|
* avoid non-literal format strings.christos2011-08-161-7/+4
|
* kill homebrew error functionschristos2011-08-161-43/+24
|
* document non-literal format stringschristos2011-08-161-1/+3
|
* - document non-literal format stringschristos2011-08-164-37/+46
| | | - avoid strict aliasing violations, but adding an intermediate function.