summaryrefslogtreecommitdiffstats
path: root/games
Commit message (Collapse)AuthorAgeFilesLines
...
* Factorize bignums using the Pollard Rho algorithm. The code comesfanf2002-10-092-22/+197
| | | | | | | | | | | from NetBSD, altered to retain the FreeBSD -h feature and various stylistic improvements and avoid regressions. In the absence of OpenSSL (and therefore bignums) the old code is used. PR: 43831 Reviewed by: kris, markm, obrien Obtained from: NetBSD MFC after: 2 weeks
* Style fixes to: #include ordering; use const and static; ANSI functions;fanf2002-10-095-70/+60
| | | | | | | | | various usage synopses; bogus and/or unnecessary casting; exit values; use LINE_MAX instead of magic numbers; declare extern variables in a header; add $FreeBSD$ where missing. Reviewed by: markm, obrien Obtained from: NetBSD | fanf
* As back-out requests must be followed, back out the removal of wargames(6)jmallett2002-10-094-0/+106
| | | | at mike@'s request.
* Remove the wargames(6) novelty [and not the fun kind]:jmallett2002-10-084-106/+0
| | | | | | | | | | | | | | | | 1) It never was very funny. 2) It was a N line shell script where N is less than X, where X is the number of lines of the Berkeley copyright and license. 3) I rewrote it in C with the intention of making it more interactive, ala the movie, but never did. 4) Because it really is possible for at least some parts of a distribution to shrink between releases. X-No-MFC: This game will remain in RELENG_4 and previous. X-Bikesheds-To: markm@ Approved by: The #bsdcode cabal. Obtained from: Professor Falken
* We're missing none of these games, they just aren't here.jmallett2002-10-081-1/+0
|
* Correct the description of what fortunes get installed (by default, also theschweikh2002-09-241-3/+5
| | | | | | | | | offensive ones). Make it clear that datfiles/Makefile needs to be edited in case someone wants it otherwise. PR: misc/36153 Submitted by: Nick Jennings <nick@namodn.com> X-MFC after: 4.7 is out the door.
* s/seems to thing/seems to thinkschweikh2002-09-211-1/+1
| | | | X-MFC after: 4.7 is out the door
* Fix spelling of Bismarck's name and remove duplicatetg2002-09-112-19/+3
| | | | Bertrand Russell quotations.
* Add a tip about using sed(1)'s FreeBSD-specific -i option.jmallett2002-09-041-0/+10
| | | | MFC after: 42 days
* Spell Ken Olsen's name the same way everywhere.dwmalone2002-08-312-3/+3
| | | | PR: 7434
* Rewrite wargames(6) in C. A program in C in the public domain is better thanjmallett2002-08-303-46/+48
| | | | | a shell script with a big copyright. Or maybe just a good way to spend an hour after watching a Matthew Broderick flick.
* Wargames was PG-13, not PGP 13. I just watched it with my girlfriend, andjmallett2002-08-291-1/+1
| | | | | | there was no mention of PGP, despite what the manpage said! Total let down! MFC After: 65456665556666545666655654 DTMF tones.
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-2511-27/+45
|
* Fix typos (s/seperat/separat/ et al); add FreeBSD ID.schweikh2002-08-121-7/+8
| | | | | Suggested by: bde MFC after: 3 days
* Remove some Dijkstra quotes from fortunes that are duplicated in fortunes2.fanf2002-08-092-47/+14
| | | | | Move the single remaining one across to fortunes2 to join its friends. Spell his name consistently. Remove a couple of other duplicate fortunes.
* Re-sort.fanf2002-08-091-3/+3
|
* Remove spurious quotes.fanf2002-08-091-2/+2
|
* Correctly sort previous addition.fanf2002-08-091-5/+5
|
* Some more advice from Dijkstra.fanf2002-08-091-0/+5
|
* Fix a couple of typos in a Dijkstra quote.fanf2002-08-091-2/+2
|
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-2910-13/+13
| | | | | | for a long time now. Approved by: bde
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-189-12/+12
|
* Fix a typo.dwmalone2002-07-141-1/+1
| | | | | PR: 40539 Submitted by: Munish Chopra <mchopra@engmail.uwaterloo.ca>
* Fix a typo.dwmalone2002-07-141-1/+1
| | | | | PR: 40523 Submitted by: Andrew Stevenson <andrew@ugh.net.au>
* Fix whitespace botch in previous commit.peter2002-07-091-0/+1
|
* Add C code that counts the bits in a 32 bit word, right next to the C codepeter2002-07-092-0/+15
| | | | that reverses the bits in a 32 bit word. Who thinks up this stuff?
* Paraphrase a quote to remove year specific references.mp2002-07-071-1/+1
| | | | | PR: 40291 Submitted by: Pierre-Paul Lavoie <ppl@nbnet.nb.ca>
* Use varargs for syserr().jmallett2002-06-231-2/+9
| | | | Pointed out by: snapshots.jp.freebsd.org warnings log.
* syserr()'s first argument is not exit status, avoid dereferencing (char *)0jmallett2002-06-231-1/+1
| | | | in printf(3).
* Use POSIX macros for wait(2)-style status information instead of themike2002-06-032-4/+4
| | | | | deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int confusion.
* Backout recent typo "fix". I've been enlightened that it's an obsoleteschweikh2002-05-311-1/+1
| | | | | | and rare synonym for indomitable (from the French indomptable) Requested by: "Jacques A. Vidrine" <nectar@FreeBSD.org>
* Typo: s/Indomptable/Indomitable/schweikh2002-05-311-1/+1
| | | | MFC after: 3 weeks
* Add used include of <stdlib.h>, copying style bugs from adjacent lines.wollman2002-05-301-0/+1
|
* Fix preprocessor directive syntax (text after #endif).wollman2002-05-301-1/+1
|
* Make almost WARNS=5 compliant:alfred2002-05-2813-101/+83
| | | | | | | ANSI'fy function declarations. Constify some globals and function paramters. Remove unsused arguments. Fix (rename) shadowed variables.
* Comment out comments after #endif directivesalfred2002-05-285-5/+5
|
* Assume __STDC__, remove non-__STDC__ code.alfred2002-05-282-30/+0
| | | | Submitted by: keramida
* Fixed lossage of the prototype for usage() in previous commit.bde2002-05-281-3/+5
| | | | | Fixed higher WARNS levels while I was here (missing prototype for main(), and missing const poisoning).
* Quiet some format string warnings by marking prototypes withkris2002-05-283-6/+5
| | | | | | __printflike() MFC After: 1 week
* Comment out extra tokens after #else and #endif.des2002-05-2339-154/+161
|
* Do not guess what a bool is, just use it.peter2002-05-211-1/+2
|
* Correctly attribute a Douglas Adams quote, and remove a duplicate ofdougb2002-05-152-5/+1
| | | | the same quote.
* Fix warnings by commenting out text after #else/#endif.alfred2002-05-113-5/+5
|
* It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complainsobrien2002-05-0810-58/+62
| | | | loudly, so don't do it.
* It is not clear if "#endif FOO" is allowed by ANSI.obrien2002-05-083-3/+3
| | | | Gcc 3.1 complains loudly, so don't do it.
* s/-300K/~300K/mph2002-05-012-2/+2
| | | | | | | This is an absolute (kelvin) temperature. I expect that in the original source it was typeset as $\sim 300~{\rm K}$ or similar, meaning "approximately 300 K". Changing it to a minus sign in the fortunes file was clearly an error, as absolute temperatures are by definition positive.
* More ispell fundougb2002-04-301-3/+3
|
* Fix a few more of my typos, a few others I noticed, and some ispell help.dougb2002-04-301-5/+5
|
* Correct typo (is -> us).sheldonh2002-04-301-1/+1
|
* Add something absurd I used one night as an example of CS overcomplicationjmallett2002-04-291-0/+19
| | | | of things most hackers take for granted.
OpenPOWER on IntegriCloud